MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Execute

Method Execute

command/common/help_command.go:46–55  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

44}
45
46func (cmd HelpCommand) Execute(args []string) error {
47 var err error
48 if cmd.OptionalArgs.CommandName == "" {
49 cmd.displayFullHelp()
50 } else {
51 err = cmd.displayCommand()
52 }
53
54 return err
55}
56
57func (cmd HelpCommand) displayFullHelp() {
58 if cmd.AllCommands {

Callers

nothing calls this directly

Calls 2

displayFullHelpMethod · 0.95
displayCommandMethod · 0.95

Tested by

no test coverage detected