Sha256: 95d1fc499f6b0c93d2f6f69a755f9b51bdf906ec8d6b75fd4fbac8821b7d2f1a

Contents?: true

Size: 934 Bytes

Versions: 6

Compression:

Stored size: 934 Bytes

Contents

require 'thor'

require_relative 'flow_generator'
require_relative 'partial_generator'
require_relative 'page_generator'
require_relative 'site_generator'
require_relative 'project_generator'

module Taza
  class TazaGenerators < Thor

    register(Taza::ProjectGenerator, 'create', "create SITE_NAME", 'This creates the Taza structure. Example: taza create foo')
    register(Taza::SiteGenerator, 'site', 'site SITE_NAME', 'This will generate your Taza site. Example: taza site foo')
    register(Taza::PageGenerator, 'page', 'page PAGE_NAME SITE_NAME', 'This will generate your Taza page. Example: taza page checkout foo')
    register(Taza::PartialGenerator, 'partial', 'partial PARTIAL_NAME SITE_NAME', 'This will generate your Taza partial. Example: taza partial navigation foo')
    register(Taza::FlowGenerator, 'flow', 'flow FLOW_NAME SITE_NAME', 'This will generate your Taza flow. Example: taza flow checkout foo')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
taza-3.0.0 lib/taza/generators/taza_generators.rb
taza-2.1.0 lib/taza/generators/taza_generators.rb
taza-2.0 lib/taza/generators/taza_generators.rb
taza-1.0 lib/taza/generators/taza_generators.rb
taza-0.9.2.1 lib/taza/generators/taza_generators.rb
taza-0.9.2.0 lib/taza/generators/taza_generators.rb