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

registerCommands

open fun registerCommands(commands: MutableList<Command>): CommandRegistry

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

Parameters

commands -

Return

open fun registerCommands(commands: MutableList<Command>, completionHandler: Handler<AsyncResult<MutableList<Command>>>): CommandRegistry

Register a list of commands.

Parameters

commands - the commands to register

completionHandler - notified when the command is registered

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