Class: Vivlio::Starter::CLI::SamovarCommands::CreateCommand

Inherits:
Samovar::Command
  • Object
show all
Defined in:
lib/vivlio/starter/cli/samovar/create_command.rb

Overview

create コマンド(Publicコマンド)

Instance Method Summary collapse

Instance Method Details

#callObject



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 options[:help]

  CreateCommands.execute_create(build_options, names)
  0
rescue SystemExit => e
  raise e
rescue StandardError => e
  Common.log_error("create コマンド実行中にエラー: #{e.message}")
  1
end