Registry / cli / muesli-mango-pflag

muesli-mango-pflag

JSON →
library0.2.0gogounverified

Package mango-pflag provides pflag integration for the mango command-line parser.

go get github.com/muesli/mango-pflag
INSTALL
IMPORT
SIG · MUESLI-MANGO-PFLAG
M
muesli-mango-pflag
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.

mangopflag
github.com/muesli/mango-pflag

Registers pflag support for a mango command.

package main import ( "github.com/muesli/mango" "github.com/muesli/mango-pflag" ) func main() { cmd := mango.New("example", "1.0.0", "") cmd.AddCommand(mango.NewCommand("hello", "", func(cmd *mango.Command) error { return nil })) mangopflag.Register(cmd) }
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
muesli-mango-pflag — go get muesli-mango-pflag · libregistry