Skip to content
Myr

feat(typings): add help callback

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daevid Preis · committed by Roman Vanesyan · parent 5c74431 · Browse files · 1 file+8 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+8 added−4 removed

  • other:+8 added−4 removed

1 file+8 added−4 removed

modified:typings/index.d.ts+8 added-4 removed
253 unmodified lines
254255 /**256 * Output help information for this command.257 *258 * @param {() => void} [cb] Callback method258 * @param {(str: string) => string} [cb] Callback method259 */260 outputHelp(cb?: () => void): void;260 outputHelp(cb?: (str: string) => string): void;261262 /** Output help information and exit. */263 help(): void;262 /**263 * Output help information and exit.264 *265 * @param {(str: string) => string} [cb] Callback method266 */267 help(cb?: (str: string) => string): void;268}269270declare namespace commander {271
21 unmodified lines