<@U01PZK60W2F> I vaguely recall you pointing out a...
# development
w
@curved-television-6568 I vaguely recall you pointing out a
pants help
command that contained ALL available backends? Not just those that are currently registered? Am I imagining that? the
pants help backend
appears to be missing some
โœ… 1
f
pants backends --help
right?
w
Wow, didn't know it could work in reverse - as
backends
isn't a goal - but
--help
is a builtin goal. Neat. And yeah, I used that to make this list: https://github.com/pantsbuild/pants/issues/21065 But, for example, the
cc
backend is missing, and a few other experimental ones. I'm guessing those are not registered, and I haven't dug into what's missing
๐Ÿ‘ 1
f
fair point, cc etc is not included either way ๐Ÿ™‚
experimental only included when used? I get only used experimental ones included at least
w
That could be the case - I may just have misused the API
Copy code
def _print_all_backends(self, include_experimental: bool) -> None:
Yeah, I used the wrong command:
pants help-advanced backends
f
Ah nice to know!
b
the
pants help-all
json has this sort of info in it too
w
Yep - one of the rare cases where I was just trying to get the quick summary without using
jq
- turns out
jq
would have been faster.... sigh... it always is
c
pants backends โ€”help-advanced
Ah.. did reply in thread not seeing there was one..