@2fd/command
Version:
Modular command line tool
26 lines (25 loc) • 697 B
TypeScript
import { QuickCommandType, CommandInterface } from '../interfaces';
/**
* StringCommandProxy
*/
export declare class StringCommandProxy implements CommandInterface<any, any> {
_path: string;
_command: CommandInterface<any, any>;
constructor(path: string);
command(): CommandInterface<any, any>;
readonly description: string;
handle(input: any, output: any): void;
}
/**
* QuickCommandProxy
*
*
*/
export declare class QuickCommandProxy implements CommandInterface<any, any> {
_quick: QuickCommandType & {
description?: string;
};
constructor(quick: QuickCommandType);
readonly description: string;
handle(input: any, output: any): void;
}