ruby/tool/get-config_files

13 строки
259 B
Ruby
Executable File

#!/usr/bin/ruby
require File.expand_path('../config_files', __FILE__)
ARGV.each {|n|
STDOUT.print "Downloading #{n}..."; STDOUT.flush
begin
ConfigFiles.download(n)
STDOUT.puts
rescue => e
STDOUT.puts
abort("#{$0}: #{e.message}")
end
}