Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2020 (3)
20082026
  1. 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
  2. …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.
  3. 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
  4. Try Jamie's opts? https://github.com/jpillora/opts
    comment by chewxy · 2019-11-16 · in The Value in Go’s Simplicity