`pants help PANTS_CONFIG_FILES` is unclear about t...
# general
a
pants help PANTS_CONFIG_FILES
is unclear about the ordering. If I have [pants.toml, pants.ci.toml] and each one has conflicting options (A=False, then A=True), which one is chosen? is it left-to-right or right-to-left?
1
looks like it's left-to-right ordering (left is processed first, then right values overwrite left ones)
Copy code
PANTS_CONFIG_FILES="['pants.toml', 'pants.gh.toml']" pants help PANTS_DOCKER_USE_BUILDX 2>&1 | head -n 20
  --[no-]docker-use-buildx
  PANTS_DOCKER_USE_BUILDX
  use_buildx
      default: False
      current value: True (pants.gh.toml)
      Use [buildx](<https://github.com/docker/buildx#buildx>) (and BuildKit) for builds.
h
Correct
And flag > env var > config
and within flags and configs, right > left