fix(env): remove value masking in env list

Local-only tool; no need to hide API keys/secrets in list output.
This commit is contained in:
Zhengshou Lai
2026-05-08 13:53:10 +08:00
parent 02097a8527
commit 4a05143bf3
+1 -2
View File
@@ -21,8 +21,7 @@ def env_list():
return return
click.echo() click.echo()
for name, value in sorted(vars.items()): for name, value in sorted(vars.items()):
masked = "***" if any(x in name.lower() for x in ["key", "secret", "token", "pass"]) else value click.echo(f"{name:20} = {value}")
click.echo(f"{name:20} = {masked}")
@env_cmd.command("get") @env_cmd.command("get")