Class: CommandResolver

vertx-shell-js/command_resolver~ CommandResolver

new CommandResolver()

A resolver for commands, so the shell can discover commands.
Source:

Methods

commands() → {Array.<Command>}

Source:
Returns:
the current commands
Type
Array.<Command>

getCommand(name) → {Command}

Returns a single command by its name.
Parameters:
Name Type Description
name string the command name
Source:
Returns:
the commad or null
Type
Command