Skip to main content
Module

x/mod/deps.ts>Command#arguments

Simple Command Line Interface to create Deno module entrypoints, CI, config and more.
Latest
method Command.prototype.arguments
Re-export
import { Command } from "https://deno.land/x/mod@v2.3.9/deps.ts";

Set command arguments:

requiredArg:string [optionalArg: number] [...restArgs:string]

Type Parameters

optional
A extends Array<unknown> = CA

Parameters

args: string

Returns

Command<CO, MapArgumentTypes<A>, CG, PG, P>