1- # ff [ ![ go.dev reference] ( https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square )] ( https://pkg.go.dev/github.com/peterbourgon/ff/v3 ) [ ![ Latest Release] ( https://img.shields.io/github/release/peterbourgon/ff.svg?style=flat-square )] ( https://github.com/peterbourgon/ff/releases/latest ) [ ![ Build Status] ( https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fpeterbourgon%2Fff%2Fbadge&style=flat-square&label=build )] ( https://github.com/peterbourgon/ff/actions?query=workflow%3ATest )
1+ # ff [ ![ go.dev reference] ( https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square )] ( https://pkg.go.dev/github.com/peterbourgon/ff ) [ ![ Latest Release] ( https://img.shields.io/github/release/peterbourgon/ff.svg?style=flat-square )] ( https://github.com/peterbourgon/ff/releases/latest ) [ ![ Build Status] ( https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fpeterbourgon%2Fff%2Fbadge&style=flat-square&label=build )] ( https://github.com/peterbourgon/ff/actions?query=workflow%3ATest )
22
33ff stands for flags-first, and provides an opinionated way to populate a
44[ flag.FlagSet] ( https://golang.org/pkg/flag#FlagSet ) with configuration data from
@@ -7,7 +7,7 @@ enable parsing from environment variables (lower priority) and/or a
77configuration file (lowest priority).
88
99Building a commandline application in the style of ` kubectl ` or ` docker ` ?
10- Consider [ package ffcli] ( https://pkg.go.dev/github.com/peterbourgon/ff/v3/ ffcli ) ,
10+ Consider [ package ffcli] ( https://pkg.go.dev/github.com/peterbourgon/ff/ffcli ) ,
1111a natural companion to, and extension of, package ff.
1212
1313## Usage
@@ -20,7 +20,7 @@ import (
2020 " os"
2121 " time"
2222
23- " github.com/peterbourgon/ff/v3 "
23+ " github.com/peterbourgon/ff"
2424)
2525
2626func main () {
@@ -34,7 +34,7 @@ func main() {
3434` ` `
3535
3636Then, call ff.Parse instead of fs.Parse.
37- [Options](https://pkg.go.dev/github.com/peterbourgon/ff/v3 #Option)
37+ [Options](https://pkg.go.dev/github.com/peterbourgon/ff#Option)
3838are available to control parse behavior.
3939
4040` ` ` go
@@ -95,7 +95,7 @@ import (
9595 " fmt"
9696 " os"
9797
98- " github.com/peterbourgon/ff/v3 "
98+ " github.com/peterbourgon/ff"
9999)
100100
101101func main () {
0 commit comments