Sha256: c1771b9c15564e6e00b9065166249d6a10f81aa8945b4429459504d71b6e7681
Contents?: true
Size: 384 Bytes
Versions: 6
Compression:
Stored size: 384 Bytes
Contents
module Eyeballs class CLI < Thor desc "eyeballs generate [generator] [name]", "call a generator" def generate(requested_generator, name, *args) ARGV.delete('generate') if(ARGV.include?(requested_generator)) ARGV.delete(requested_generator) "Eyeballs::#{requested_generator.capitalize}Generator".constantize.start end end end end
Version data entries
6 entries across 6 versions & 1 rubygems