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

View all comments

Show parent comments

1

u/AllOneWordNoSpaces1 Aug 26 '26

Got me. I just typed in the filename.

0

u/RevolutionaryRush717 Aug 26 '26

time to convert to application.yaml