Re: [go-nuts] GNU getopt-style Go packages?

2021-09-07 Thread Sandip Bhattacharya
You probably missed pflag (https://github.com/spf13/pflag) which is what I use for anything more than one off programs. That is not to say that other getopt libraries are not good. Just that when I started working on golang, I was looking for the same short-style/long-style support as you are,

Re: [go-nuts] GNU getopt-style Go packages?

2021-09-04 Thread ori
Quoth jlfo...@berkeley.edu : > Some of these don't look active, and I'm sure I've missed some. What kind of activity are you expecting? Are you seeing unaddressed bugs? Command line parsing isn't hard, and it's possible the packages are just finished. > Any comments on any of the above? What

Re: [go-nuts] GNU getopt-style Go packages?

2021-09-04 Thread Javier Ruano
Dese Jon I have seen this one too https://github.com/avelino/awesome-go#command-line Searching like argsparse Regards Javier Ruano El sáb., 4 sept. 2021 20:48, jlfo...@berkeley.edu escribió: > I'm wondering what the current state of GNU getopt-style Go packages is. > I've done some research

[go-nuts] GNU getopt-style Go packages?

2021-09-04 Thread jlfo...@berkeley.edu
I'm wondering what the current state of GNU getopt-style Go packages is. I've done some research and found the following: DavidGamba / go-getoptions alecthomas / kong elegos / flags jessevdk / go-flags pborman / getopt pborman / options skeeto / optparse-go spf13 / cobra subchen / go-cli tcler /