UNPKG

659 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Arguments } from '../models/interface';
9import { SchematicCommand } from '../models/schematic-command';
10import { Schema as NewCommandSchema } from './new';
11export declare class NewCommand extends SchematicCommand<NewCommandSchema> {
12 readonly allowMissingWorkspace = true;
13 schematicName: string;
14 initialize(options: NewCommandSchema & Arguments): Promise<void>;
15 run(options: NewCommandSchema & Arguments): Promise<number | void>;
16}