Registry / cli / opt
library0.2.0gogounverified

Package opt implements command-line flag parsing.

go get modernc.org/opt
INSTALL
IMPORT
SIG · OPT
O
opt
cligov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

opt
modernc.org/opt

Create a new option parser for a command-line application.

package main import ( "fmt" "modernc.org/opt" ) func main() { opts := opt.New("myapp", "1.0") fmt.Println(opts) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Amazon
1
Resources
opt — go get opt · libregistry