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



113
114
115
116
117
# File 'lib/chef/application/knife.rb', line 113

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