provisioning-core/nulib/domain/cmd/env.nu

10 lines
574 B
Text
Raw Permalink Normal View History

# export-env block removed by ADR-025 Phase 3 blocker 4.
# The former block called check_env (a pre-flight gate) and set $env.PROVISIONING_DEBUG.
# Nobody imports cmd/env.nu directly; it was only reached via the star-import chain
# from lib_provisioning/mod.nu. With that chain being emptied, this block would
# never fire at CLI start anyway. Thin handlers that need the debug flag already
# set it explicitly via `if $debug { $env.PROVISIONING_DEBUG = true }` — and
# remaining reads like `if not $env.PROVISIONING_DEBUG { ... }` are gated upstream
# by the same flag.