Class: Vivlio::Starter::CLI::SamovarCommands::DoctorCommand
- Inherits:
-
Samovar::Command
- Object
- Samovar::Command
- Vivlio::Starter::CLI::SamovarCommands::DoctorCommand
- Defined in:
- lib/vivlio/starter/cli/samovar/doctor_command.rb
Overview
doctor コマンドの Samovar 実装
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/vivlio/starter/cli/samovar/doctor_command.rb', line 39 def call return print_usage if [:help] DoctorCommands.execute_doctor() 0 rescue SystemExit => e raise e rescue StandardError => e Vivlio::Starter::CLI::Common.log_error("doctor コマンド実行中にエラー: #{e.}") 1 end |