import { Arguments } from "https://deno.land/x/allo_arguments@v6.0.0/src/Arguments.ts";
Constructors
new
Arguments(flagOptions: T)Methods
Gets converted flag values.
isHelpRequested(): boolean
Gets boolean value indicating whether the help flag is requested.
keepProcessAlive(message?)
If this method is called, the program will exit with the message and wait for the user to press any key.
setDescription(description: string)
deprecated
shouldHelp()Prints the help message and exits the process.
Static Methods
Creates options of help
flag.
isPrintableException(error: Error): boolean
Detect if the error is instance of PrintableException
class.
rethrowUnprintableException(error: Error)
Trows the error if it is not instance of PrintableException
class.