class Presto
Constants
- PRESTO_ROOT
Public Class Methods
run()
click to toggle source
# File lib/presto.rb, line 4 def self.run if ARGV[0].nil? || ['-h','--help'].include?(ARGV[0]) || ARGV[1] puts <<-HELP.gsub(/^ {6}/, '') Usage: presto <app_name> HELP else system("rails new #{ARGV[0]} -Tm #{PRESTO_ROOT}/templates/flatiron.rb") end end