MCPcopy Index your code
hub / github.com/tj/commander.js / styleOptionTerm

Method styleOptionTerm

lib/help.js:579–581  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

577 return str;
578 }
579 styleOptionTerm(str) {
580 return this.styleOptionText(str);
581 }
582 styleSubcommandTerm(str) {
583 // This is very like usage with lots of parts! Assume default string which is formed like:
584 // subcommand [options] <foo> [bar]

Callers 4

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

Calls 1

styleOptionTextMethod · 0.95

Tested by

no test coverage detected