Hey there, I at one point had found a page that li...
# general
i
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
Ah yepp
That's it
h
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
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
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