Registry / cli / juju-gnuflag

juju-gnuflag

JSON →
library1.0.0gogounverified

Package flag implements command-line flag parsing in the GNU style, similar to the standard flag package but with an extra argument to Parse.

go get github.com/juju/gnuflag
INSTALL
IMPORT
SIG · JUJU-GNUFLAG
J
juju-gnuflag
cligov1.0.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.

gnuflag
github.com/juju/gnuflag

Parses command-line flags in GNU style with interspersed arguments.

package main import ( "flag" "fmt" "github.com/juju/gnuflag" ) func main() { var name string gnuflag.StringVar(&name, "name", "world", "a name to greet") gnuflag.Parse(true) fmt.Printf("Hello, %s!\n", name) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

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