--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Invokes the given command. If a <tt>via</tt> key is given, it will be used to determine what method to use to invoke the command. It defaults to :run, but may be :sudo, or any other method that conforms to the same interface as run and sudo.
full_name: Capistrano::Configuration::Actions::Invocation#invoke_command
is_singleton: false
name: invoke_command
params: (cmd, options={}, &block)
visibility: public
