Skip to main content
Module

x/sane_fmt/x/args.ts>commands.CommandReturn

Opinionated code formatter for TypeScript and JavaScript
Go to Latest
namespace commands.CommandReturn
import { commands } from "https://deno.land/x/sane_fmt@0.13.0/x/args.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/sane_fmt@0.13.0/x/args.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

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