UNPKG

@promptbook/vercel

Version:

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

18 lines (17 loc) 713 B
import type { $side_effect } from '../organization/$side_effect'; import type { ExecCommandOptions } from './ExecCommandOptions'; /** * Run one command in a shell * * * Note: There are 2 similar functions in the codebase: * - `$execCommand` which runs a single command * - `$execCommands` which runs multiple commands * Note: `$` is used to indicate that this function is not a pure function - it runs a command in a shell * * @public exported from `@promptbook/node` */ export declare function $execCommand(options: ExecCommandOptions): Promise<$side_effect & string>; /** * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment */