Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/opinecli/deps.ts>Command#helpOption

Opine's application generator
Latest
method Command.prototype.helpOption
Re-export
import { Command } from "https://deno.land/x/opinecli@2.0.0/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: ICommandOption<Partial<CO>, CA, CG, PG, P> & { 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: ICommandOption<CO, CA, CG, PG, P>

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: IAction<CO, CA, CG, PG, P>

The action of the help option.