Skip to main content
Module

x/flags/mod.ts>Parser

Command line argument parser for deno and node.js
Latest
class Parser
import { Parser } from "https://deno.land/x/flags@0.0.3/mod.ts";

command parser

Constructors

new
Parser(root: Command)

Methods

parse(args: Array<string>, opts?: ParserOptions)

Parses command line arguments and invokes a handler callback for a matching command or its subcommands