Yurba.js Documentation
    Preparing search index...

    Interface CommandOption

    Represents a single option for a command.

    {
    * name: "verbose",
    * type: "boolean",
    * required: false,
    * description: "Enable verbose output",
    * default: false
    * }
    interface CommandOption {
        default?: any;
        description: string;
        name: string;
        required: boolean;
        rest?: boolean;
        type: OptionType;
    }
    Index

    Properties

    default?: any
    description: string
    name: string
    required: boolean
    rest?: boolean