Skip to main content
Module

x/args/index.ts>commands.SubCommandReturn

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

Type of value of SubCommand

Type Parameters

Main extends CommandReturn<any, any, any>

Type of main wrapper

Name extends string

Type of subcommand name

Sub extends CommandReturn<any, any, any>

Subcommand parser

definition: Main | CommandReturn.Sub<Name, Sub>