Skip to content
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

Create a configurable command alias example #3679

Open
2 tasks done
epage opened this issue May 3, 2022 · 0 comments
Open
2 tasks done

Create a configurable command alias example #3679

epage opened this issue May 3, 2022 · 0 comments
Labels
A-docs Area: documentation, including docs.rs, readme, examples, etc... C-enhancement Category: Raise on the bar on expectations E-easy Call for participation: Experience needed to fix: Easy / not much E-help-wanted Call for participation: Help is requested to fix this issue.

Comments

@epage
Copy link
Member

epage commented May 3, 2022

Please complete the following tasks

Clap Version

3.1.13

Describe your use case

Sometimes, large applications need to allow users to create shortcuts via aliases, see git and cargo.

Describe the solution you'd like

An example added to show people how they can implement this on top of cargo

Alternatives, if applicable

No response

Additional Context

See #3672 which discusses this, including links out to code from cargo that implements aliases

@epage epage added C-enhancement Category: Raise on the bar on expectations A-docs Area: documentation, including docs.rs, readme, examples, etc... E-easy Call for participation: Experience needed to fix: Easy / not much E-help-wanted Call for participation: Help is requested to fix this issue. labels May 3, 2022
@epage epage changed the title Create a command alias example Create a configurable command alias example Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation, including docs.rs, readme, examples, etc... C-enhancement Category: Raise on the bar on expectations E-easy Call for participation: Experience needed to fix: Easy / not much E-help-wanted Call for participation: Help is requested to fix this issue.
Projects
None yet
Development

No branches or pull requests

1 participant