Class: Chef::Application::Knife

Inherits:
Chef::Application show all
Defined in:
lib/chef/application/knife.rb

Instance Method Summary collapse

Methods inherited from Chef::Application

#configure_chef, #configure_logging, exit!, fatal!, #initialize, #reconfigure, #run_application, #setup_application

Constructor Details

This class inherits a constructor from Chef::Application

Instance Method Details

#runObject

Run knife



101
102
103
104
105
# File 'lib/chef/application/knife.rb', line 101

def run
  validate_and_parse_options
  knife = Chef::Knife.find_command(ARGV, self.class.options)
  knife.run
end