Skip to main content
Module

x/args/index.ts>CommandReturn

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Latest
namespace CommandReturn
import { CommandReturn } from "https://deno.land/x/args@2.1.1/index.ts";

Interfaces

Interface of parsing failure

Interface of a main command variant

Interface of a sub command variant

type alias CommandReturn
import { type CommandReturn } from "https://deno.land/x/args@2.1.1/index.ts";

Success variant of Command::extract

Type Parameters

MainVal

Type of main dictionary

Name extends string

Command name

Sub extends CommandReturn<any, any, any>

Type of subcommand dictionary