nooschain / cli/commands/recipes / runRecipeCommand
Function: runRecipeCommand()
runRecipeCommand(
client,args,flags):Promise<{changes:string[];executionModel:string;nextChecks:string[];purpose:string;recipe:string;recommendedFlow:string[];requires:string[];title:string;transactionType:DomainTransactionType; } | {nextChecks:string[];recipe:string;result:unknown;submitted:boolean;title:string;transactionType:DomainTransactionType; } | {nextStep?:undefined;note?:undefined;outputPath?:undefined;template?:undefined;templates:string[];usage:string;value?:undefined;written?:undefined; } | {nextStep?:undefined;note:string;outputPath?:undefined;template:string;templates?:undefined;usage?:undefined;value: { } |null;written?:undefined; } | {nextStep:string;note?:undefined;outputPath:string;template:string;templates?:undefined;usage?:undefined;value?:undefined;written:boolean; } | {recipes:object[];templates:string[]; }>
Defined in: cli/commands/recipes.ts:221
Dispatches noos recipe list, template, and initialization commands.
Parameters
client
args
string[]
flags
Record<string, string | boolean>
Returns
Promise<{ changes: string[]; executionModel: string; nextChecks: string[]; purpose: string; recipe: string; recommendedFlow: string[]; requires: string[]; title: string; transactionType: DomainTransactionType; } | { nextChecks: string[]; recipe: string; result: unknown; submitted: boolean; title: string; transactionType: DomainTransactionType; } | { nextStep?: undefined; note?: undefined; outputPath?: undefined; template?: undefined; templates: string[]; usage: string; value?: undefined; written?: undefined; } | { nextStep?: undefined; note: string; outputPath?: undefined; template: string; templates?: undefined; usage?: undefined; value: { } | null; written?: undefined; } | { nextStep: string; note?: undefined; outputPath: string; template: string; templates?: undefined; usage?: undefined; value?: undefined; written: boolean; } | { recipes: object[]; templates: string[]; }>