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

Sub-Commands for flag Package #23013

Closed
dc0d opened this issue Dec 6, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@dc0d
Copy link

commented Dec 6, 2017

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.9.2

What operating system and processor architecture are you using (go env)?

Ubuntu 16.04

This is a simple and clean way to add sub-commands to flag package without changing anything or adding any new type; just by adding a function.

@bradfitz

This comment has been minimized.

Copy link
Member

commented Dec 6, 2017

Sorry, but the flag package in the standard library isn't growing features at this point.

@bradfitz bradfitz closed this Dec 6, 2017

@dc0d

This comment has been minimized.

Copy link
Author

commented Dec 6, 2017

:( That was fast!

@golang golang locked and limited conversation to collaborators Dec 6, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.