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

Count number of occurrences of flag #757

Closed
xeals opened this issue Jun 27, 2018 · 11 comments
Closed

Count number of occurrences of flag #757

xeals opened this issue Jun 27, 2018 · 11 comments
Labels
area/v2 relates to / is being considered for v2 help wanted please help if you can! kind/feature describes a code enhancement / feature request status/in-review needs to be reviewed by maintainers before it is accepted
Milestone

Comments

@xeals
Copy link

xeals commented Jun 27, 2018

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.

@coilysiren coilysiren added status/confirmed confirmed to be valid, but work has yet to start kind/feature describes a code enhancement / feature request labels Aug 17, 2019
@coilysiren coilysiren added status/in-review needs to be reviewed by maintainers before it is accepted and removed status/confirmed confirmed to be valid, but work has yet to start labels Sep 10, 2019
@coilysiren
Copy link
Member

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!

@stale
Copy link

stale bot commented Feb 25, 2020

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.

@stale stale bot added the status/stale stale due to the age of it's last update label Feb 25, 2020
@coilysiren coilysiren added the help wanted please help if you can! label Feb 26, 2020
@stale
Copy link

stale bot commented Feb 26, 2020

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.

@stale stale bot removed the status/stale stale due to the age of it's last update label Feb 26, 2020
@stale
Copy link

stale bot commented May 26, 2020

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.

@stale stale bot added the status/stale stale due to the age of it's last update label May 26, 2020
@brownjohnf
Copy link

I'd still really like to see this feature added.

@stale
Copy link

stale bot commented Jun 5, 2020

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.

@stale stale bot removed the status/stale stale due to the age of it's last update label Jun 5, 2020
@stale
Copy link

stale bot commented Sep 3, 2020

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.

@stale stale bot added the status/stale stale due to the age of it's last update label Sep 3, 2020
@aengelas
Copy link

aengelas commented Sep 3, 2020

This is definitely a feature I would like and would use.

@stale
Copy link

stale bot commented Oct 3, 2020

Closing this as it has become stale.

@stale stale bot closed this as completed Oct 3, 2020
@coilysiren coilysiren reopened this Jan 27, 2021
@stale
Copy link

stale bot commented Jan 27, 2021

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.

@stale stale bot removed the status/stale stale due to the age of it's last update label Jan 27, 2021
@meatballhat meatballhat added this to the Release 2.x milestone Apr 28, 2022
@dearchap
Copy link
Contributor

Count option for bool flags has been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/v2 relates to / is being considered for v2 help wanted please help if you can! kind/feature describes a code enhancement / feature request status/in-review needs to be reviewed by maintainers before it is accepted
Projects
None yet
Development

No branches or pull requests

6 participants