MCPcopy
hub / github.com/tj/commander.js / argumentTerm

Method argumentTerm

lib/help.js:194–196  ·  view source on GitHub ↗

* Get the argument term to show in the list of arguments. * * @param {Argument} argument * @returns {string}

(argument)

Source from the content-addressed store, hash-verified

192 */
193
194 argumentTerm(argument) {
195 return argument.name();
196 }
197
198 /**
199 * Get the longest command term length.

Callers 3

formatHelpMethod · 0.80
index.test-d.tsFile · 0.80

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected