@promptbook/utils
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
12 lines (11 loc) • 591 B
TypeScript
import type { Command } from 'commander';
import type { $side_effect } from '../../utils/organization/$side_effect';
/**
* Keeps one already registered CLI command out of the help of its parent command while the command itself stays
* fully usable - it can still be run, it still has its own help and it is still reachable through `ptbk help <command>`.
*
* Note: `$` is used to indicate that this function is not a pure function - it changes how the CLI renders its help
*
* @private utility of CLI
*/
export declare function $hideCliCommandFromHelp(command: Command): $side_effect;