quicksilver-cli
Version:
Cli tool for Quicksilver
15 lines (14 loc) • 831 B
TypeScript
import { CommandConstructor } from "./command";
export interface CommandMap {
[name: string]: CommandConstructor;
}
export declare const commands: CommandConstructor[];
export declare const commandNames: string[];
export declare const commandMap: CommandMap;
export declare function getCommand(commandNameOrAlias: string): CommandConstructor;
export declare function isCommand(commandNameOrAlias: string, command: CommandConstructor): boolean;
export declare function getName(command: CommandConstructor): string;
export declare function getAlias(command: CommandConstructor): string[];
export declare function getAliasReduce(command: CommandConstructor): string;
export declare function getFields(command: CommandConstructor): string;
export declare function getDescription(command: CommandConstructor): string;