UNPKG

baldrick-broth

Version:
14 lines (13 loc) 599 B
/** * Responsibilities: Expands batch models into runnable command line inputs. * - Resolves loops (each), templated names, and command lines per iteration * - Validates expanded names and merges per-iteration extra context */ import type { BatchStepModel, Ctx } from './build-model.js'; import type { CommandLineInput } from './execution.js'; import { type Result } from './railway.js'; type ExpandedCommandLineInputs = Result<CommandLineInput[], { messages: string[]; }>; export declare const expandBatchStep: (ctx: Ctx, batchStep: BatchStepModel) => ExpandedCommandLineInputs; export {};