# File lib/chef/knife/download.rb, line 36 def run if name_args.length == 0 show_usage ui.fatal("Must specify at least one argument. If you want to download everything in this directory, type \"knife download .\"") exit 1 end pattern_args.each do |pattern| Chef::ChefFS::FileSystem.copy_to(pattern, chef_fs, local_fs, config[:recurse] ? nil : 1, config) end end
Generated with the Darkfish Rdoc Generator 2.