Class VersionCommand
java.lang.Object
org.springframework.boot.cli.command.AbstractCommand
org.springframework.boot.cli.command.core.VersionCommand
- All Implemented Interfaces:
Command
Command
to display the 'version' number.- Since:
- 1.0.0
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.boot.cli.command.AbstractCommand
getDescription, getExamples, getHelp, getName, getOptionsHelp, getUsageHelp
-
Constructor Details
-
VersionCommand
public VersionCommand()
-
-
Method Details
-
run
Description copied from interface:Command
Run the command.- Parameters:
args
- command arguments (this will not include the command itself)- Returns:
- the outcome of the command
-