aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/generators/rails/plugin/USAGE
blob: 8a17fa4dec2149a9ccf51172bdd27334fd58d239 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                          
Description:
    Stubs out a new plugin at vendor/plugins. Pass the plugin name, either
    CamelCased or under_scored, as an argument. 

Example:
    `./script/generate plugin BrowserFilters`

    creates a standard browser_filters plugin:
        vendor/plugins/browser_filters/README
        vendor/plugins/browser_filters/init.rb
        vendor/plugins/browser_filters/install.rb
        vendor/plugins/browser_filters/lib/browser_filters.rb
        vendor/plugins/browser_filters/test/browser_filters_test.rb