Module

x/yargs/build/lib/command.d.ts>CommandHandlerDefinition

yargs the modern, pirate-themed successor to optimist.
Latest
interface CommandHandlerDefinition
implements Partial<Pick<CommandHandler,
| "deprecated"
| "description"
| "handler"
| "middlewares"
>>
import { type CommandHandlerDefinition } from "https://dotland.deno.dev/x/yargs@v17.7.2-deno/build/lib/command.d.ts";

Properties

optional
aliases: string[]
optional
command: string | string[]
optional
desc: CommandHandler["description"]
optional
describe: CommandHandler["description"]