Sha256: 89078ac91f5bb20a6f71e70ee757bbf3a23e9403a5fe2e170a46f110f5627ae3

Contents?: true

Size: 672 Bytes

Versions: 5

Compression:

Stored size: 672 Bytes

Contents

require 'thor'
require 'thor/group'
require 'tay/cli/helpers'

module Tay
  ##
  # Runs tay's command line interface
  module CLI
    class Root < ::Thor
      include ::Thor::Actions
      include ::Tay::CLI::Helpers

      require 'tay/cli/generate'
      register(Tay::CLI::Generate, 'generate', 'generate', 'Generate a feature')

      require 'tay/cli/new'
      require 'tay/cli/build'
      require 'tay/cli/watch'
      require 'tay/cli/generate'
      require 'tay/cli/validate'
      require 'tay/cli/minify'
      require 'tay/cli/package'

      def self.source_root
        File.expand_path('cli/templates', File.dirname(__FILE__))
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tay-0.1.0 lib/tay/cli.rb
tay-0.0.5 lib/tay/cli.rb
tay-0.0.4 lib/tay/cli.rb
tay-0.0.3 lib/tay/cli.rb
tay-0.0.2 lib/tay/cli.rb