Skip to main content
Module

std/flags/mod.ts>Args

The Deno Standard Library
Latest
type alias Args
Deprecated
Deprecated

This will be removed in 1.0.0. Import from https://deno.land/std/cli/parse_args.ts instead.

import { type Args } from "https://deno.land/std@0.224.0/flags/mod.ts";

The value returned from parse.

Type Parameters

optional
TArgs extends Record<string, unknown> = Record<string, any>
optional
TDoubleDash extends boolean | undefined = undefined
deprecated
definition: Id<TArgs & { _: Array<string | number>; } & (boolean extends TDoubleDash ? DoubleDash : true extends TDoubleDash ? Required<DoubleDash> : Record<never, never>)>