Hacker GitHub

← All repos

peterbourgon/ff

View on GitHub ↗ ★ 1,440 Go

Flags-first package for configuration

4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2020-04-27 · latest 2022-08-17

Mentions per year 4 mentions · busiest year 2020 (3)
20082026
  1. …in the article, flags matter in Go. The most popular https://cobra.dev/ and the simpler https://pkg.go.dev/github.com/peterbourgon/ff/v3/ffcli provide some good examples This comment is mostly for web apps, different domains will require…
  2. …package to choose, because it encourages/forces you into a globals-based architecture. https://pkg.go.dev/github.com/peterbourgon/ff/v3/ffcli is one that I've been using recently, which has been a lot nicer.
    comment by sagichmal · 2020-05-27 · in Diving into Go by building a CLI application
  3. …package to choose, because it encourages/forces you into a globals-based architecture. https://pkg.go.dev/github.com/peterbourgon/ff/v3/ffcli is one that I've been using recently, which has been a lot nicer.
    comment by sagichmal · 2020-05-27 · in Diving into Go by building a CLI application
  4. …I've switched from doing mostly Python to mostly Go, and I've fallen in love with the Flags-First https://github.com/peterbourgon/ff approach. Basically, you have three levels of config: a conf file, ENV vars, and CLI flags. As you do…
    comment by earthboundkid · 2020-04-27 · in Doing Python Configuration Right (2019)