Module

x/yargs/build/lib/command.d.ts>CommandInstance#addHandler

yargs the modern, pirate-themed successor to optimist.
Go to Latest
method CommandInstance.prototype.addHandler
import { CommandInstance } from "https://dotland.deno.dev/x/yargs@v17.7.1-deno/build/lib/command.d.ts";

Parameters

optional
description: CommandHandler["description"]
optional
handler: CommandHandlerCallback
optional
commandMiddleware: Middleware[]
optional
deprecated: boolean