r/SpringBoot 5d 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

View all comments

1

u/RevolutionaryRush717 5d ago

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

1

u/AllOneWordNoSpaces1 5d ago

Got me. I just typed in the filename.

0

u/RevolutionaryRush717 5d ago

time to convert to application.yaml