-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
Command aliases do not show in the help display #662
Comments
@dlandi thanks for reporting this. |
Sure. Given:
Output would be :
|
Since the commands' section does not have headers, this would look like:
or
I feel adding a cell "aliases" to the commands' section would take away too much space (which is sometimes very limited in CLI). What about adding it to the description?
@patriksvensson, @phil-scott-78: Any ideas or opinions? |
Hi there. I'd like to do it. What do you think about this layout?
|
Did anything happen with this? I like the approach of putting the aliases under the description, as that makes the best use of space, IMO. Pete |
Example:
config.AddCommand("install-cloud")
.WithAlias("cloud").WithAlias("cld");
//config.AddCommand("cloud");
//config.AddCommand("cld");
If you use config.AddCommand(), each command shows up in help display, but the WithAlias() option does not.
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered: