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

x/cliffy/flags/flags.ts>getOption

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

Find option by flag, name or alias.

Parameters

flags: IFlagOptions[]

Source option's array.

name: string

Name of the option.