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