Closed shish closed 1 year ago
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?
-x
--xxx
-xxx
hey @shish i am a novice in go, I found this project https://github.com/spf13/pflag not sure it will help
That does look very useful - if it's as simple as it looks this might be a one-liner :O
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?