Count number of occurrences of flag
Is it possible to have count the number of times a given (binary) flag is passed? This would mostly be used for verbosity flag sets, where e.g., -v and -vvv are varying levels of output. The README states "Note that giving two different forms of the same flag in the same command invocation is an error," so this doesn't exactly violate that principle.
This feature is now in review, @urfave/cli please add a 👍 or 👎 to the top post if you're in favor or against this feature being added!
This issue or PR has been automatically marked as stale because it has not had recent activity. Please add a comment bumping this if you're still interested in it's resolution! Thanks for your help, please let us know if you need anything else.
This issue or PR has been bumped and is no longer marked as stale! Feel free to bump it again in the future, if it's still relevant.
This issue or PR has been automatically marked as stale because it has not had recent activity. Please add a comment bumping this if you're still interested in it's resolution! Thanks for your help, please let us know if you need anything else.
I'd still really like to see this feature added.
This issue or PR has been bumped and is no longer marked as stale! Feel free to bump it again in the future, if it's still relevant.
This issue or PR has been automatically marked as stale because it has not had recent activity. Please add a comment bumping this if you're still interested in it's resolution! Thanks for your help, please let us know if you need anything else.
This is definitely a feature I would like and would use.
Closing this as it has become stale.
This issue or PR has been bumped and is no longer marked as stale! Feel free to bump it again in the future, if it's still relevant.
Count option for bool flags has been added.