MCPcopy
hub / github.com/cacjs/cac / outputHelp

Method outputHelp

src/cac.ts:134–140  ·  view source on GitHub ↗

* Output the corresponding help message * When a sub-command is matched, output the help message for the command * Otherwise output the global one. *

()

Source from the content-addressed store, hash-verified

132 *
133 */
134 outputHelp(): void {
135 if (this.matchedCommand) {
136 this.matchedCommand.outputHelp()
137 } else {
138 this.globalCommand.outputHelp()
139 }
140 }
141
142 /**
143 * Output the version number.

Callers 1

parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected