Skip to main content
Module

x/nessie/deps.ts>CliffyCommand#getGlobalOption

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
method CliffyCommand.prototype.getGlobalOption
Re-export
import { CliffyCommand } from "https://deno.land/x/nessie@2.0.7/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

IOption | undefined