Class VersionCommand

java.lang.Object
org.springframework.boot.cli.command.AbstractCommand
org.springframework.boot.cli.command.core.VersionCommand
All Implemented Interfaces:
Command

public class VersionCommand extends AbstractCommand
Command to display the 'version' number.
Since:
1.0.0
Author:
Phillip Webb
  • Constructor Details

    • VersionCommand

      public VersionCommand()
  • Method Details

    • run

      public ExitStatus run(String... args)
      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