UNPKG

@squiz/dxp

Version:

The common dxp library for cli commands

40 lines (39 loc) 1.21 kB
/*! * @license * Copyright Squiz Australia Pty Ltd. All Rights Reserved. */ import { Observable } from 'rxjs'; import { CommandContext } from '../../../Context/Context.dto'; import { BaseCommand } from '../../Command'; import { Commandable } from '../../Command.dto'; /** * TODO: * @export * @class PluginRemoveCommand * @extends {BaseCommand} * @implements {Commandable} */ export declare class PluginRemoveCommand extends BaseCommand implements Commandable { /** * TODO: * @param {CommandContext} context TODO: * @returns {Array<string>} TODO: * @memberof PluginRemoveCommand */ aliases(context: CommandContext): Array<string>; /** * TODO: * @template T TODO: * @param {CommandContext} context TODO: * @returns {(Observable<unknown> | Promise<unknown> | unknown)} TODO: * @memberof PluginRemoveCommand */ execute(context: CommandContext): Observable<unknown> | Promise<unknown> | unknown; /** * TODO: * @param {CommandContext} context TODO: * @returns {Array<string>} TODO: * @memberof PluginRemoveCommand */ usages(context: CommandContext): Array<string>; }