List of usage examples for io.vertx.core.cli.annotations CLIConfigurator inject
public static void inject(CommandLine cli, Object object) throws CLIException
From source file:examples.cli.TypedCLIExamples.java
License:Open Source License
public void example4(List<String> userCommandLineArguments) { CLI cli = CLI.create(AnnotatedCli.class); CommandLine commandLine = cli.parse(userCommandLineArguments); AnnotatedCli instance = new AnnotatedCli(); CLIConfigurator.inject(commandLine, instance); }