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

x/opinecli/deps.ts>Command#arguments

Opine's application generator
Latest
method Command.prototype.arguments
Re-export
import { Command } from "https://deno.land/x/opinecli@2.0.0/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>