Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/habitra/deps.ts>Command#getBaseOption

Command line tool for HabiTra
Latest
method Command.prototype.getBaseOption
Re-export
import { Command } from "https://deno.land/x/habitra@v0.3.0/deps.ts";

Get base option by name.

Parameters

name: string

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

optional
hidden: boolean

Include hidden options.

Returns

IOption | undefined