vertx / io.vertx.rxjava.ext.shell.command / CommandRegistry / registerCommand

registerCommand

open fun registerCommand(command: Command): CommandRegistry

Like io.vertx.rxjava.ext.shell.command.CommandRegistry#registerCommand, without a completion handler.

Parameters

command -

Return

open fun registerCommand(command: Command, completionHandler: Handler<AsyncResult<Command>>): CommandRegistry

Register a command

Parameters

command - the command to register

completionHandler - notified when the command is registered

Return
a reference to this, so the API can be used fluently