-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Is it possible to have a cmd.Flags().Uint64P accept decimal OR hex values as valid? #1791
Comments
It looks like this IS supposed to work by default, but due to an error in the |
The Cobra project currently lacks enough contributors to adequately respond to all issues. This bot triages issues and PRs according to the following rules:
|
It looks like there's 2 PRs trying to fix this - spf13/cast#144 as well |
The Cobra project currently lacks enough contributors to adequately respond to all issues. This bot triages issues and PRs according to the following rules:
|
There seems to be 4 PRs in |
I could have sworn I've seen an example where you can have a custom flag parsing func OR a way to set a Uint flag to accept either hex or dec values from the command line?
Thanks!
The text was updated successfully, but these errors were encountered: