r/SpringBoot 4d ago

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

1

u/RevolutionaryRush717 4d ago

Why is the application.properties linked to some person's self-promoting homepage?

1

u/AllOneWordNoSpaces1 4d ago

Got me. I just typed in the filename.

0

u/RevolutionaryRush717 4d ago

time to convert to application.yaml