Class: Heploy::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/heploy/cli.rb

Instance Method Summary collapse

Instance Method Details

#productionObject



16
17
18
19
# File 'lib/heploy/cli.rb', line 16

def production
  config = Heploy::Configuration.find
  Heploy::Command::Deploy.production config, options['verbose']
end

#stagingObject



10
11
12
13
# File 'lib/heploy/cli.rb', line 10

def staging
  config = Heploy::Configuration.find
  Heploy::Command::Deploy.staging config, options['verbose']
end