nooschain / cli/commands/production / runProductionCommand
Function: runProductionCommand()
runProductionCommand(
client,config,args,flags):Promise<string|ProductionReadinessReport|ProductionBackupDrillReport|ProductionMonitorReport| {command:string;databaseUrlPresent:boolean;dryRun:true;steps:string[];wouldWriteDirectory:string; } | {checkedAt:string;checks:ProductionCheck[];compatibility: {cliVersion:string;migrations: {checked:boolean;extra:string[];latestApplied:string|null;latestAvailable:string|null;missing:string[]; };nodeVersion:string|null;snapshotArchiveFormatVersion:number; };kind:string;ok:boolean;profile: {expected:ProductionProfile;inferred:ProductionProfile; }; } |undefined>
Defined in: cli/commands/production.ts:1132
Dispatches production readiness report and hard preflight commands.
Parameters
client
config
args
string[]
flags
Record<string, string | boolean>
Returns
Promise<string | ProductionReadinessReport | ProductionBackupDrillReport | ProductionMonitorReport | { command: string; databaseUrlPresent: boolean; dryRun: true; steps: string[]; wouldWriteDirectory: string; } | { checkedAt: string; checks: ProductionCheck[]; compatibility: { cliVersion: string; migrations: { checked: boolean; extra: string[]; latestApplied: string | null; latestAvailable: string | null; missing: string[]; }; nodeVersion: string | null; snapshotArchiveFormatVersion: number; }; kind: string; ok: boolean; profile: { expected: ProductionProfile; inferred: ProductionProfile; }; } | undefined>