Sha256: 333c00660199644eeed4209098009250834d7751c04c5bc3851eb0d8af026909
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 Bytes
Contents
#!/usr/bin/env ruby require "thor" require "eman" module Eman class CLI < Thor desc "controller", "name a controller" def controller generator = Eman::NameGenerator.new('Controller') generator.run end desc "service", "name a service" def service generator = Eman::NameGenerator.new('Service') generator.run end desc "model", "name a model" def model generator = Eman::NameGenerator.new('Model') generator.run end end end Eman::CLI.start(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eman-0.0.2 | bin/eman |