-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathCLIOptions.types.ts
More file actions
32 lines (27 loc) · 826 Bytes
/
CLIOptions.types.ts
File metadata and controls
32 lines (27 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import type { LanguageName, RendererOptions } from "quicktype-core";
export interface CLIOptions<Lang extends LanguageName = LanguageName> {
// We use this to access the inference flags
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
[option: string]: any;
additionalSchema: string[];
allPropertiesOptional: boolean;
alphabetizeProperties: boolean;
buildMarkovChain?: string;
debug?: string;
graphqlIntrospect?: string;
graphqlSchema?: string;
help: boolean;
httpHeader?: string[];
httpMethod?: string;
lang: Lang;
noRender: boolean;
out?: string;
quiet: boolean;
rendererOptions: RendererOptions<Lang>;
src: string[];
srcLang: string;
srcUrls?: string;
telemetry?: string;
topLevel: string;
version: boolean;
}