All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.commands.new.cli.d.ts Maven / Gradle / Ivy

There is a newer version: 19.0.0
Show newest version
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.dev/license
 */
import { Argv } from 'yargs';
import { CommandModuleImplementation, CommandScope, Options, OtherOptions } from '../../command-builder/command-module';
import { SchematicsCommandArgs, SchematicsCommandModule } from '../../command-builder/schematics-command-module';
interface NewCommandArgs extends SchematicsCommandArgs {
    collection?: string;
}
export default class NewCommandModule extends SchematicsCommandModule implements CommandModuleImplementation {
    private readonly schematicName;
    scope: CommandScope;
    protected allowPrivateSchematics: boolean;
    command: string;
    aliases: string[] | undefined;
    describe: string;
    longDescriptionPath: string;
    builder(argv: Argv): Promise>;
    run(options: Options & OtherOptions): Promise;
    /** Find a collection from config that has an `ng-new` schematic. */
    private getCollectionFromConfig;
}
export {};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy