Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShellApplicationRunner should have behaviour without arguments #1052

Open
jvalkeal opened this issue Apr 20, 2024 · 0 comments
Open

ShellApplicationRunner should have behaviour without arguments #1052

jvalkeal opened this issue Apr 20, 2024 · 0 comments

Comments

@jvalkeal
Copy link
Contributor

Starting from 3.3.x NonInteractiveShellRunner is only active runner on default. While it was always possible to disable InteractiveShellRunner to get into this behaviour, NonInteractiveShellRunner doesn't really do anything if no arguments were given.

Traditionally just running app as is i.e. prints main help. Saying NonInteractiveShellRunner doesn't do anything is a bit wrong as it's not even chosen if there's no arguments. Should think where to handle this case and how?

Might be a role for ShellApplicationRunner to handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant