nullprogram.com/x/optparse
Package optparse parses command line arguments very similarly to GNU getopt_long(). It supports long options and optional arguments, but does not permute arguments. It is intended as a replacement for Go's flag package. To use, define your options as an Option slice and pass it, along with the arguments string slice, to the Parse() function. It will return a slice of parsing results, which is to be iterated over just like getopt().
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
about 6 years ago
v1.0.0
about 6 years ago
Versions
2
2
Dependent Packages
10
10
Dependent Repos
3,640
3,640
No maintainers found.
Links
| Registry | proxy.golang.org |
| Homepage | Homepage |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/nullprogram.com/x/optparse
spec |
| License | Unlicense |
| Namespace | nullprogram.com/x |
| First Release | over 6 years ago |
| Last Synced | 14 days ago |
Rankings on proxy.golang.org
Overall
Top 4.4%
Dependent packages
Top 1.7%
Dependent repos
Top 0.1%
Forks
Top 9.9%
Docker downloads
Top 2.0%