Class | Capistrano::Command |
In: |
lib/capistrano/command.rb
|
Parent: | Object |
This class encapsulates a single command to be executed on a set of remote machines, in parallel.
options | [R] | |
sessions | [R] | |
tree | [R] |
Instantiates a new command object. The command must be a string containing the command to execute. sessions is an array of Net::SSH session instances, and options must be a hash containing any of the following keys:
Processes the command in parallel on all specified hosts. If the command fails (non-zero return code) on any of the hosts, this will raise a Capistrano::CommandError.