summaryrefslogtreecommitdiff
path: root/lib/chef/knife/null.rb
diff options
context:
space:
mode:
authorSteven Danna <steve@chef.io>2015-02-10 10:10:30 +0000
committerSteven Danna <steve@chef.io>2015-08-25 17:30:22 +0100
commit41d55bb75799021a3c42f547860586ee21cb2804 (patch)
tree451abb4901774daf36aeb713ab55d632dc27dffd /lib/chef/knife/null.rb
parentf4fa7f0bca0b559811867633d7762986a4dd4811 (diff)
downloadchef-41d55bb75799021a3c42f547860586ee21cb2804.tar.gz
Add knife-rehash command for subcommand location hashing
`knife rehash` stores the paths to knife plugins in a specially formatted plugin_manifest entry. This lowers the overhead of subsequent knife invocations.
Diffstat (limited to 'lib/chef/knife/null.rb')
-rw-r--r--lib/chef/knife/null.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/chef/knife/null.rb b/lib/chef/knife/null.rb
new file mode 100644
index 0000000000..c8f04e5cd3
--- /dev/null
+++ b/lib/chef/knife/null.rb
@@ -0,0 +1,8 @@
+class Chef
+ class Knife
+ class Null < Chef::Knife
+ def run
+ end
+ end
+ end
+end