class Kitchen::Command::Package

Execute command on remote instance.

Public Instance Methods

call() click to toggle source

Invoke the command.

# File lib/kitchen/command/package.rb, line 23
def call
  results = parse_subcommand(args.first)
  results.each do |instance|
    banner "Package on #{instance.name}."
    instance.package_action
  end
end