mirror of
https://github.com/ruvnet/RuView.git
synced 2026-10-18 21:00:22 -05:00
clap's default bool parser only takes true/false, so RUVIEW_UDP_INSECURE_LAN=1 exited 2 with "invalid value '1'". Add a shared parse_env_bool value parser (1/0, true/false, yes/no, on/off, case-insensitive; anything else is still an error) and apply it to every bool+env flag: RUVIEW_UDP_INSECURE_LAN, RUVIEW_NO_MDNS, RUVIEW_NO_EDGE_REGISTRY, RUVIEW_MQTT, RUVIEW_MQTT_TLS, RUVIEW_PRIVACY_MODE and RUVIEW_MATTER. The bare --flag form is unchanged. The Docker entrypoint now accepts RUVIEW_ALLOW_UNAUTHENTICATED= true/yes/on (any case) as well as 1. Fixes #2091 Co-Authored-By: claude-flow <ruv@ruv.net>