interesting tidbit for anyone interested in option...
# general
a
interesting tidbit for anyone interested in options and help display:
Copy code
dmcclanahan@tw-mbp-dmcclanahan: ~/tools/pants-v3 0:40:50 $? 1
X> ./pants options | g pex.build
Scrubbed PYTHONPATH=/Users/dmcclanahan/tools/pants-v3/src/python: from the environment.
(standard input):1385:pex-builder-wrapper.generate_ipex = False (from HARDCODED)
(standard input):1386:pex-builder-wrapper.ipex_injected_pex_version = 1.6.12 (from HARDCODED)
(standard input):1387:pex-builder-wrapper.setuptools_version = 40.6.3 (from HARDCODED)

./pants options  2.72s user 0.79s system 80% cpu 4.390 total
dmcclanahan@tw-mbp-dmcclanahan: ~/tools/pants-v3 0:41:16
X> ./pants --pex-builder-wrapper-binary-py-generate-ipex options | g pex.build
Scrubbed PYTHONPATH=/Users/dmcclanahan/tools/pants-v3/src/python: from the environment.
(standard input):1385:pex-builder-wrapper.generate_ipex = False (from HARDCODED)
(standard input):1386:pex-builder-wrapper.ipex_injected_pex_version = 1.6.12 (from HARDCODED)
(standard input):1387:pex-builder-wrapper.setuptools_version = 40.6.3 (from HARDCODED)
(standard input):1388:pex-builder-wrapper.binary.py.generate_ipex = True (from FLAG)

./pants --pex-builder-wrapper-binary-py-generate-ipex options  2.55s user 0.63s system 87% cpu 3.654 total
--pex-builder-wrapper-binary-py-generate-ipex
causes the option to be visible in the
binary.py
scope. there's some intelligence about displaying options here that we could apply to the output of
./pants help
(which displays every single option in all its possible scopes)