@promptbook/google
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
19 lines (18 loc) • 789 B
TypeScript
import type { Command } from 'commander';
import type { $side_effect } from '../../utils/organization/$side_effect';
/**
* Makes one CLI command which only groups subcommands ask for a subcommand instead of doing anything on its own.
*
* Note: `$` is used to indicate that this function is not a pure function - it registers an action in the CLI
*
* @private utility of CLI
*/
export declare function $requireCliSubcommand(command: Command): $side_effect;
/**
* Asks for a subcommand of one CLI command, prints its help and exits the process.
*
* Note: `$` is used to indicate that this function is not a pure function - it writes to the console and exits the process
*
* @private utility of CLI
*/
export declare function $reportMissingCliSubcommand(command: Command): never;