UNPKG

522 BTypeScriptView Raw
1import { AbstractRunner } from '../runners';
2import { Schematic } from './nest.collection';
3import { SchematicOption } from './schematic.option';
4export declare abstract class AbstractCollection {
5 protected collection: string;
6 protected runner: AbstractRunner;
7 constructor(collection: string, runner: AbstractRunner);
8 execute(name: string, options: SchematicOption[], extraFlags?: string): Promise<void>;
9 abstract getSchematics(): Schematic[];
10 private buildCommandLine;
11 private buildOptions;
12}