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

x/habitra/deps.ts>Command#arguments

Command line tool for HabiTra
Latest
method Command.prototype.arguments
Re-export
import { Command } from "https://deno.land/x/habitra@v0.3.0/deps.ts";

Set command arguments:

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

Type Parameters

A extends TypedArguments<N, Merge<CPT, Merge<CGT, CT>>>
optional
N extends string = string

Returns

Command<CPG, CPT, CO, A, CG, CT, CGT, CP>