UNPKG

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