UNPKG

878 BTypeScriptView Raw
1import { BaseCommand, TaskChain } from '@ionic/cli-framework';
2import { CommandInstanceInfo, CommandLineInputs, CommandLineOptions, CommandMetadata, CommandMetadataInput, CommandMetadataOption, ICommand, INamespace, IProject, IonicEnvironment } from '../definitions';
3export declare abstract class Command extends BaseCommand<ICommand, INamespace, CommandMetadata, CommandMetadataInput, CommandMetadataOption> implements ICommand {
4 namespace: INamespace;
5 protected readonly taskChains: TaskChain[];
6 constructor(namespace: INamespace);
7 get env(): IonicEnvironment;
8 get project(): IProject | undefined;
9 createTaskChain(): TaskChain;
10 execute(inputs: CommandLineInputs, options: CommandLineOptions, runinfo: CommandInstanceInfo): Promise<void>;
11 getCleanInputsForTelemetry(inputs: CommandLineInputs, options: CommandLineOptions): Promise<string[]>;
12}