vertx / io.vertx.ext.shell.command / Command / create

create

open static fun create(vertx: Vertx, clazz: Class<out AnnotatedCommand>): Command

Create a command from a Java class, annotated with Vert.x Core CLI annotations.

Parameters

vertx - the vertx instance

clazz - the class of the command

Return
the command object