File size: 652 Bytes
fd8cdf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export declare const SUPPORTED_TYPES: readonly ["kiro", "codex", "opencode", "claude-code", "openclaw", "cursor", "openspec"];
export type TemplateType = typeof SUPPORTED_TYPES[number];
export interface CLIOptions {
    command: 'help' | 'preview' | 'create-md' | 'analyze';
    inputPath: string;
    port: number;
    open: boolean;
    watch: boolean;
    init: boolean;
    full: boolean;
    type?: TemplateType;
}
export type ParseResult = {
    success: true;
    options: CLIOptions;
} | {
    success: false;
    error: string;
};
export declare function parseArgs(argv: string[]): ParseResult;
export declare function getUsageText(): string;