Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/packages/flags/mod.ts>getOption

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
function getOption
Re-export
import { getOption } from "https://deno.land/x/cliffy@v0.9.0/packages/flags/mod.ts";

Find option by name.

Parameters

flags: IFlagOptions[]

Source option's array.

name: string

Name of the option.