The completion object
| Constructor and description |
|---|
Completion
(Object delegate) |
| Type | Name and description |
|---|---|
void |
complete(List<String> candidates)End the completion with a list of candidates, these candidates will be displayed by the shell on the console. |
void |
complete(String value, boolean terminal)End the completion with a value that will be inserted to complete the line. |
Object |
getDelegate() |
List<CliToken> |
lineTokens()@return
|
String |
rawLine()@return
|
Session |
session()
|
Vertx |
vertx()@return
|
End the completion with a list of candidates, these candidates will be displayed by the shell on the console.
candidates - the candidatesEnd the completion with a value that will be inserted to complete the line.
value - the value to complete withterminal - true if the value is terminal, i.e can be further completed
io.vertx:vertx-shell:3.1.0