Skip to main content
Module

x/args/index.ts>commands.FlaggedCommandReturn

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Latest
type alias commands.FlaggedCommandReturn
import { type commands } from "https://deno.land/x/args@2.1.1/index.ts";
const { FlaggedCommandReturn } = commands;

Type of value of FlaggedCommand

Type Parameters

MainVal

Type of main dictionary

NextKey extends string

Type of flag name

NextVal

Type of flag value

definition: CommandReturn.Main<MainVal & Record<NextKey, NextVal>>