hide passwords and secrets from repo-config subcommand by default

This commit is contained in:
2023-02-05 16:42:29 +02:00
parent d113c65c81
commit 125da217d3
14 changed files with 86 additions and 35 deletions

View File

@@ -48,4 +48,4 @@ class Dump(Handler):
"""
dump = configuration.dump()
for section, values in sorted(dump.items()):
ConfigurationPrinter(section, values).print(verbose=False, separator=" = ")
ConfigurationPrinter(section, values).print(verbose=not args.secure, separator=" = ")