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

x/yargs_parser/lib/yargs-parser-types.ts>DetailedArguments

💪 the mighty option parser used by yargs
Very Popular
Latest
interface DetailedArguments
import { type DetailedArguments } from "https://deno.land/x/yargs_parser@yargs-parser-v21.1.1-deno/lib/yargs-parser-types.ts";

Properties

argv: Arguments

An object representing the parsed value of args

error: Error | null

Populated with an error object if an exception occurred during parsing.

aliases: Dictionary<string[]>

The inferred list of aliases built by combining lists in opts.alias.

newAliases: Dictionary<boolean>

Any new aliases added via camel-case expansion.

defaulted: Dictionary<boolean>

Any new argument created by opts.default, no aliases included.

configuration: Configuration

The configuration loaded from the yargs stanza in package.json.