Class: Bundler::Alive::CLI
- Inherits:
-
Thor
- Object
- Thor
- Bundler::Alive::CLI
- Defined in:
- lib/bundler/alive/cli.rb,
lib/bundler/alive/reportable.rb
Overview
The bundler-alive
command.
Defined Under Namespace
Modules: Reportable
Instance Method Summary collapse
Instance Method Details
#check(_dir = Dir.pwd) ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/bundler/alive/cli.rb', line 25 def check(_dir = Dir.pwd) extend Reportable report = check_by_doctor print_report(report) exit_status = report.result.all_alive? ? 0 : 1 exit exit_status end |
#version ⇒ Object
35 36 37 |
# File 'lib/bundler/alive/cli.rb', line 35 def version puts "bundler-alive #{VERSION}" end |