UNPKG

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