UNPKG

@angular/cli

Version:
14 lines (13 loc) 752 B
/** * @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 { CommandContext, CommandModule, CommandModuleImplementation } from '../command-module'; export declare const demandCommandFailureMessage = "You need to specify a command before moving on. Use '--help' to view the available commands."; export type CommandModuleConstructor = Partial<CommandModuleImplementation> & { new (context: CommandContext): Partial<CommandModuleImplementation> & CommandModule; }; export declare function addCommandModuleToYargs<U extends CommandModuleConstructor>(commandModule: U, context: CommandContext): void;