Skip to main content
Module

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

scaffold your next project with style and 💗
Latest
method Command.prototype.getGlobalOption
Re-export
import { Command } from "https://deno.land/x/scaffold@0.3.0/src/deps/cli.ts";

Get global option from parent commands by name.

Parameters

name: string

Name of the option. Must be in param-case.

optional
hidden: boolean

Include hidden options.

Returns

IOption | undefined