Yurba.js / @yurbajs/types / CommandOption
Interface: CommandOption
Represents a single option for a command.
Example
ts
{
* name: "verbose",
* type: "boolean",
* required: false,
* description: "Enable verbose output",
* default: false
* }Properties
default?
optionaldefault:any
description
description:
string
name
name:
string
required
required:
boolean
rest?
optionalrest:boolean
type
type:
OptionType