UNPKG

525 BTypeScriptView Raw
1export interface CLIOptions {
2 file?: string;
3 url?: string;
4 'export'?: string;
5 args?: string[];
6 template?: string;
7 project?: string;
8 out?: string;
9 headers?: string[];
10 schema?: any;
11 documents?: any;
12 projectConfig?: string;
13}
14export declare const initCLI: (args: any) => any;
15export declare const cliError: (err: string) => void;
16export declare const validateCliOptions: (options: CLIOptions) => void;
17export declare const executeWithOptions: (options: CLIOptions) => Promise<any[]>;