Class: AmoebaDeployTools::App

Inherits:
Command
  • Object
show all
Defined in:
lib/amoeba_deploy_tools/commands/app.rb

Instance Method Summary collapse

Methods inherited from Command

#initialize

Methods included from Concerns::Hooks

included, #invoke_command

Constructor Details

This class inherits a constructor from AmoebaDeployTools::Command

Instance Method Details

#capfileObject



9
10
11
12
# File 'lib/amoeba_deploy_tools/commands/app.rb', line 9

def capfile
  app = node.application
  sudo(node.name, "cat ~#{app.name}/shared/config/Capfile")
end

#deployObject



4
5
6
# File 'lib/amoeba_deploy_tools/commands/app.rb', line 4

def deploy
  cap :deploy
end

#execObject



15
16
# File 'lib/amoeba_deploy_tools/commands/app.rb', line 15

def exec
end

#sshObject



19
20
# File 'lib/amoeba_deploy_tools/commands/app.rb', line 19

def ssh
end