apiref
tkt@2.0.2
ICli
Interface
A command-line interface created by the
cli()
function.
Signature
export
interface
ICli
<
GlobalOptions
>
Methods
Method
Description
command
(command, description, options, handler)
Register a command.
parse
()
Parses the command-line arguments and invoke the registered command handler.