@blitzjs/installer
Version:
Package installation for the Blitz CLI
14 lines (13 loc) • 843 B
TypeScript
import * as AddDependencyExecutor from './executors/add-dependency-executor';
import * as FileTransformExecutor from './executors/file-transform-executor';
import * as NewFileExecutor from './executors/new-file-executor';
import * as PrintMessageExecutor from './executors/print-message-executor';
import { RecipeCLIArgs, RecipeCLIFlags, RecipeMeta } from './types';
declare type ExecutorConfig = AddDependencyExecutor.Config | FileTransformExecutor.Config | NewFileExecutor.Config | PrintMessageExecutor.Config;
export type { ExecutorConfig as ExecutorConfigUnion };
export declare class RecipeExecutor<Options extends RecipeMeta> {
private readonly steps;
private readonly options;
constructor(options: Options, steps: ExecutorConfig[]);
run(cliArgs?: RecipeCLIArgs, cliFlags?: RecipeCLIFlags): Promise<void>;
}