Sha256: 79819730ed4ab284fb5dadca7fcb1a172f1c8cbb7e81f418773cf7e4cc6fa947
Contents?: true
Size: 357 Bytes
Versions: 18
Compression:
Stored size: 357 Bytes
Contents
#!/usr/bin/env ruby require "rubygems" require "feedbag" def usage %Q{ #{$0} <url 1> [<url 2> <url 3> ... <url n>] } end if ARGV.empty? puts usage exit 1 end ARGV.each do |url| puts "== #{url}:" feeds = Feedbag.find url if feeds.empty? puts " no feeds found!" else feeds.each do |f| puts " - #{f}" end end end
Version data entries
18 entries across 18 versions & 3 rubygems