Sha256: e0ad281254dbc7e515068dd3c46c0dc9d596a5afaaed54138c2bfb028280a5bd

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

require "thor"
require "eman"

module Eman
  class CLI < Thor

    desc "controller", "name a controller"
    def controller
      generator = Eman::Generator.new('Controller')
      generator.run
    end

    desc "service", "name a service"
    def service
      generator = Eman::Generator.new('Service')
      generator.run
    end

    desc "model", "name a model"
    def model
      generator = Eman::Generator.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.3 bin/eman