UNPKG

884 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 readonly env: IonicEnvironment;
8 readonly 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}