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

x/cliffy/packages/flags/mod.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://deno.land/x/cliffy@v0.5.1/packages/flags/mod.ts";

Parse command line arguments.

Parameters

args: string[]

Command line arguments e.g: Deno.args

optional
opts: IParseOptions = [UNSUPPORTED]

Parse options.