https://pantsbuild.org/ logo
h

hundreds-breakfast-49010

05/15/2020, 12:27 AM
(i.e.
auto
would look at sys.stdout.istty() and pass that bool to the engine?)
w

witty-crayon-22786

05/15/2020, 12:27 AM
yea. i guess it’s maybe a bit more explicit…?
more self-documenting?
but the help string would still need to explain what “auto” means
h

hundreds-father-404

05/15/2020, 12:28 AM
And it’s not as easy to say
--no-ui
than
--ui=none
. You have to remember what the enum options are with the latter
h

hundreds-breakfast-49010

05/15/2020, 12:29 AM
I don't think that's a huge concern. the help text will tell you what the enum values are, and we expect this to be a rarely-touched option
👍 1
w

witty-crayon-22786

05/15/2020, 12:43 AM
imo, boolean is fine here.