pflag
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
Score by release
Scored once, on Dec 1. On Dec 4 it rose 45 points when the top of the open-source scale moved from 955 to 1000.
Every Score Move
Open any move to see what changedDec 4up 45Model updateOpen-source scale: top moved from 955 to 1000
The top of the open-source scale moved from 955 to 1000: every score rose by 45 points, and nothing else about the method or the reads changed.
Own code and dependencies
BlackHart-1 read pflag at release v1.1.0, published Oct 29, 2026, the version the Go module proxy lists as latest, on Dec 1: its Go and Shell code.
This score is what BlackHart-1's automated rules found in the code of release v1.1.0, against the typical rate for Go among these 500 projects. 1000 means no automated rule matched in a full read; it does not mean the code is audited, flaw-free, or without published advisories. It does not assess how the project is maintained, and it cannot be compared with a protocol's score.
If you maintain pflag and think a fact or a read is wrong, write to security@blackhart.io.
Depended on by
140,663 repositories depend on it too.
From packages.ecosyste.ms, read Nov 29, 2026.
About pflag
- License
- BSD-3-Clause
- Language
- Go
- Function
- Scripting and runtimes
- Ecosystem
- Go
- Repository
- github.com/spf13/pflag
- Website
- github.com/spf13/pflag
Packages
The names pflag publishes, by registry.
- Go
- github.com/spf13/pflag