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

Method displayHelpFooter

command/common/help_command.go:129–139  ·  view source on GitHub ↗
(cmdInfo map[string]sharedaction.CommandInfo)

Source from the content-addressed store, hash-verified

127}
128
129func (cmd HelpCommand) displayHelpFooter(cmdInfo map[string]sharedaction.CommandInfo) {
130 cmd.UI.DisplayHeader("ENVIRONMENT VARIABLES:")
131 cmd.UI.DisplayNonWrappingTable(sharedaction.AllCommandsIndent, cmd.environmentalVariablesTableData(), 1)
132
133 cmd.UI.DisplayNewline()
134
135 cmd.UI.DisplayHeader("GLOBAL OPTIONS:")
136 cmd.UI.DisplayNonWrappingTable(sharedaction.AllCommandsIndent, cmd.globalOptionsTableData(), 25)
137
138 cmd.UI.DisplayNewline()
139}
140
141func (cmd HelpCommand) displayCommonCommands() {
142 cmdInfo := cmd.Actor.CommandInfos(Commands)

Callers 1

displayFullHelpMethod · 0.95

Calls 5

DisplayHeaderMethod · 0.65
DisplayNewlineMethod · 0.65

Tested by

no test coverage detected