public interface Arguments
Modifier and Type | Field and Description |
---|---|
static String |
DB_URL_ARGUMENT |
static String |
HOST_ID_ARGUMENT
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getArgument(String name) |
List<String> |
getNonOptionArguments() |
String |
getSubcommand()
Get the selected subcommand
Subcommands are taken to be the first of any non-option arguments passed to a Command.
|
boolean |
hasArgument(String name) |
@Deprecated static final String HOST_ID_ARGUMENT
static final String DB_URL_ARGUMENT
boolean hasArgument(String name)
String getSubcommand() throws SubcommandExpectedException, InvalidSubcommandException
SubcommandExpectedException
- if no subcommand was suppliedInvalidSubcommandException
- if an unrecognized subcommand was suppliedCopyright © 2017. All rights reserved.