Sha256: 2b343fabb780843ad5191bdbfd58ab9e03201d8789f597514c0894745674195b
Contents?: true
Size: 513 Bytes
Versions: 2
Compression:
Stored size: 513 Bytes
Contents
#!/usr/bin/ruby $LOAD_PATH.unshift File.expand_path("lib") $LOAD_PATH.unshift File.expand_path("../lib") $LOAD_PATH.unshift File.expand_path("../lib", __FILE__) require "meme_generator/cli" image, top, bottom = ARGV[0..2] help = ARGV.include?("--help") || ARGV.include?("-h") list = ARGV.include?("--list") || ARGV.include?("-l") campfire = ARGV.include?("--campfire") || ARGV.include?("-c") usage if help || ARGV.empty? list_generators if list path = parse_path(image) generate(path, top, bottom, campfire)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
memegen-1.0.2 | bin/memegen |
memegen-1.0.1 | bin/memegen |