Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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://deno.land/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"]