import { default } from "https://deno.land/x/denomander@0.9.3/src/CustomOption.ts";
Class that only handles the custom option form the user (it is not used but it reasign the proper Option object)
Constructors
new
default(params: CommandOption)Constructor of Command object
Methods
callback(callback: Function): CustomOption
choices(choices: Array<any>): CustomOption
default(defaultValue: any): CustomOption
Set the default value if not setted in constructor
description(description: string): CustomOption
flags(flags: string): CustomOption
isRequired(isRequired: boolean): CustomOption