shish/rosettaboy

[go] use normal CLI flags

shish opened this issue · 2 comments

shish commented

Every other language has -x for short flags and --xxx for long flags -- go uses -xxx for long flags and doesn't support (?) short flags. Is there a third-party flags library which acts more normal?

hey @shish i am a novice in go, I found this project https://github.com/spf13/pflag
not sure it will help

shish commented

That does look very useful - if it's as simple as it looks this might be a one-liner :O