MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / NewDefaultCommandFlagsParser

Function NewDefaultCommandFlagsParser

commands/flags_parser.go:71–73  ·  view source on GitHub ↗

NewDefaultCommandFlagsParser initializes DefaultCommandFlagsParser

(positionalArgNames []string)

Source from the content-addressed store, hash-verified

69
70// NewDefaultCommandFlagsParser initializes DefaultCommandFlagsParser
71func NewDefaultCommandFlagsParser(positionalArgNames []string) DefaultCommandFlagsParser {
72 return DefaultCommandFlagsParser{positionalArgNames: positionalArgNames}
73}
74
75// ParseFlags see DefaultCommandFlagsParser
76func (p DefaultCommandFlagsParser) ParseFlags(flags *flag.FlagSet, args []string) error {

Callers 6

NewMtaCommandFunction · 0.85
NewDmolCommandFunction · 0.85
NewPurgeConfigCommandFunction · 0.85
NewMtaOperationsCommandFunction · 0.85
NewMtasCommandFunction · 0.85
ParseFlagsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected