aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/generator/USAGE
blob: ca7d3f62d0297b73116515e541566157ec9440a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
Description:
    Stubs out a new generator at lib/generators. Pass the generator name, either
    CamelCased or under_scored, as an argument. 

Example:
    `./script/generate generator Awesome`

    creates a standard awesome generator:
        lib/generators/awesome/
        lib/generators/awesome/awesome_generator.rb
        lib/generators/awesome/templates/