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

Could you add a subcommand example? #21

Open
hnakamur opened this issue Oct 28, 2015 · 0 comments
Open

Could you add a subcommand example? #21

hnakamur opened this issue Oct 28, 2015 · 0 comments

Comments

@hnakamur
Copy link

First of all, thanks for a nice software!

I tried to create a subcommand example but I couldn't make it work as expected.
https://gist.github.com/hnakamur/3c8fba54b792536a196c

With Go's standard flag package, my example works as expected.
https://gist.github.com/hnakamur/2512fd35b8e0b41d2c08

So, could you add a subcommand example?
Thanks!

ThinkChaos pushed a commit to ThinkChaos/pflag that referenced this issue Feb 28, 2022
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