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

important-librarian-62877

07/13/2020, 11:06 PM
Hey there, I at one point had found a page that listed all the pants targets, but I seem to have lost it. Does anybody know where that might be?
i

important-librarian-62877

07/13/2020, 11:08 PM
Ah yepp
That's it
h

hundreds-father-404

07/13/2020, 11:08 PM
You’ll get much better output if you run
./pants target-types
locally, though. This uses the new Target API, which has much richer information For example,
./pants target-types --details=python_library
will tell you the expected type of every field.
Benjy is working on porting
./pants target-types
to the new website too
i

important-librarian-62877

07/13/2020, 11:10 PM
Oh wait, this is the one I was thinking of. Options, not targets. Sorry https://v1.pantsbuild.org/options_reference.html
👍 1
Is there a way to see those via a pants command? Just out of curiosity
h

hundreds-father-404

07/13/2020, 11:14 PM
Oh, yes. That’s also something Benjy is working on uploading to the new site.
Is there a way to see those via a pants command?
./pants help-all
, or
./pants options
for less verbose output In Pants 2.0,
./pants options
goes away by a more useful
./pants help
.
./pants help-all
is also now going to output JSON, so you can do things like pipe it to JQ
👍 1
3 Views