import { BaseCommand } from './base.ts'; import type { CommandMetaData } from '../types.ts'; /** * The Help command is used to view help for a given command * * @example * ```ts * // Usage from CLI: node ace help my:command * // Or programmatically: * const helpCommand = new HelpCommand(kernel, parsed, ui, prompt) * await helpCommand.run() * ``` */ export declare class HelpCommand extends BaseCommand { #private; /** * Command metadata */ static commandName: string; static description: string; /** * The command name argument */ name: string; /** * Logs command description * * @param command - The command metadata */ protected renderDescription(command: CommandMetaData): void; /** * Logs command usage * * @param command - The command metadata */ protected renderUsage(command: CommandMetaData): void; /** * Logs command arguments and options tables * * @param command - The command metadata */ protected renderList(command: CommandMetaData): void; /** * Logs command help text * * @param command - The command metadata */ protected renderHelp(command: CommandMetaData): void; /** * Executes the help command to display help for the specified command * * @example * ```ts * await helpCommand.run() * ``` */ run(): Promise; }