Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/wmill/deps.ts>Command#arguments

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
Go to Latest
method Command.prototype.arguments
Re-export
import { Command } from "https://deno.land/x/wmill@v1.345.2/deps.ts";

Set command arguments.

Syntax: <requiredArg:string> [optionalArg: number] [...restArgs:string]

Type Parameters

TArguments extends TypedArguments<TArgs, Merge<TParentCommandTypes, Merge<TCommandGlobalTypes, TCommandTypes>>>
optional
TArgs extends string = string

Returns

Command<TParentCommandGlobals, TParentCommandTypes, TCommandOptions, TArguments, TCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommand>