UNPKG

658 BTypeScriptView Raw
1import { FileOutput } from 'graphql-codegen-core';
2export interface CLIOptions {
3 file?: string;
4 url?: string;
5 export?: string;
6 schema?: string;
7 args?: string[];
8 template?: string;
9 project?: string;
10 out?: string;
11 header?: string[];
12 skipSchema?: any;
13 skipDocuments?: any;
14 config?: string;
15 require?: string[];
16 overwrite?: boolean;
17}
18export declare const initCLI: (args: any) => CLIOptions;
19export declare const cliError: (err: string) => void;
20export declare const validateCliOptions: (options: CLIOptions) => void;
21export declare const executeWithOptions: (options: CLIOptions) => Promise<FileOutput[]>;