module RailsNewApp

Constants

SCREENS

use option: nil to hide the screen from the main menu

VERSION

Public Class Methods

run() click to toggle source
# File lib/rails-new-app.rb, line 6
def self.run
  navigation = true
  ARGV.each do |arg|
    case arg
    when "navigation=false" then navigation = false
    when "-v", "--version"
      puts "rails-new-app #{RailsNewApp::VERSION}"
      exit(0)
    end
  end
  ARGV.clear

  Runner.new(navigation: navigation).run
end