UNPKG

732 BTypeScriptView Raw
1import { Arguments } from '../models/interface';
2import { SchematicCommand } from '../models/schematic-command';
3import { Schema as AddCommandSchema } from './add';
4export declare class AddCommand extends SchematicCommand<AddCommandSchema> {
5 readonly allowPrivateSchematics = true;
6 initialize(options: AddCommandSchema & Arguments): Promise<void>;
7 run(options: AddCommandSchema & Arguments): Promise<number | void>;
8 reportAnalytics(paths: string[], options: AddCommandSchema & Arguments, dimensions?: (boolean | number | string)[], metrics?: (boolean | number | string)[]): Promise<void>;
9 private isPackageInstalled;
10 private executeSchematic;
11 private findProjectVersion;
12 private hasMismatchedPeer;
13}