Module

x/wmill/deps.ts>Command#getGlobalOption

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.getGlobalOption
import { Command } from "https://dotland.deno.dev/x/wmill@v1.323.6/deps.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

Option | undefined