Package | Description |
---|---|
io.vertx.reactivex.core.cli | |
io.vertx.reactivex.ext.shell.command |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<CLI> |
CLI.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
CLI |
CLI.addArgument(Argument arg)
Adds an argument.
|
CLI |
CLI.addArguments(List<Argument> args)
Adds a set of arguments.
|
CLI |
CLI.addOption(Option option)
Adds an option.
|
CLI |
CLI.addOptions(List<Option> options)
Adds a set of options.
|
CLI |
CommandLine.cli() |
static CLI |
CLI.create(String name)
Creates an instance of
CLI using the default implementation. |
static CLI |
CLI.newInstance(CLI arg) |
CLI |
CLI.removeArgument(int index)
Removes an argument identified by its index.
|
CLI |
CLI.removeOption(String name)
Removes an option identified by its name.
|
CLI |
CLI.setArguments(List<Argument> args)
Sets the list of arguments.
|
CLI |
CLI.setDescription(String desc) |
CLI |
CLI.setHidden(boolean hidden)
Sets whether or not the current instance of
CLI must be hidden. |
CLI |
CLI.setName(String name)
Sets the name of the CLI.
|
CLI |
CLI.setOptions(List<Option> options)
Sets the list of arguments.
|
CLI |
CLI.setPriority(int priority)
Sets the priority of the CLI.
|
CLI |
CLI.setSummary(String summary)
Sets the summary of the CLI.
|
Modifier and Type | Method and Description |
---|---|
static CommandLine |
CommandLine.create(CLI cli)
Creates a command line object from the
CLI . |
Modifier and Type | Method and Description |
---|---|
CLI |
Command.cli() |
Modifier and Type | Method and Description |
---|---|
static CommandBuilder |
CommandBuilder.command(CLI cli)
Create a new commmand with its
CLI descriptor. |
Copyright © 2021 Eclipse. All rights reserved.