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

Specify a flag as required #3

Open
ariary opened this issue Jul 31, 2022 · 1 comment
Open

Specify a flag as required #3

ariary opened this issue Jul 31, 2022 · 1 comment
Labels
enhancement New feature or request to determine

Comments

@ariary
Copy link
Owner

ariary commented Jul 31, 2022

A bit anti pattern with the mandatory default value but could be made:
See https://stackoverflow.com/questions/31786215/can-command-line-flags-in-go-be-set-to-mandatory

@ariary ariary added the enhancement New feature or request label Jul 31, 2022
@ariary
Copy link
Owner Author

ariary commented Aug 1, 2022

Many changement need to be made, especially due to the fact we have to handle short and long name (to see if flag is set with visit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request to determine
Projects
None yet
Development

No branches or pull requests

1 participant