-
Notifications
You must be signed in to change notification settings - Fork 22
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
flags improvements #14
Comments
dismissing creating flags in the init function. This requires all vars to become global (not nice) |
https://github.com/spf13/pflag ; previous reference is no longer maintained (it actually does not work well) |
I would assume this issue is fully addressed by the Merged PR, isn't it? |
Yup, unless you find something else to improve on this... Maybe we should
create one to generate the proper documentation / man page?
…On Nov 1, 2017 15:16, "Christian Adell" ***@***.***> wrote:
I would assume this issue is fully addressed by the Merged PR, isn't it?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APKZPkBYcO64rcxiUjs9O9l-K2UCkokIks5syH00gaJpZM4QJ12B>
.
|
Oggh, I found this one: Quite better! I'd vote for switching to it!! See this: Simple but effective ;) |
I like it! it has methods that simplifies a lot the code after parsing. |
releasing ownership. I'm working in the closure logic (next steps on this become orphan, but i can pick in the future) |
another alternative, very common: https://github.com/spf13/cobra |
working in #38 |
done by #38 |
I think we can improve how we recover arguments:
https://stackoverflow.com/a/19762274
https://github.com/ogier/pflag
As, I think a milestone for this project, is to create debian/rpm packages and a docker image, and allow users to use this tool as any other you may have in your OS, and the default flags in golang are not posix compliant plus they dont support "short letters"...
The text was updated successfully, but these errors were encountered: