Class: VivlioStarter::CLI::SamovarCommands::DoctorCommand
- Inherits:
-
VsCommand
- Object
- Samovar::Command
- VsCommand
- VivlioStarter::CLI::SamovarCommands::DoctorCommand
- Defined in:
- lib/vivlio_starter/cli/samovar/doctor_command.rb
Overview
doctor コマンドの Samovar 実装
Constant Summary
Constants included from OptionTokenNormalizer
OptionTokenNormalizer::BARE_VALUE_DEFAULTS
Instance Method Summary collapse
Methods included from OptionTokenNormalizer
Instance Method Details
#call ⇒ Object
41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/vivlio_starter/cli/samovar/doctor_command.rb', line 41 def call return print_usage if [:help] # 診断の戻り値(Boolean)は従来どおり終了コードへ反映しない DoctorCommands.execute_doctor() 0 rescue SystemExit => e raise e rescue StandardError => e VivlioStarter::CLI::Common.log_error("doctor コマンド実行中にエラー: #{e.}") 1 end |