1 | import { CommandScope, Option } from '../models/command';
|
2 | import { SchematicCommand, CoreSchematicOptions } from '../models/schematic-command';
|
3 | export interface UpdateOptions extends CoreSchematicOptions {
|
4 | next: boolean;
|
5 | schematic?: boolean;
|
6 | }
|
7 | export default class UpdateCommand extends SchematicCommand {
|
8 | readonly name: string;
|
9 | readonly description: string;
|
10 | static aliases: string[];
|
11 | readonly scope: CommandScope;
|
12 | arguments: string[];
|
13 | options: Option[];
|
14 | readonly allowMissingWorkspace: boolean;
|
15 | private collectionName;
|
16 | private schematicName;
|
17 | private initialized;
|
18 | initialize(options: any): Promise<void>;
|
19 | validate(options: any): Promise<boolean>;
|
20 | run(options: UpdateOptions): Promise<number | void>;
|
21 | }
|