-
Notifications
You must be signed in to change notification settings - Fork 426
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
Feature Suggestion: exec method #728
Comments
@remkop I might start with a PR for this function. On the other random suggestions, let me know if you are keen and we can dicsuss on those issues what the APIs could look like and I'll contribute some PRs over time. |
Just found CommandLine.execute() |
Oh, I see, I was looking at rsocket/rsocket-cli@099792f and wondering if there was a problem with |
It would be useful to have some of the value adds supported without additional main entry points e.g. generating the completion file. Would make installations simpler as they could call the app on the fly. But nope, all good. Just missed it. |
Is it mentioned in the getting started docs? It’s a useful first approach. |
The I added a new section to the user manual. Maybe I should add additional pointers. |
I think as the first item for any user facing docs. The minimal example should be that method and a main class runnable with a few options. |
Makes sense. I updated the README, will also update the javadoc for CommandLine and any other place I find. |
This method seems like a useful default to provide within the library. Covers help, shell completion hooks, error handling etc.
https://github.com/rsocket/rsocket-cli/blob/master/src/main/kotlin/io/rsocket/cli/Main.kt#L363
The text was updated successfully, but these errors were encountered: