Class: GitHealthCheck::Cli::VersionCommand
- Inherits:
-
GitHealthCheckCommand
- Object
- GitHealthCheckCommand
- GitHealthCheck::Cli::VersionCommand
- Defined in:
- lib/git-health-check/cli/version_command.rb
Instance Method Summary collapse
Methods inherited from GitHealthCheckCommand
Constructor Details
This class inherits a constructor from GitHealthCheck::Cli::GitHealthCheckCommand
Instance Method Details
#execute(view) ⇒ Object
6 7 8 9 |
# File 'lib/git-health-check/cli/version_command.rb', line 6 def execute(view) view.output("Git-Health-Check Version: #{GitHealthCheck::VERSION}\n") view.report_success end |