@promptbook/utils
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
12 lines (11 loc) • 562 B
TypeScript
import { Command } from 'commander';
import type { $side_effect } from '../../utils/organization/$side_effect';
/**
* Marks one CLI command as deprecated while keeping it available for existing callers.
*
* Deprecated commands are not advertised anymore - they are hidden from the list of commands in the help of their
* parent command, they warn when they are used and they explain the deprecation in their own help.
*
* @private utility of CLI
*/
export declare function $deprecateCliCommand(command: Command, deprecationMessage: string): $side_effect;