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

Method write

lib/command.js:2504–2507  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

2502 helpWidth = this._outputConfiguration.getOutHelpWidth();
2503 }
2504 const write = (str) => {
2505 if (!hasColors) str = this._outputConfiguration.stripColor(str);
2506 return baseWrite(str);
2507 };
2508 return { error, write, hasColors, helpWidth };
2509 }
2510

Callers 4

constructorMethod · 0.80
outputHelpMethod · 0.80
addHelpTextMethod · 0.80

Calls 1

stripColorMethod · 0.80

Tested by

no test coverage detected