-
Notifications
You must be signed in to change notification settings - Fork 434
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
Add the ability to hide a command #277
Comments
Ok, interesting. Should not be too hard to implement. I’m curious about your use case though. Why would one want to do this? |
Because we have some experimental commands, we want to keep undocumented. |
Ok, I see how that could be useful. Do you think you can provide a pull request for this? I don’t mind doing this but I’m currently working on other picocli issues and I don’t know when I’ll get to it. |
I can surely give a try to this. |
Thanks for the pull request! Keep ‘em coming! |
Nice. If I'm understanding well this goes into version 3.0. Is there a planned release date or just estimated? |
No planned release date yet. Picocli 3.0 is still very much a work in progress, especially the new programmatic API (CommandSpec, OptionSpec etc.) - this is not feature complete without #257. Other bits also still need polishing. I am considering doing one or more 3.0-alpha (early access) releases, so people can provide feedback, with the understanding that the API may change between now and the final 3.0 release. Would that be useful for you? |
sure thing |
It would be useful to have a
hidden
attribute in theCommand
annotation to not include such command in the produced usage text, eg:The text was updated successfully, but these errors were encountered: