Interface GenericCliCmd
public interface GenericCliCmd
Generic command.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.cli.Option[]Get the options that have to be processed for determining if this command should run.voidprocess(org.apache.commons.cli.CommandLine cmd) Process the parsed options and run the command if needed.
-
Method Details
-
getOptions
org.apache.commons.cli.Option[] getOptions()Get the options that have to be processed for determining if this command should run.- Returns:
- the array of options this command relies upon.
-
process
void process(org.apache.commons.cli.CommandLine cmd) Process the parsed options and run the command if needed.- Parameters:
cmd- the processed command line options.
-