lib/prss/cli.rb in prss-0.1.0 vs lib/prss/cli.rb in prss-0.1.1
- old
+ new
@@ -16,12 +16,12 @@
desc 'download PASSKEY OUTPUT', 'fetch feed once and quit'
def download(passkey, output)
Downloader.verify!(output)
feed = Feed.new(passkey)
- downloaded = feed.download_to(output_dir)
+ downloaded = feed.download_to(output)
- puts "Downloaded #{downloaded.count} files to #{output_dir}."
+ puts "Downloaded #{downloaded.count} files to #{output}."
puts "Files:", *downloaded unless downloaded.empty?
end
end
end