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

package.src.commands.add.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, Options, OtherOptions } from '../../command-builder/command-module';
import { SchematicsCommandArgs, SchematicsCommandModule } from '../../command-builder/schematics-command-module';
interface AddCommandArgs extends SchematicsCommandArgs {
    collection: string;
    verbose?: boolean;
    registry?: string;
    'skip-confirmation'?: boolean;
}
export default class AddCommandModule extends SchematicsCommandModule implements CommandModuleImplementation {
    command: string;
    describe: string;
    longDescriptionPath: string;
    protected allowPrivateSchematics: boolean;
    private readonly schematicName;
    private rootRequire;
    builder(argv: Argv): Promise>;
    run(options: Options & OtherOptions): Promise;
    private isProjectVersionValid;
    private getCollectionName;
    private isPackageInstalled;
    private executeSchematic;
    private findProjectVersion;
    private hasMismatchedPeer;
}
export {};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy