github.com/spf13/pflag
Go Modulesvv1.0.10Go module: github.com/spf13/pflag
Not recommended for new projects
No — github.com/spf13/pflag should not be adopted for new projects. Depended on by 22 known packages. Last published 373 days ago. 5 releases in the last 2 years. No license declared — you have no explicit right to use this code.
- CAdoption: grade C, Fair — worth a look.
Depended on by 22 known packages.
- CMaintenance: grade C, Fair — worth a look.
Last published 373 days ago. 5 releases in the last 2 years.
- ?Weight: grade ?, Not reported by this registry.
No dependency or size data collected for this package yet.
- BSupply chain: grade B, Good.
This package lists no maintainer.
- FLicense: grade F, Failing.
No license declared — you have no explicit right to use this code.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding github.com/spf13/pflag to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Longest resolved dependency chain below this package.
Compatibility
- Go
- No constraint declared
Used by
Popular packages that depend on github.com/spf13/pflag.
Go module: github.com/spf13/cobra
Go module: github.com/minio/minio-go/v7
Go module: github.com/vektra/mockery/v2
Go module: github.com/daixiang0/gci
Go module: github.com/golangci/golangci-lint/v2
Go module: github.com/nakabonne/nestif
Go module: github.com/spf13/viper
Go module: github.com/tomarrell/wrapcheck/v2
Go module: github.com/google/certificate-transparency-go
Go module: github.com/google/trillian
Go module: go.etcd.io/etcd/etcdctl/v3
Go module: go.etcd.io/bbolt
Go module: go.etcd.io/etcd/etcdutl/v3
Go module: go.etcd.io/etcd/pkg/v3
Go module: go.etcd.io/etcd/server/v3
Go module: go.etcd.io/etcd/tests/v3
Go module: github.com/google/go-licenses/v2
Go module: k8s.io/kube-openapi
Go module: k8s.io/gengo/v2
Go module: github.com/gopherjs/gopherjs
Go module: github.com/anthonynsimon/bild
Go module: github.com/atombender/go-jsonschema
Relationship graph
Dependencies (left) and dependents (right) of github.com/spf13/pflag.
Frequently installed together
Go module: github.com/stretchr/testify
Go module: github.com/inconshreveable/mousetrap
Go module: "gopkg.in/yaml.v3"
Go module: github.com/davecgh/go-spew
Go module: github.com/pmezard/go-difflib
Go module: github.com/spf13/cobra
Go module: golang.org/x/sys
Go module: github.com/google/go-cmp
Go module: golang.org/x/text
Go module: google.golang.org/protobuf
Go module: golang.org/x/sync
Go module: go.uber.org/multierr
Release history
5 releases in the last two years, typically about 46 days apart.
| Version | Published | License |
|---|---|---|
| v1.0.10latest | 1 year ago | — |
| v1.0.9 | 1 year ago | — |
| v1.0.8 | 1 year ago | — |
| v1.0.7 | 1 year ago | — |
| v1.0.6 | 1 year ago | — |
| v1.0.5 | 7 years ago | — |
| v1.0.5-rc1 | 7 years ago | — |
| v1.0.4 | 7 years ago | — |
| v1.0.3 | 8 years ago | — |
| v1.0.2 | 8 years ago | — |
| v1.0.1 | 8 years ago | — |
| v1.0.0 | 9 years ago | — |
Overview
github.com/spf13/pflag is an Go Modules package that go module: github.com/spf13/pflag. It has 22 known dependents in the graph. The latest version is v1.0.10.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/spf13/pflag and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your Go Modules stack.
Pros
- Zero runtime dependencies — minimal footprint.
Cons
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use github.com/spf13/pflag?
No — github.com/spf13/pflag should not be adopted for new projects. Depended on by 22 known packages. Last published 373 days ago. 5 releases in the last 2 years. No license declared — you have no explicit right to use this code.
How do I install github.com/spf13/pflag?
Run `go get github.com/spf13/pflag` to add github.com/spf13/pflag to your Go Modules project.
What license is github.com/spf13/pflag released under?
No license was detected in github.com/spf13/pflag's metadata; review the repository before use.
How popular is github.com/spf13/pflag?
Go Modules does not publish download counts. Within PackageGraph's crawl, 22 known packages depend on github.com/spf13/pflag.
Is github.com/spf13/pflag still maintained?
The most recent release of github.com/spf13/pflag (vv1.0.10) was published 1 year ago.