MCPcopy
hub / github.com/cloudfoundry/cli / NewCommandParser

Function NewCommandParser

util/command_parser/command_parser.go:46–48  ·  view source on GitHub ↗
(config *configv3.Config)

Source from the content-addressed store, hash-verified

44}
45
46func NewCommandParser(config *configv3.Config) (CommandParser, error) {
47 return CommandParser{Config: config}, nil
48}
49
50func (p *CommandParser) ParseCommandFromArgs(ui *ui.UI, args []string) (int, error) {
51 p.UI = ui

Callers 2

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected