]> Untitled Git - bdk-cli/commit
fix(cli): use valid envt variable names for env fallbacks
authorVihiga Tyonum <withtvpeter@gmail.com>
Fri, 2 Oct 2026 05:14:16 +0000 (06:14 +0100)
committerVihiga Tyonum <withtvpeter@gmail.com>
Fri, 2 Oct 2026 05:14:16 +0000 (06:14 +0100)
commite8fc1e3ed10e351886b31cdd431fc4bda974aca0
treed9ddf2439426623f2dd70da57d5180eda79a0f43
parent2b4866a79cd3230963a66a20ab454721b1bfefec
fix(cli): use valid envt variable names for env fallbacks

Several `#[arg(env = "...")]` attributes mistakenly used colons (e.g.,
`ADDRESS:SAT`) following value-shape documentation conventions. Because
colons are invalid in POSIX environment variable names, these fallbacks
could never actually be set by users.

Renamed these environment variables to use valid identifiers while
keeping the flag names and expected value shapes unchanged.

Also, format integration tests
src/commands.rs
src/handlers/dns/mod.rs
src/handlers/offline.rs
tests/common/mod.rs
tests/integration/init.rs
tests/integration/offline.rs
tests/integration/online.rs
tests/integration/proxy.rs