Skip to main content
Module

x/sane_fmt/x/args.ts>CommandReturn

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

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