[go-nuts] Re: Easy to use (getopt based) flags package

2019-04-10 Thread Tong Sun
take a look at https://github.com/mkideal/cli It's declarative, generate help-text/usage for you, and support sub commands, and even sub sub commands. just + my 2c. On Wednesday, April 10, 2019 at 6:59:37 AM UTC-4, mhh...@gmail.com wrote: > > looks lovely, how do you manage sub commands ? >

Re: [go-nuts] Re: Easy to use (getopt based) flags package

2019-04-10 Thread 'Borman, Paul' via golang-nuts
n just use the options packages. You can also use github.com/pborman/getopt/v2 in conjunction with the options package if need be. -Paul From: on behalf of "mhhc...@gmail.com" Date: Wednesday, April 10, 2019 at 4:00 AM To: golang-nuts Subject: [go-nuts] Re: Easy to use (getopt

[go-nuts] Re: Easy to use (getopt based) flags package

2019-04-10 Thread mhhcbon
looks lovely, how do you manage sub commands ? On Wednesday, April 10, 2019 at 2:24:21 AM UTC+2, Paul Borman wrote: > > I have never been quite happy with the flags packages available for Go, > including the standard flags package as well as my own getopt packages (v1 > and v2). They are just t