clap-verbosity-flag
clap-verbosity-flag copied to clipboard
Aliasing verbose
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.
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.
Yeah, I figured as much :)