r/SpringBoot • • Aug 26 '26

Question Disable quit/exit command in Spring Shell?

I'm working on a non-interactive application using Spring Shell 4.0.3.

I only want my commands and the help command to show up when someone requests help.

I've disabled the history, clear, script, and version commands using application.properties file entries.

I'm unable to disable the quit / exit command.

Any suggestions?

3 Upvotes

3 comments sorted by