Sha256: 77b94a6acb822aa84bccd885e6a7956eaa4de6559ea359957ecb45c7b260c6a0
Contents?: true
Size: 680 Bytes
Versions: 166
Compression:
Stored size: 680 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! 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
166 entries across 153 versions & 12 rubygems