kfaustino/rails-templater

with configuration file support

gutenye opened this issue · 0 comments

  • ask user to choice, just like templater command
$ rails new <app_name> interactive  # integrated into `rails` command is better than `templater`, I think.
  • don't ask user, use a configuration file.
# ~/.rails_templaterrc
profiles = {
   "local": %w(mongoid rspec)
   "normal": %w(activerecord test-uint)
}
$ rails new <app_name> local # it uses the "local" profile
$ rails new <app_name> local+sass-rspec  # modify profile on-fly.

I don't want to choice options every time when create a new rails project.