UNPKG

@promptbook/remote-client

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

19 lines (18 loc) 857 B
import type { Command as Program } from 'commander'; import type { $side_effect } from '../../utils/organization/$side_effect'; /** * Initializes `run` command for Promptbook CLI utilities * * Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI * * @private internal function of `promptbookCli` */ export declare function $initializeRunCommand(program: Program): $side_effect; /** * TODO: !!5 Catch and wrap all errors from CLI * TODO: [🧠] Pass `maxExecutionAttempts`, `csvSettings` * TODO: [🥃][main] !!3 Allow `ptbk run` without configuring any llm tools * Note: [💞] Ignore a discrepancy between file name and entity name * Note: [🟡] Code in this file should never be published outside of `@promptbook/cli` * TODO: [🖇] What about symlinks? Maybe flag --follow-symlinks */