Sha256: bd30c8716c7800c7ba9819f780aae95c166ad39f5042448a16828a5e15ecab84
Contents?: true
Size: 333 Bytes
Versions: 3
Compression:
Stored size: 333 Bytes
Contents
#! /usr/bin/env ruby $:.unshift(File.expand_path("../lib", File.dirname(__FILE__))) require 'ebooks' config = Ebooks.read_config_file if ARGV[0] == "generate" puts Ebooks.generate(config) elsif ARGV[0] == "tweet" Ebooks.tweet(config) else abort "Don't understand '#{ARGV[1]}'. Valid commands are: 'generate', 'tweet'." end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ebooks-0.2.1 | bin/ebooks |
ebooks-0.2.0 | bin/ebooks |
ebooks-0.1.0 | bin/ebooks |