command.d.ts 924 B

12345678910111213
  1. import { BaseCommand } from '@ionic/cli-framework';
  2. import { TaskChain } from '@ionic/cli-framework-output';
  3. import { CommandInstanceInfo, CommandLineInputs, CommandLineOptions, CommandMetadata, CommandMetadataInput, CommandMetadataOption, ICommand, INamespace, IProject, IonicEnvironment } from '../definitions';
  4. export 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. }