Class Version
java.lang.Object
be.kuleuven.cs.distrinet.sparta.cli.cmd.Version
- All Implemented Interfaces:
GenericCliCmd
Show Sparta Cli version cmd.
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
getOptions
public org.apache.commons.cli.Option[] getOptions()Description copied from interface:GenericCliCmdGet the options that have to be processed for determining if this command should run.- Specified by:
getOptionsin interfaceGenericCliCmd- Returns:
- the array of options this command relies upon.
-
process
public void process(org.apache.commons.cli.CommandLine cmd) Description copied from interface:GenericCliCmdProcess the parsed options and run the command if needed.- Specified by:
processin interfaceGenericCliCmd- Parameters:
cmd- the processed command line options.
-