Class: Vivlio::Starter::CLI::SamovarCommands::CreateCommand
- Inherits:
-
Samovar::Command
- Object
- Samovar::Command
- Vivlio::Starter::CLI::SamovarCommands::CreateCommand
- Defined in:
- lib/vivlio/starter/cli/samovar/create_command.rb
Overview
create コマンド(Publicコマンド)
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/vivlio/starter/cli/samovar/create_command.rb', line 36 def call return print_usage if [:help] CreateCommands.execute_create(, names) 0 rescue SystemExit => e raise e rescue StandardError => e Common.log_error("create コマンド実行中にエラー: #{e.}") 1 end |