UNPKG

920 BTypeScriptView Raw
1import { BaseCommand } from './base.js';
2import type { CommandMetaData } from '../types.js';
3/**
4 * The Help command is used to view help for a given command
5 */
6export declare class HelpCommand extends BaseCommand {
7 #private;
8 /**
9 * Command metadata
10 */
11 static commandName: string;
12 static description: string;
13 /**
14 * The command name argument
15 */
16 name: string;
17 /**
18 * Logs command description
19 */
20 protected renderDescription(command: CommandMetaData): void;
21 /**
22 * Logs command usage
23 */
24 protected renderUsage(command: CommandMetaData): void;
25 /**
26 * Logs commands arguments and options tables
27 */
28 protected renderList(command: CommandMetaData): void;
29 /**
30 * Logs command help text
31 */
32 protected renderHelp(command: CommandMetaData): void;
33 /**
34 * Executed by ace directly
35 */
36 run(): Promise<void>;
37}