spring-projects / spring-shell

Spring based shell
http://projects.spring.io/spring-shell/
Apache License 2.0
719 stars 395 forks source link

Only NonInteractiveShellRunner is active on default #1017

Closed jvalkeal closed 5 months ago

jvalkeal commented 5 months ago

We want to change behaviour of a shell runners so that only NonInteractiveShellRunner is enabled on default while InteractiveShellRunner and ScriptShellRunner needs to be explicitly enabled. This is mostly driven by moving default behaviour so that on default InteractiveShellRunner would not block tests when simple project is initialised. Also most people don't need interactive mode if they are just interested comman-line features.

Essentially spring.shell.interactive.enabled and spring.shell.script.enabled will get switched from true to false.

We only want to do these type of changes in a new minor versions, not in a point releases.