Skip to content

Commit

Permalink
Add --force option to app:update
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebarrie committed Apr 30, 2024
1 parent 519324f commit d304804
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions railties/lib/rails/commands/app/update_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ module Rails
module Command
module App
class UpdateCommand < Base # :nodoc:
class_option :force, aliases: "-f", type: :boolean, default: false, desc: "Overwrite all files"

desc "update", "Update configs and some other initially generated files (or use just update:configs or update:bin)"
def perform
configs
Expand Down

0 comments on commit d304804

Please sign in to comment.