happy-kitchen-89482
07/13/2020, 6:38 PMhelp-json
or something) which seems very extra. We already have a lot going on.hundreds-breakfast-49010
07/13/2020, 6:40 PMhelp
rather than a new top-level commandhappy-kitchen-89482
07/13/2020, 6:41 PMhelp
is special though, it's not a goal, and its options are special-casedhappy-kitchen-89482
07/13/2020, 6:41 PM--help-all
as wellhundreds-father-404
07/13/2020, 6:42 PM./pants help pytest --json
.
Ik it’s hard to implement, but if we were to start from scratch, I’d want that feature.happy-kitchen-89482
07/13/2020, 6:42 PMhelp
, -h
, --help
etc)happy-kitchen-89482
07/13/2020, 6:43 PMhappy-kitchen-89482
07/13/2020, 6:43 PMhappy-kitchen-89482
07/13/2020, 6:43 PMhappy-kitchen-89482
07/13/2020, 6:43 PMhundreds-father-404
07/13/2020, 6:44 PMhappy-kitchen-89482
07/13/2020, 6:44 PMhappy-kitchen-89482
07/13/2020, 6:45 PM--json
to that list seems riskyhappy-kitchen-89482
07/13/2020, 6:45 PM--json
flaghundreds-father-404
07/13/2020, 6:46 PMhundreds-father-404
07/13/2020, 6:47 PMhelp-all
to output JSON. I think we should mention JQ in the docs, though, as some devs might not be familiar with it and aren’t used to a CLI tool outputting an enormous blob of JSON meant to be consumed by humanshappy-kitchen-89482
07/13/2020, 6:48 PMhundreds-breakfast-49010
07/13/2020, 6:54 PM