/** * @license * Copyright Google Inc. 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.io/license */import{analytics,logging}from'@angular-devkit/core';import{Arguments,CommandContext,CommandDescription,CommandDescriptionMap,CommandScope,CommandWorkspace,Option,SubCommandDescription}from'./interface';exportinterfaceBaseCommandOptions{help?:boolean|string;}exportdeclareabstractclassCommand<TextendsBaseCommandOptions=BaseCommandOptions>{readonlydescription:CommandDescription;protectedreadonlylogger:logging.Logger;allowMissingWorkspace:boolean;workspace:CommandWorkspace;analytics:analytics.Analytics;protectedstaticcommandMap:()=>Promise<CommandDescriptionMap>;staticsetCommandMap(map:()=>Promise<CommandDescriptionMap>):void;constructor(context:CommandContext,description:CommandDescription,logger:logging.Logger);initialize(options:T&Arguments):Promise<void>;printHelp(options:T&Arguments):Promise<number>;printJsonHelp(_options:T&Arguments):Promise<number>;protectedprintHelpUsage():Promise<void>;protectedprintHelpSubcommand(subcommand:SubCommandDescription):Promise<void>;protectedprintHelpOptions(options?:Option[]):Promise<void>;validateScope(scope?:CommandScope):Promise<void>;reportAnalytics(paths:string[],options:T&Arguments,dimensions?:(boolean|number|string)[],metrics?:(boolean|number|string)[]):Promise<void>;abstractrun(options:T&Arguments):Promise<number|void>;validateAndRun(options:T&Arguments):Promise<number|void>;}