-
Notifications
You must be signed in to change notification settings - Fork 414
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
Document aliases parameter for @Command attribute #492
Comments
Interesting idea about using You're right about the lack of documentation. Do you think you will be able to provide a pull request to improve the doc? |
I'm taking a look at the documentation to see how to best work this in. There doesn't seem to be a great place for it at the moment -- there's no explicit documentation on the So I can imagine a few approaches here:
Clearly a dedicated section would be the greatest value, but also the most work, whereas one of the other approaches could be done immediately. Thoughts? |
Away from pc now, but the Subcommands section seems like a good fit. |
I finally decided on a brief new subsection for aliases; pull request submitted. I realized that trying to more completely document |
Thank you for the PR! I merged it. I’ll close this ticket after I get a chance to update the RELEASE-NOTES.md. |
The
aliases
parameter of the@Command
attribute doesn't appear to be documented at https://picocli.info/. (Perhaps another thing to consider is changingname
tonames
, like@Option
, and droppingaliases
. The increased consistency may aid in discoverability of this feature.)The text was updated successfully, but these errors were encountered: