Class: Sambot::Commands::Packer

Inherits:
Thor
  • Object
show all
Defined in:
lib/sambot/commands/packer.rb

Constant Summary collapse

ApplicationError =
Sambot::Domain::Common::ApplicationError
Runtime =
Sambot::Domain::Common::Runtime

Instance Method Summary collapse

Instance Method Details

#prepareObject



12
13
14
15
16
17
# File 'lib/sambot/commands/packer.rb', line 12

def prepare
  Runtime.ensure_latest
  Domain::Packer.prepare
rescue ApplicationError => e
  error(e.message)
end