Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/args/flag-errors.ts

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Go to Latest
import * as args from "https://deno.land/x/args@2.1.0/flag-errors.ts";

Classes

FlagError class for when two or more aliases of the same option being specified

c
FlagError
abstract

Base class of all FlagError

FlagError class for when required flags not being specified

FlagError class for when an option flag being specified without a value

FlagError class for when a flag being place where a value is expected

FlagError class for when unknown flags being detected in argument list

FlagError class for when an argument fails to convert to a value