Skip to main content
Module

x/args/index.ts>commands.ParseFailure

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

Failure variant of Command::extract

Type Parameters

ErrList extends readonly ParseError[]

Type of list of errors

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

Create a failure for Command::extract

type

<ErrList extends readonly ParseError[]>(error: ErrList) => ParseFailure<ErrList>