Following the lengthy brainstorming and discussion in #1, I suggest renaming the --update option, and possibly removing (or changing?) its short name.
Rationale:
Without any options, rubocop-gradual already updates the lock file in the normal development workflow. The README even suggests using that command without options in git hooks to update the lock file. So having a separate --update command that does something else is confusing.
Given that first point, the --update command should be named in a way that conveys its specificity (e.g. what type of update it does or when it does it).
I suggest using --force-update, because it disregards the "error" case of introducing new issues in the lock file.
It might also be useful to delete the -u short option (if you don't want to incentivize using it too much), or maybe change it to something else? Possible values for a short command:
-f (of rm -f fame)
-U with an upercase U only (uppercase is sometimes used to convey that you're asking for the "more powerful" version of a command)
-uu (used by ripgrep for instance)
-fu (which reads like… hmm maybe that joke is too colorful)
Following the lengthy brainstorming and discussion in #1, I suggest renaming the
--update
option, and possibly removing (or changing?) its short name.Rationale:
rubocop-gradual
already updates the lock file in the normal development workflow. The README even suggests using that command without options in git hooks to update the lock file. So having a separate--update
command that does something else is confusing.--update
command should be named in a way that conveys its specificity (e.g. what type of update it does or when it does it).I suggest using
--force-update
, because it disregards the "error" case of introducing new issues in the lock file.It might also be useful to delete the
-u
short option (if you don't want to incentivize using it too much), or maybe change it to something else? Possible values for a short command:-f
(ofrm -f
fame)-U
with an upercase U only (uppercase is sometimes used to convey that you're asking for the "more powerful" version of a command)-uu
(used by ripgrep for instance)-fu
(which reads like… hmm maybe that joke is too colorful)