UNPKG

499 BTypeScriptView Raw
1import { CommandScope, Option } from '../models/command';
2import { SchematicCommand } from '../models/schematic-command';
3export default class AddCommand extends SchematicCommand {
4 readonly name: string;
5 readonly description: string;
6 readonly allowPrivateSchematics: boolean;
7 scope: CommandScope;
8 arguments: string[];
9 options: Option[];
10 private _parseSchematicOptions(collectionName);
11 validate(options: any): boolean;
12 run(options: any): Promise<number | void>;
13}