-
Notifications
You must be signed in to change notification settings - Fork 933
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
cf help <alias>
should work for commands contributed by plugins
#1048
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/137086223 The labels on this github issue will be updated when the story is started. |
Please note the this is an enhancement (and is labelled as such) so story #137086223 should be a feature rather than a bug (unless the current behaviour is unintentional!). |
Hi @glyn Thanks for reporting this! Our current command line parser library is statically populated with command info so certain features provided by this library do not work out of the box for plugins (which are discovered dynamically when the CLI process starts). Cheers, |
We have addressed this in the cf CLI 6.25.0 release. Regards, |
Thanks @dkoper! I'm really pleased to see this. |
cf help r
prints the help forcf routes
sincer
is an alias for theroutes
command.If a CLI plugin contributes a command with an alias
xxx
,cf help xxx
fails with:We are developing a plugin with a number of commands which have fairly long, descriptive names (e.g.,
service-registry-list
) and short aliases (e.g.,srl
) and it would save some typing and improve usability for users who are familiar with an alias if they were able to get help via the alias (e.g.,cf help srl
).The text was updated successfully, but these errors were encountered: