mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 04:12:23 +01:00
Suppress full config output of "esphome config" when -q option is used. (#5852)
This commit is contained in:
@@ -389,7 +389,8 @@ def command_config(args, config):
|
||||
output = re.sub(
|
||||
r"(password|key|psk|ssid)\: (.+)", r"\1: \\033[5m\2\\033[6m", output
|
||||
)
|
||||
safe_print(output)
|
||||
if not CORE.quiet:
|
||||
safe_print(output)
|
||||
_LOGGER.info("Configuration is valid!")
|
||||
return 0
|
||||
|
||||
|
Reference in New Issue
Block a user