Skip to main content
Module

x/args/command-types.ts>CommandReturn

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Go to Latest
namespace CommandReturn
import { CommandReturn } from "https://deno.land/x/args@1.0.0/command-types.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@1.0.0/command-types.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