Skip to main content
Module

x/scaffold/src/deps/cli.ts>Command#helpOption

scaffold your next project with style and 💗
Latest
method Command.prototype.helpOption
Re-export
import { Command } from "https://deno.land/x/scaffold@0.3.0/src/deps/cli.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, CPG, CT, CGT, CPT, CP> & { 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, CPG, CT, CGT, CPT, CP>

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, CPG, CT, CGT, CPT, CP>

The action of the help option.