Create
A command line utility, which based on supplied arguments creates a handy directory structure and files. Basically it fires up several File.open
and does all the code generation routine for you.
The first argument is your app’s name, it is required.
List of currently available arguments: haml erb sass scss reset jquery prototype datamapper textile markdown git
.
Install
gem install create
Example
Input:
create myapp haml sass reset jquery datamapper
Output:
new myapp.rb
new config.ru
new Gemfile
new views/layout.haml
new views/index.haml
new public/stylesheets/reset.css
new public/javascripts/application.js
new public/javascripts/jquery.min.js
What a timesaver!