Sha256: f494c9851515c08458cc31971c23913346d9632540ab807d145c23c7647934dd
Contents?: true
Size: 706 Bytes
Versions: 40
Compression:
Stored size: 706 Bytes
Contents
# frozen_string_literal: true 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! self.bin = "rails" 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
40 entries across 40 versions & 5 rubygems