DFE-Digital / rails-template

Rails 7 template with GOV.UK Frontend
27 stars 5 forks source link

Dont require force option #19

Closed misaka closed 1 year ago

misaka commented 1 year ago

We should avoid instructing users to use the --force flag if possible, since the design of these application templates are to be re-runnable if necessary this could cause other issues.

Since we know which files we are overwriting, let's just remove them first so that the rails runner doesn't prompt the user before it tries to overwrite them.

misaka commented 1 year ago

If you merge https://github.com/DFE-Digital/rails-template/pull/18 first this PR should be ok, at least it rebased cleanly for me locally. If it conflicts I'm happy to sort it out.