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

std/flags/mod.ts>Args

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias Args
Deprecated
Deprecated

(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.218.2/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>)>