Sha256: d7c1a73a902bb1bc82fc39c808378c9f175fa2db06a6db453e3dcd5f684cf569
Contents?: true
Size: 384 Bytes
Versions: 10
Compression:
Stored size: 384 Bytes
Contents
desc 'Clears out the local repository of retrieved files' command :'clean' do |c| c.default_value 'resources' c.arg_name 'dir' c.flag [:resources_dir] c.action do |global_options, options, args| puts "Reading state information... Done" resources_dir = File.join(File.dirname(global_options[:config]), options[:resources_dir]) remove_dir(resources_dir) end end
Version data entries
10 entries across 10 versions & 1 rubygems