public class CommandLine
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
GENERATE_COMMAND |
protected static java.lang.String |
OPEN_COMMAND |
protected static java.lang.String |
PLUGIN_COMMAND |
protected static java.lang.String |
PROGRAM_NAME |
protected static java.lang.String |
SERVE_COMMAND |
| Constructor and Description |
|---|
CommandLine(Commands commands) |
CommandLine(java.nio.file.Path allureHome) |
| Modifier and Type | Method and Description |
|---|---|
com.beust.jcommander.JCommander |
getCommander() |
MainCommand |
getMainCommand() |
static void |
main(java.lang.String[] args) |
java.util.Optional<ExitCode> |
parse(java.lang.String... args) |
ExitCode |
run() |
protected static final java.lang.String PROGRAM_NAME
protected static final java.lang.String SERVE_COMMAND
protected static final java.lang.String GENERATE_COMMAND
protected static final java.lang.String OPEN_COMMAND
protected static final java.lang.String PLUGIN_COMMAND
public CommandLine(java.nio.file.Path allureHome)
public CommandLine(Commands commands)
public static void main(java.lang.String[] args)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic java.util.Optional<ExitCode> parse(java.lang.String... args)
public ExitCode run()
public com.beust.jcommander.JCommander getCommander()
public MainCommand getMainCommand()