Skip to main content
Module

x/omdb/deps.ts>Command#helpOption

Access OMDb's API with Deno.
Go to Latest
method Command.prototype.helpOption
Re-export
import { Command } from "https://deno.land/x/omdb@v1.4.3/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.