Skip to main content
Module

x/args/index.ts>commands.CommandReturn

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

Interfaces

Interface of parsing failure

Interface of a main command variant

Interface of a sub command variant

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

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