Skip to main content
Module

x/args/command-types.ts

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Latest
import * as args from "https://deno.land/x/args@2.1.1/command-types.ts";

Variables

Starting point of a command parser construction chain

Assign description to a command parser during construction chain

Add a flag parser on top of existing command parser

Merge two command parsers

Create a failure for Command::extract

Declare add subcommand to existing command parser

Interfaces

Interface of a command parser

Interface of component of help message of command parser

Interface of parsing failure

Interface of a main command variant

Interface of a sub command variant

Type Aliases

Success variant of Command::extract

Type of value of FlaggedCommand

Type of value of MergeCommand

Failure variant of Command::extract

Type of value of SubCommand