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

x/feomasto/priv/deps.ts>command.Command#arguments

Sync posts from Mastodon into FeoBlog
Latest
method command.Command.prototype.arguments
Re-export
import { command } from "https://deno.land/x/feomasto@v1.0.1/priv/deps.ts";
const { Command } = command;

Set command arguments:

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>