3 ms·
For gnu style long options you want: https://github.com/spf13/pflag https://github.com/spf13/pflag It is a drop in replacement for the built in flag library.
by nickcw 7y ago
For gnu style long options you want: https://github.com/spf13/pflag https://github.com/spf13/pflag
It is a drop in replacement for the built in flag library.
I ususally start out with the built in flag library and migrate to pflag when things get a bit more complicated.
- oefrha 7y agoThanks, not sure why I missed this. Probably should have used this instead of settling on urfave/cli. I take back some of what I said.