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
20082026
-
…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…
comment by Xeoncross · 2022-08-17 · in Learning a new language, or how I gained familiarity with Go -
…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 -
…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 -
…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)