public CommandLine parse(CLI cli, List<String> cla, boolean validate) throws CLIException { commandLine = (DefaultCommandLine) CommandLine.create(cli); current = null; skipParsing = false;
public CommandLine parse(CLI cli, List<String> cla, boolean validate) throws CLIException { commandLine = (DefaultCommandLine) CommandLine.create(cli); current = null; skipParsing = false;
/** * Creates a command line object from the {@link io.vertx.rxjava.core.cli.CLI}. This object is intended to be used by * the parser to set the argument and option values. * @param cli the CLI definition * @return the command line object */ public static io.vertx.rxjava.core.cli.CommandLine create(io.vertx.rxjava.core.cli.CLI cli) { io.vertx.rxjava.core.cli.CommandLine ret = io.vertx.rxjava.core.cli.CommandLine.newInstance(io.vertx.core.cli.CommandLine.create(cli.getDelegate())); return ret; }
/** * Creates a command line object from the {@link io.vertx.rxjava.core.cli.CLI}. This object is intended to be used by * the parser to set the argument and option values. * @param cli the CLI definition * @return the command line object */ public static io.vertx.rxjava.core.cli.CommandLine create(io.vertx.rxjava.core.cli.CLI cli) { io.vertx.rxjava.core.cli.CommandLine ret = io.vertx.rxjava.core.cli.CommandLine.newInstance(io.vertx.core.cli.CommandLine.create(cli.getDelegate())); return ret; }