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:
+1
-2
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user