Sha256: 9a358d16243dab7cc85f60f2f52f142688ef6942b440258e257411292d813287
Contents?: true
Size: 355 Bytes
Versions: 2
Compression:
Stored size: 355 Bytes
Contents
require 'thor/group' module RailsTemplater class Cli < Thor::Group argument :application_name, :type => :string, :desc => "The name of the rails application" desc "Generates a new Rails application with templater'" def run_templater system("rails new #{application_name} -JOT -m #{RailsTemplater::template_path}") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_templater-0.0.2 | lib/rails_templater/cli.rb |
rails_templater-0.0.1 | lib/rails_templater/cli.rb |