mirror of
https://github.com/corda/corda.git
synced 2025-01-29 15:43:55 +00:00
ENT-3965 Improved welcome message for Standalone Shell - bye command to exit shell only, docs clarifications gracefulShutdown/shutdown needs 'run' as other commands (#5363)
This commit is contained in:
parent
6db3ded032
commit
4c7604b5c3
@ -205,8 +205,8 @@ Shutting down the node
|
||||
|
||||
You can shut the node down via shell:
|
||||
|
||||
* ``gracefulShutdown`` will put node into draining mode, and shut down when there are no flows running
|
||||
* ``shutdown`` will shut the node down immediately
|
||||
* ``run gracefulShutdown`` will put node into draining mode, and shut down when there are no flows running
|
||||
* ``run shutdown`` will shut the node down immediately
|
||||
|
||||
Output Formats
|
||||
**********************
|
||||
|
@ -0,0 +1,16 @@
|
||||
package net.corda.tools.shell.base
|
||||
|
||||
// Note that this file MUST be in a sub-directory called "base" relative to the path
|
||||
// given in the configuration code in InteractiveShell.
|
||||
|
||||
// Copy of the login.groovy file from 'shell' module with the welcome tailored for the standalone shell
|
||||
welcome = """
|
||||
|
||||
Welcome to the Corda interactive shell.
|
||||
Useful commands include 'help' to see what is available, and 'bye' to exit the shell.
|
||||
|
||||
"""
|
||||
|
||||
prompt = { ->
|
||||
return "${new Date()}>>> "
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user