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
import { type Args } from "https://deno.land/std@0.200.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
definition: Id<TArgs & { _: Array<string | number>; } & (boolean extends TDoubleDash ? DoubleDash : true extends TDoubleDash ? Required<DoubleDash> : Record<never, never>)>