ancient-rose-27306
08/09/2023, 6:59 PMgenerate-lockfiles
goal and can see from examples that the config file entry resolve
can be used as a command line argument (see attached screenshot).
Ideally the example should have been pants generate-lockfiles --generate-lockfiles-resolve="['black','pytest','data-science']"
instead of pants generate-lockfiles --resolve=black --resolve=pytest --resolve=data-science
. I say this because resolve
is a config entry and either that should have gone in the pants.toml
file or if we want to use command line, --generate-lockfiles-resolve="['<str>', '<str>', ...]"
should have been used instead of --resolve
.enough-analyst-54434
08/09/2023, 7:02 PMpants generate-lockfiles --generate-lockfiles-resolve=x
, or, less redundantly, pants generate-lockfiles --resolve=x
- both should work.enough-analyst-54434
08/09/2023, 7:04 PMancient-rose-27306
08/09/2023, 8:45 PMenough-analyst-54434
08/09/2023, 10:00 PMenough-analyst-54434
08/09/2023, 10:58 PM