Last change
on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * Adds support for an external library to your project.
|
---|
| 3 | */
|
---|
| 4 | export interface Schema {
|
---|
| 5 | /**
|
---|
| 6 | * The package to be added.
|
---|
| 7 | */
|
---|
| 8 | collection?: string;
|
---|
| 9 | /**
|
---|
| 10 | * Disable 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 | * Enable interactive input prompts.
|
---|
| 19 | */
|
---|
| 20 | interactive?: boolean;
|
---|
| 21 | /**
|
---|
| 22 | * The NPM registry to use.
|
---|
| 23 | */
|
---|
| 24 | registry?: string;
|
---|
| 25 | /**
|
---|
| 26 | * Skip asking a confirmation prompt before installing and executing the package. Ensure
|
---|
| 27 | * package name is correct prior to using this option.
|
---|
| 28 | */
|
---|
| 29 | skipConfirmation?: boolean;
|
---|
| 30 | /**
|
---|
| 31 | * Display additional details about internal operations during execution.
|
---|
| 32 | */
|
---|
| 33 | verbose?: boolean;
|
---|
| 34 | }
|
---|
| 35 | /**
|
---|
| 36 | * Shows a help message for this command in the console.
|
---|
| 37 | */
|
---|
| 38 | export declare type HelpUnion = boolean | HelpEnum;
|
---|
| 39 | export declare enum HelpEnum {
|
---|
| 40 | HelpJson = "JSON",
|
---|
| 41 | Json = "json"
|
---|
| 42 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.