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:
862 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * Generates and/or modifies files based on a schematic.
|
---|
| 3 | */
|
---|
| 4 | export interface Schema {
|
---|
| 5 | /**
|
---|
| 6 | * Disable interactive input prompts for options with a default.
|
---|
| 7 | */
|
---|
| 8 | defaults?: boolean;
|
---|
| 9 | /**
|
---|
| 10 | * Run through and reports activity without writing out results.
|
---|
| 11 | */
|
---|
| 12 | dryRun?: boolean;
|
---|
| 13 | /**
|
---|
| 14 | * Force overwriting of existing files.
|
---|
| 15 | */
|
---|
| 16 | force?: boolean;
|
---|
| 17 | /**
|
---|
| 18 | * Shows a help message for this command in the console.
|
---|
| 19 | */
|
---|
| 20 | help?: HelpUnion;
|
---|
| 21 | /**
|
---|
| 22 | * Enable interactive input prompts.
|
---|
| 23 | */
|
---|
| 24 | interactive?: boolean;
|
---|
| 25 | /**
|
---|
| 26 | * The schematic or collection:schematic to generate.
|
---|
| 27 | */
|
---|
| 28 | schematic?: string;
|
---|
| 29 | }
|
---|
| 30 | /**
|
---|
| 31 | * Shows a help message for this command in the console.
|
---|
| 32 | */
|
---|
| 33 | export declare type HelpUnion = boolean | HelpEnum;
|
---|
| 34 | export declare enum HelpEnum {
|
---|
| 35 | HelpJson = "JSON",
|
---|
| 36 | Json = "json"
|
---|
| 37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.