https://pantsbuild.org/ logo
#general
Title
# general
l

loud-laptop-17949

03/22/2022, 7:01 PM
Is there some flag I need to set to enable lockfiles for tools (on 2.9.0) ?
Copy code
./pants generate-lockfiles --resolve=terraform-hcl2-parser
Unknown flag --resolve on global scope
Did you mean --level?
Use `./pants help` to get help.
11:57:54.70 [ERROR] Unknown flags --resolve on global scope


Use --print-stacktrace for more error details and/or -ldebug for more logs. 
See <https://www.pantsbuild.org/v2.9/docs/troubleshooting> for common issues.
Consider reaching out for help: <https://www.pantsbuild.org/v2.9/docs/getting-help>
1
nevermind I just figured it out. the repo where its not working does not use
pants.backend.python
, bc there is no python code
coke 1
f

fast-nail-55400

03/22/2022, 7:13 PM
and that command may only work the way I believe it does on 2.10+
(since I pretty much only work off of
main
)
🙌 1
(earlier versions of Pants fade from my memory fast)