Skip to main content
Module

x/cliffy/packages/command/commands/help.ts>HelpCommand

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class HelpCommand
implements IHelpCommand
extends BaseCommand
import { HelpCommand } from "https://deno.land/x/cliffy@v0.7.1/packages/command/commands/help.ts";

Generates well formatted and colored help output for specified command.

Constructors

new
HelpCommand(parent: BaseCommand)

Methods

protected
highlight(type?: string): string

Colorize argument type's.

protected
highlightDetails(arg: IArgumentDetails): string

Colorize argument type's.

getHelp(name?: string): string

Render help output.

show(name?: string)