UNPKG

863 BTypeScriptView Raw
1/**
2 * Adds support for an external library to your project.
3 */
4export interface Schema {
5 /**
6 * The package to be added.
7 */
8 collection?: string;
9 /**
10 * When true, disables interactive input prompts for options with a default.
11 */
12 defaults?: boolean;
13 /**
14 * Shows a help message for this command in the console.
15 */
16 help?: HelpUnion;
17 /**
18 * When false, disables interactive input prompts.
19 */
20 interactive?: boolean;
21 /**
22 * The NPM registry to use.
23 */
24 registry?: string;
25 /**
26 * Display additional details about internal operations during execution.
27 */
28 verbose?: boolean;
29}
30/**
31 * Shows a help message for this command in the console.
32 */
33export declare type HelpUnion = boolean | HelpEnum;
34export declare enum HelpEnum {
35 HelpJson = "JSON",
36 Json = "json"
37}