Replies: 2 comments
-
|
Hi team! spring.shell.command.quit.enabled=false Since Spring Shell 4, this property has been removed. I tried redefining the commandRegistry bean in CommandRegistryAutoConfiguration and removing: commandRegistry.registerCommand(Utils.QUIT_COMMAND); and @ConditionalOnMissingBean proprety but without success. How can the quit function be properly overridden? Thank for answer Gerald |
Beta Was this translation helpful? Give feedback.
-
|
Hi team! Same issue here! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In Shell 3 I could just do this:
So how do I tell the shell to exit with v4, the
throw new ExitRequestis gone?I need to customize my exit shell command, that's why I disabled the built-In and used my own - how todo this in v4?
Beta Was this translation helpful? Give feedback.
All reactions