Class: CommandRegistration

vertx-shell-js/command_registration~ CommandRegistration

new CommandRegistration()

Source:

Methods

command() → {Command}

Source:
Returns:
  • the registered command.
  • Type
    Command

complete(completion)

Complete the command for the given completion.
Parameters:
Name Type Description
completion Completion the completion
Source:

createProcess(args) → {Process}

Create a new process with the passed arguments.
Parameters:
Name Type Description
args Array.<CliToken> the process arguments
Source:
Returns:
the process
Type
Process