Class | Chef::Knife::SubcommandLoader |
In: |
lib/chef/knife/core/subcommand_loader.rb
|
Parent: | Object |
CHEF_FILE_IN_GEM | = | /chef-[\d]+\.[\d]+\.[\d]+/ |
CURRENT_CHEF_GEM | = | /chef-#{Regexp.escape(Chef::VERSION)}/ |
chef_config_dir | [R] | |
env | [R] |
Returns a Hash of paths to knife commands built-in to chef, or installed via gem. If rubygems is not installed, falls back to globbing the knife directory. The Hash is of the form {"relative/path" => "/absolute/path"}