1 |
|
2 |
|
3 | import * as commander from 'commander';
|
4 | import { IntrospectionQuery } from 'graphql/utilities/introspectionQuery';
|
5 | import { GeneratorTemplate } from './templates';
|
6 | export interface TransformedCliOptions {
|
7 | introspection?: IntrospectionQuery;
|
8 | documents?: string[];
|
9 | template?: GeneratorTemplate;
|
10 | outPath?: string;
|
11 | isDev?: boolean;
|
12 | }
|
13 | export declare const initCLI: (args: any) => commander.IExportedCommand;
|
14 | export declare const cliError: (err: string) => void;
|
15 | export declare const validateCliOptions: (options: any) => void;
|
16 | export declare const transformOptions: (options: any) => Promise<TransformedCliOptions>;
|