jpillora/opts
View on GitHub ↗ ★ 173 Go
A Go (golang) package for building frictionless command-line interfaces
5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2019-05-23 · latest 2020-07-07
20082026
-
I like https://github.com/jpillora/opts for Go arg parsing. It has better, sane defaults with long/short opts.
comment by PenguinCoder · 2020-07-07 · in Help Message for Shell Scripts -
…that https://github.com/spf13/cobra tends to be one of the better CLI helpers you can get into but https://github.com/jpillora/opts is one I have been meaning to try following a presentation I saw on it once.
comment by boyter · 2020-05-27 · in Diving into Go by building a CLI application -
Everyone's throwing out suggestions for CLI libraries, so let me plug my mate's: https://github.com/jpillora/opts I definitely prefer it to cobra
comment by chewxy · 2020-05-27 · in Diving into Go by building a CLI application -
Try Jamie's opts? https://github.com/jpillora/opts
comment by chewxy · 2019-11-16 · in The Value in Go’s Simplicity -
▲ 2
A Go (Golang) package for building frictionless command-line interfacesstory by jpillora · 2019-05-23 · 0 comments