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

[Feature Request] Ability to specify default value(s) for slice flags #216

Open
andoks opened this issue Mar 20, 2023 · 0 comments
Open

Comments

@andoks
Copy link

andoks commented Mar 20, 2023

I would love to have the ability to specify default value(s) for slice flags in the "new" (struct tag) way, as AFAICS there is not way to specify default values for slice flags that are part of subcommands (with top-level struct-args one can use the old-style way of setting the slice's value before parsing the flags)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant