|
This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Shell 4.0.3! |
Exit
The quit command (also aliased as exit) requests the shell to quit, gracefully
closing the Spring application context.
In a non-interactive shell (spring.shell.interactive.enabled=false), the quit
command can be removed from the command registry (and therefore from the help
output) by setting the spring.shell.command.quit.enabled property to false:
spring:
shell:
command:
quit:
enabled: false
This property has no effect in an interactive shell. Typing quit or exit
always works there, regardless of the command registry, so the command is always kept
in the help output to avoid hiding a still-functional way to leave the shell.
|