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
Closed

Sub-Commands for flag Package #23013

dc0d opened this issue Dec 6, 2017 · 2 comments

Comments

@dc0d
Copy link

dc0d 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
Copy link
Contributor

bradfitz commented Dec 6, 2017

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

@bradfitz bradfitz closed this as completed Dec 6, 2017
@dc0d
Copy link
Author

dc0d 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.
Projects
None yet
Development

No branches or pull requests

3 participants