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} -JO -m #{RailsTemplater::template_runner}")
    end

  end
end

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} -O -m #{RailsTemplater::template_runner}")
    end

  end
end

Remove -J option for rails new to allow for agnostic JavaScript
Remove -J option for rails new to allow for agnostic JavaScript
