class ChefCLI::ShellOut

A subclass of Mixlib::ShellOut that conforms to the API expected by CookbookOmnifetch

Public Class Methods

shell_out(*command_args) click to toggle source
# File lib/chef-cli/shell_out.rb, line 27
def self.shell_out(*command_args)
  cmd = new(*command_args)
  cmd.run_command
  cmd
end

Public Instance Methods

success?() click to toggle source
# File lib/chef-cli/shell_out.rb, line 33
def success?
  !error?
end