Skip to content

Commit

Permalink
Disable logging (except critical) when passing --quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself committed Jul 20, 2023
1 parent 8aee258 commit 1d18684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pontos/release/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def main(

if parsed_args.quiet:
term = NullTerminal()
logging.disable()
else:
term = RichTerminal()

Expand Down

0 comments on commit 1d18684

Please sign in to comment.