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

Method ParseCommandFromArgs

util/command_parser/command_parser.go:50–53  ·  view source on GitHub ↗
(ui *ui.UI, args []string)

Source from the content-addressed store, hash-verified

48}
49
50func (p *CommandParser) ParseCommandFromArgs(ui *ui.UI, args []string) (int, error) {
51 p.UI = ui
52 return p.parse(args, &common.Commands)
53}
54
55func (p *CommandParser) executionWrapper(cmd flags.Commander, args []string) error {
56 cfConfig := p.Config

Callers 2

mainFunction · 0.95

Calls 1

parseMethod · 0.95

Tested by

no test coverage detected