Class: Rodbot::CLI::Commands::Deploy

Inherits:
Rodbot::CLI::Command show all
Defined in:
lib/rodbot/cli/commands/deploy.rb

Instance Method Summary collapse

Methods inherited from Rodbot::CLI::Command

#call

Instance Method Details

#rescued_call(hosting:, split:) ⇒ Object



11
12
13
14
15
16
# File 'lib/rodbot/cli/commands/deploy.rb', line 11

def rescued_call(hosting:, split:, **)
  dir = [hosting, ('split' if split)].compact.join('-')
  Rodbot::Generator
    .new(Rodbot.env.gem.join('lib', 'templates', 'deploy', dir))
    .display
end