-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Less hidden aliases #522
Comments
Interesting, I hadn't thought about that, but I like it. It'd be an easy addition. What would you call it? |
I don't think I'd suggest something explicit, like |
This is implemented with #525 From the commit message: This commit adds support for visible aliases, which function exactly like aliases except that they i.e. App::new("myprog")
.subcommand(SubCommand::with_name("test")
.about("does testy things")
.alias("invisible")
.visible_alias("visible")); When run with
|
Once #451 is implemented I'll update to 2.6.0 and upload to crates.io. So I'm hoping by tomorrow 😉 |
.alias
creates a hidden subcommand. For user convenience, I'd like to create an un-hidden subcommand, shown in help (with a help string like "alias for othercmd").The text was updated successfully, but these errors were encountered: