public interface Command
CommandBuilder.command(java.lang.String) or from a
 Java class using create(io.vertx.core.Vertx, java.lang.Class<? extends io.vertx.ext.shell.command.AnnotatedCommand>)| Modifier and Type | Method and Description | 
|---|---|
default CLI | 
cli()  | 
default void | 
complete(Completion completion)
Perform command completion, when the command is done completing it should call  
Completion.complete(List)
 or Completion.complete(String, boolean) )} method to signal completion is done. | 
static Command | 
create(Vertx vertx,
      Class<? extends AnnotatedCommand> clazz)
Create a command from a Java class, annotated with Vert.x Core CLI annotations. 
 | 
default Process | 
createProcess()
Create a new process with empty arguments. 
 | 
Process | 
createProcess(List<CliToken> args)
Create a new process with the passed arguments. 
 | 
default String | 
name()  | 
static Command create(Vertx vertx, Class<? extends AnnotatedCommand> clazz)
vertx - the vertx instanceclazz - the class of the commanddefault String name()
default CLI cli()
default Process createProcess()
Process createProcess(List<CliToken> args)
args - the process argumentsdefault void complete(Completion completion)
Completion.complete(List)
 or Completion.complete(String, boolean) )} method to signal completion is done.completion - the completion objectCopyright © 2022 Eclipse. All rights reserved.