Class: Vivlio::Starter::CLI::SamovarCommands::RenameCommand
- Inherits:
-
Samovar::Command
- Object
- Samovar::Command
- Vivlio::Starter::CLI::SamovarCommands::RenameCommand
- Defined in:
- lib/vivlio/starter/cli/samovar/rename_command.rb
Overview
rename コマンドの Samovar 実装
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/vivlio/starter/cli/samovar/rename_command.rb', line 41 def call return print_usage if [:help] ensure_argument_count! executor.call(*arguments.first(2)) 0 rescue SystemExit => e raise e rescue StandardError => e Vivlio::Starter::CLI::Common.log_error("rename コマンド実行中にエラー: #{e.}") 1 end |