UNPKG

@squiz/dxp

Version:

The common dxp library for cli commands

40 lines (39 loc) 1.2 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 PluginListCommand * @extends {BaseCommand} * @implements {Commandable} */ export declare class PluginListCommand extends BaseCommand implements Commandable { /** * TODO: * @param {CommandContext} context TODO: * @returns {Array<string>} TODO: * @memberof PluginListCommand */ aliases(context: CommandContext): Array<string>; /** * TODO: * @template T TODO: * @param {CommandContext} context TODO: * @returns {(Observable<unknown> | Promise<unknown> | unknown)} TODO: * @memberof PluginListCommand */ execute(context: CommandContext): Observable<unknown> | Promise<unknown> | unknown; /** * TODO: * @param {CommandContext} context TODO: * @returns {Array<string>} TODO: * @memberof PluginListCommand */ usages(context: CommandContext): Array<string>; }