Module

x/cliffy/mod.ts>BaseCommand#getOption

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method BaseCommand.prototype.getOption
import { BaseCommand } from "https://dotland.deno.dev/x/cliffy@v0.6.0/mod.ts";

Get option by name.

Parameters

name: string

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

Returns

IOption | undefined