Sha256: ca88b12de1d62e032a83add116082769023b16b39813b48e463e504898b2dfb0

Contents?: true

Size: 861 Bytes

Versions: 7

Compression:

Stored size: 861 Bytes

Contents

require 'eucalypt/eucalypt-generate/namespaces/generate-controller/cli/generate-controller'
require 'eucalypt/eucalypt-generate/namespaces/generate-helper/cli/generate-helper'
require 'eucalypt/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

7 entries across 7 versions & 1 rubygems

Version Path
eucalypt-0.2.2 lib/eucalypt/eucalypt-generate/namespaces/generate/cli/generate.rb
eucalypt-0.2.1 lib/eucalypt/eucalypt-generate/namespaces/generate/cli/generate.rb
eucalypt-0.2.0 lib/eucalypt/eucalypt-generate/namespaces/generate/cli/generate.rb
eucalypt-0.1.3 lib/eucalypt/eucalypt-generate/namespaces/generate/cli/generate.rb
eucalypt-0.1.2 lib/eucalypt/eucalypt-generate/namespaces/generate/cli/generate.rb
eucalypt-0.1.1 lib/eucalypt/eucalypt-generate/namespaces/generate/cli/generate.rb
eucalypt-0.1.0 lib/eucalypt/eucalypt-generate/namespaces/generate/cli/generate.rb