Module

x/cliffy/packages/flags/lib/flags.ts>parseFlags

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

Parse command line arguments.

Parameters

args: string[]

Command line arguments e.g: Deno.args

optional
opts: IParseOptions = [UNSUPPORTED]

Parse options.