An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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
Latest Release
v1.0.0
about 6 years ago
Versions
2
Dependent Packages
10
Dependent Repos
3,640
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
Repository
Stars 26 on GitHub
Forks 4 on GitHub
Docker Dependents 9
Docker Downloads 1,396
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%