Files
hose-use/src/cli/types.ts
T

29 lines
586 B
TypeScript

import type { CorpConfig } from "../core/config/types.js";
import type { CorpContext } from "../core/config/manager.js";
export interface CliParsedArgs {
area?: string;
action?: string;
args: string[];
options: Record<string, string | boolean | number>;
raw: string[];
}
export interface CliRunOptions {
appRoot?: string;
entryFile?: string;
launcher?: string;
}
export interface CliResult {
stdout: string;
stderr: string;
exitCode: number;
}
export interface CliRuntime {
corpContext: CorpContext;
selectedCorp: CorpConfig | null;
jsonMode: boolean;
}