Add the --silent option to allow suppressing log output.

This commit is contained in:
2025-01-11 11:57:16 -06:00
parent 40cb602362
commit 0361d1b869
3 changed files with 5 additions and 1 deletions

View File

@@ -67,6 +67,9 @@ when isMainModule:
if args["--debug"]:
consoleLogger.levelThreshold = lvlDebug
if args["--silent"]:
consoleLogger.levelThreshold = lvlNone
if args["--echo-args"]: stderr.writeLine($args)
if args["help"]: