Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/wmill/deps.ts>Command#helpOption

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
Go to Latest
method Command.prototype.helpOption
Re-export
import { Command } from "https://deno.land/x/wmill@v1.345.2/deps.ts";

Disable help option.

Parameters

enable: false

Set global help option.

Parameters

flags: string

The flags of the help option.

optional
desc: string

The description of the help option.

optional
opts: OptionOptions<Partial<TCommandOptions>, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand> & { global: true; }

Help option options.

Set help option.

Parameters

flags: string

The flags of the help option.

optional
desc: string

The description of the help option.

optional
opts: OptionOptions<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>

Help option options.

Set help option.

Parameters

flags: string

The flags of the help option.

optional
desc: string

The description of the help option.

optional
opts: ActionHandler<TCommandOptions, TCommandArguments, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>

The action of the help option.