aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/generators/rails/plugin/USAGE
blob: 00a429c58584a3cab4d44e9fa17934f99ed9b949 (plain) (tree)
1
2
3
4
5
6




                                                                          
                                          






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

Example:
    `rails 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