vertx / io.vertx.kotlin.ext.shell.command / io.vertx.ext.shell.command.CommandRegistry

Extensions for io.vertx.ext.shell.command.CommandRegistry

registerCommandAwait

suspend fun CommandRegistry.registerCommandAwait(command: Command): Command

Register a command

registerCommandsAwait

suspend fun CommandRegistry.registerCommandsAwait(commands: List<Command>): List<Command>

Register a list of commands.

unregisterCommandAwait

suspend fun CommandRegistry.unregisterCommandAwait(commandName: String): Unit

Unregister a command.