class Kitchen::Command::Exec
Execute command on remote instance.
@author SAWANOBORI Yukihiko (<sawanoboriyu@higanworks.com>)
Public Instance Methods
call()
click to toggle source
Invoke the command.
# File lib/kitchen/command/exec.rb, line 27 def call results = parse_subcommand(args.first) results.each do |instance| banner "Execute command on #{instance.name}." instance.remote_exec(options[:command]) end end