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:
szymonsztuka
2019-08-12 13:22:15 +01:00
committed by Anthony Keenan
parent 6db3ded032
commit 4c7604b5c3
2 changed files with 18 additions and 2 deletions

View File

@ -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()}>>> "
}