Skip to main content
Module

x/args/command-types.ts>CommandReturn.Sub

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Latest
interface CommandReturn.Sub
implements SuccessBase<Value>
import { type CommandReturn } from "https://deno.land/x/args@2.1.1/command-types.ts";
const { Sub } = CommandReturn;

Interface of a sub command variant

Type Parameters

Name extends string

Type of subcommand name

Value extends CommandReturn<any, any, any>

Type of wrapped main command

Properties

readonly
tag: Name