/usr/lib/ruby/vendor_ruby/rails/generators/rails/assets/USAGE is in ruby-railties 2:4.2.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | Description:
Stubs out new asset placeholders. Pass the asset name, either CamelCased
or under_scored.
To create an asset within a folder, specify the asset's name as a
path like 'parent/name'.
This generates a JavaScript stub in app/assets/javascripts and a stylesheet
stub in app/assets/stylesheets.
If CoffeeScript is available, JavaScripts will be generated with the .coffee extension.
If Sass 3 is available, stylesheets will be generated with the .scss extension.
Example:
`rails generate assets posts`
Posts assets.
JavaScript: app/assets/javascripts/posts.js
Stylesheet: app/assets/stylesheets/posts.css
|