-
Notifications
You must be signed in to change notification settings - Fork 395
Support single command app #755
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
Comments
While looking into this realised that there is already a hack to do this in not so obvious way. This issue should be changed to make this easy to config. Define a command:
Customise
Disable interactive/script runners:
|
- NonInteractiveShellRunner can now shortcircuit into primary command just running it and passing args. - Add hooks into autoconfig so that this is easy to configure. - Relates spring-projects#755
- New spring-shell-sample-catalog which is a skeleton meant for future view overhaul work. - Relates spring-projects#755
Current Docs for this are here https://github.com/spring-projects/spring-shell/blob/main/spring-shell-docs/src/main/asciidoc/using-shell-customization-singlecommand.adoc |
There are times when user wants to create an app which:
Currently you're forced to have something like
myapp mycommand --option xxx
. It'd be convenient to be able to have an app which works asmyapp --option xxx
.The text was updated successfully, but these errors were encountered: