new-impl.d.ts 692 B

1234567891011121314151617
  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. */
  8. import { Arguments } from '../models/interface';
  9. import { SchematicCommand } from '../models/schematic-command';
  10. import { Schema as NewCommandSchema } from './new';
  11. export 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. private parseCollectionName;
  17. }