Module

x/cliffy/command/command.ts>Command#parseFlags

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

Parse raw command line arguments.

Parameters

args: string[]

Raw command line arguments.

env: Record<string, unknown>

Returns

IFlagsResult & { actionOption?: IOption & { action: IAction; }; }