Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/habitra/deps.ts>Command#getOption

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

Get option by name.

Parameters

name: string

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

optional
hidden: boolean

Include hidden options.

Returns

IOption | undefined