UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

17 lines (16 loc) 637 B
import type { $side_effect } from '../organization/$side_effect'; /** * Run multiple commands in a shell in sequence * * 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 commands in a shell * * @public exported from `@promptbook/node` */ export declare function $execCommands({ commands, cwd, crashOnError, }: $side_effect & { readonly commands: string[]; readonly cwd: string; readonly crashOnError?: boolean; }): Promise<void>;