Sha256: 55b8bf9d1fac96059b5fc2db15b4f7e7d04cf35efdb1838494976339a017a624
Contents?: true
Size: 649 Bytes
Versions: 20
Compression:
Stored size: 649 Bytes
Contents
require "rails/generators" require "rails/generators/rails/app/app_generator" module Rails module Generators class AppGenerator # :nodoc: # We want to exit on failure to be kind to other libraries # This is only when accessing via CLI def self.exit_on_failure? true end end end module Command class ApplicationCommand < Base # :nodoc: hide_command! def help perform # Punt help output to the generator. end def perform(*args) Rails::Generators::AppGenerator.start \ Rails::Generators::ARGVScrubber.new(args).prepare! end end end end
Version data entries
20 entries across 20 versions & 1 rubygems