lib/chef/knife/download_essentials.rb in knife-essentials-1.1.1 vs lib/chef/knife/download_essentials.rb in knife-essentials-1.2
- old
+ new
@@ -1,15 +1,16 @@
require 'chef_fs/knife'
-require 'chef_fs/command_line'
class Chef
class Knife
remove_const(:Download) if const_defined?(:Download) && Download.name == 'Chef::Knife::Download' # override Chef's version
class Download < ::ChefFS::Knife
ChefFS = ::ChefFS
banner "knife download PATTERNS"
- common_options
+ deps do
+ require 'chef_fs/command_line'
+ end
option :recurse,
:long => '--[no-]recurse',
:boolean => true,
:default => true,