Uses of Interface
io.vertx.core.cli.CLI
-
Packages that use CLI Package Description io.vertx.core.cli io.vertx.core.cli.annotations io.vertx.core.spi.launcher io.vertx.ext.shell.command io.vertx.ext.shell.command.base -
-
Uses of CLI in io.vertx.core.cli
Methods in io.vertx.core.cli that return CLI Modifier and Type Method Description CLICLI. addArgument(Argument arg)Adds an argument.CLICLI. addArguments(List<Argument> args)Adds a set of arguments.CLICLI. addOption(Option option)Adds an option.CLICLI. addOptions(List<Option> options)Adds a set of options.CLICommandLine. cli()static CLICLI. create(Class<?> clazz)Creates an instance ofCLIfrom the given Java class.static CLICLI. create(String name)Creates an instance ofCLIusing the default implementation.CLICLI. removeArgument(int index)Removes an argument identified by its index.CLICLI. removeOption(String name)Removes an option identified by its name.CLICLI. setArguments(List<Argument> args)Sets the list of arguments.CLICLI. setDescription(String desc)CLICLI. setHidden(boolean hidden)Sets whether or not the current instance ofCLImust be hidden.CLICLI. setName(String name)Sets the name of the CLI.CLICLI. setOptions(List<Option> options)Sets the list of arguments.CLICLI. setPriority(int priority)Sets the priority of the CLI.CLICLI. setSummary(String summary)Sets the summary of the CLI.CLICLI. usage(StringBuilder builder)Generates the usage / help of the currentCLI.CLICLI. usage(StringBuilder builder, String prefix)Generates the usage / help of the currentCLI.Methods in io.vertx.core.cli with parameters of type CLI Modifier and Type Method Description voidUsageMessageFormatter. computeUsageLine(StringBuilder buffer, String prefix, CLI cli)static CommandLineCommandLine. create(CLI cli)Creates a command line object from theCLI.voidUsageMessageFormatter. usage(StringBuilder builder, CLI cli)Computes the usage of the givenCLI.voidUsageMessageFormatter. usage(StringBuilder builder, String prefix, CLI cli)Computes the usage of the givenCLI.Method parameters in io.vertx.core.cli with type arguments of type CLI Modifier and Type Method Description protected StringBuilderUsageMessageFormatter. renderCommands(StringBuilder sb, Collection<CLI> commands) -
Uses of CLI in io.vertx.core.cli.annotations
Methods in io.vertx.core.cli.annotations that return CLI Modifier and Type Method Description static CLICLIConfigurator. define(Class<?> clazz)Creates an instance of the given class, and extracts the metadata from the given class. -
Uses of CLI in io.vertx.core.spi.launcher
Methods in io.vertx.core.spi.launcher that return CLI Modifier and Type Method Description CLIExecutionContext. cli()CLICommandFactory. define()Creates a newCLIinstance.CLIDefaultCommandFactory. define() -
Uses of CLI in io.vertx.ext.shell.command
Methods in io.vertx.ext.shell.command that return CLI Modifier and Type Method Description CLIAnnotatedCommand. cli()default CLICommand. cli()Methods in io.vertx.ext.shell.command with parameters of type CLI Modifier and Type Method Description static CommandBuilderCommandBuilder. command(CLI cli)Create a new commmand with itsCLIdescriptor. -
Uses of CLI in io.vertx.ext.shell.command.base
Methods in io.vertx.ext.shell.command.base that return CLI Modifier and Type Method Description CLIEcho. cli()
-