import { Denomander } from "https://deno.land/x/denomander@0.9.3/docs.ts";
The main class
Properties
optional
lastCommand: CommandMethods
addOption(...options: Array<CustomOption>): Denomander
alias(...aliases: Array<string>): Denomander
argDescription(arg: string, description: string): Denomander
baseOption(value: string, description: string): Denomander
command(): Denomander
value: string,
description?: string,
action?: Function,
Implements the option command
defaultCommand(): Denomander
value: string,
description?: string,
action?: Function,
Implements the option command
description(description: string): Denomander
Implements the description of the previous mentioned command (by the user)
globalOption(value: string, description: string): Denomander
option(): Denomander
value: string,
description: string,
callback?: Function,
defaultValue?: any,
Implements the option command
print()
requiredOption(): Denomander
value: string,
description: string,
callback?: Function,
Implements the required option command
subCommand(): Denomander
value: string,
description?: string,
action?: Function,
Implements the option command