Sha256: 414bbe774c9c6b1951eb00b700138ba7c3f9e8c0ea7774cf95befd2cf995ad6e

Contents?: true

Size: 373 Bytes

Versions: 14

Compression:

Stored size: 373 Bytes

Contents

class <%= name.capitalize %>Generator < Roger::Generators::Base
  
  include Thor::Actions
  
  desc "<%= name.capitalize %> generator helps you doing ... and ..."
  argument :path, :type => :string, :required => true, :desc => "Path to generate the new generator"
  
  def create_stuff
    # your stuff
  end
end

Roger::Generators.register <%= name.capitalize %>Generator

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
roger-1.1.3 lib/roger/generators/templates/generator.tt
roger-1.1.2 lib/roger/generators/templates/generator.tt
roger-1.1.1 lib/roger/generators/templates/generator.tt
roger-1.1.0 lib/roger/generators/templates/generator.tt
roger-1.0.1 lib/roger/generators/templates/generator.tt
roger-1.0.0 lib/roger/generators/templates/generator.tt
roger-0.13.0 lib/roger/generators/templates/generator.tt
roger-0.12.5 lib/roger/generators/templates/generator.tt
roger-0.12.4 lib/roger/generators/templates/generator.tt
roger-0.12.3 lib/roger/generators/templates/generator.tt
roger-0.12.2 lib/roger/generators/templates/generator.tt
roger-0.12.1 lib/roger/generators/templates/generator.tt
roger-0.12.0 lib/roger/generators/templates/generator.tt
roger-0.11.0 lib/roger/generators/templates/generator.tt