Scripting corda-tools-shell-cli


Sean
 

Hi,
  Enterprise node admins are used to running scripts to manage a Corda network. For example, it would be nice to script a node gracefulShutdown instead of using the interactive shell. 
  Looking at the syntax here 
corda-shell [-hvV] [--logging-level=<loggingLevel>] [--password=<password>]
            [--truststore-file=<trustStoreFile>]
            [--truststore-password=<trustStorePassword>]
            [--truststore-type=<trustStoreType>] [--user=<user>] [-a=<host>]
            [-c=<cordappDirectory>] [-f=<configFile>] [-o=<commandsDirectory>]
            [-p=<port>] [COMMAND]

Is it possible to have [COMMAND] be something like 'run gracefulShutdown' ? 

Thanks.

\Sean

Join corda-dev@groups.io to automatically receive all group messages.