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

Aliasing verbose #129

Open
joshka opened this issue Nov 29, 2024 · 2 comments
Open

Aliasing verbose #129

joshka opened this issue Nov 29, 2024 · 2 comments

Comments

@joshka
Copy link
Contributor

joshka commented Nov 29, 2024

In git-cliff, there's an existing manual verbosity flag which I was looking at replacing with this crate. But there's an alias (--debug) on the verbosity flag. I wonder whether there's some way to implement an alias like this through to the underlying verbose and quiet args.

This is in a "nice to have" bucket rather than a "must have" bucket for me.

@epage
Copy link
Member

epage commented Nov 29, 2024

Clap doesn't support this automatically. We'd need to define it and have the conflict and pick one.

Personally, each app does flags like this a little differently and I'd prefer effort towards making it so people can add their custom flags themselves.

@joshka
Copy link
Contributor Author

joshka commented Nov 29, 2024

Yeah, I figured as much :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants