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

Interface OutputConfiguration

typings/index.d.ts:354–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352 command: Command;
353}
354export interface OutputConfiguration {
355 writeOut?(str: string): void;
356 writeErr?(str: string): void;
357 outputError?(str: string, write: (str: string) => void): void;
358
359 getOutHelpWidth?(): number;
360 getErrHelpWidth?(): number;
361
362 getOutHasColors?(): boolean;
363 getErrHasColors?(): boolean;
364 stripColor?(str: string): string;
365}
366
367export type AddHelpTextPosition = 'beforeAll' | 'before' | 'after' | 'afterAll';
368export type HookEvent = 'preSubcommand' | 'preAction' | 'postAction';

Callers 14

versionMethod · 0.80
_getOutputContextMethod · 0.80
errorMethod · 0.80
_getOutputContextMethod · 0.80
errorMethod · 0.80
_getOutputContextMethod · 0.80
_getOutputContextMethod · 0.80
_getOutputContextMethod · 0.80
_getOutputContextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected