Sha256: 9ac01928ebdd17c78c6539f6cdbdc743a1e13d75d13ed1b5543c21deed26471f

Contents?: true

Size: 834 Bytes

Versions: 2

Compression:

Stored size: 834 Bytes

Contents

require 'eucalypt/generate/namespaces/generate-controller/cli/generate-controller'
require 'eucalypt/generate/namespaces/generate-helper/cli/generate-helper'
require 'eucalypt/generate/namespaces/generate-model/cli/generate-model'
require_relative 'generate-scaffold'
require 'eucalypt/helpers'

module Eucalypt
  class Generate < Thor
    include Eucalypt::Helpers
    using Colorize
    class << self
      require 'eucalypt/list'
      include Eucalypt::List
      def banner(task, namespace = false, subcommand = true)
        basename + ' ' + task.formatted_usage(self, true, subcommand).split(':').join(' ')
      end
    end
  end
  class CLI < Thor
    include Eucalypt::Helpers
    using Colorize
    register(Generate, 'generate', 'generate [COMMAND]', 'Generate individual MVC files or scaffolds'.colorize(:grey))
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eucalypt-0.3.1 lib/eucalypt/generate/namespaces/generate/cli/generate.rb
eucalypt-0.3.0 lib/eucalypt/generate/namespaces/generate/cli/generate.rb