nevinera / quiet_quality

A system for finding and annotating quality issues on your forward diffs
MIT License
12 stars 0 forks source link

Support `--logging normal` (and variants) #93

Closed nevinera closed 1 year ago

nevinera commented 1 year ago

The default logging behavior didn't previously have a name, so if you had a configuration file specify light or quiet, there was no way to put it back afterward on the cli.

This PR replaces the nil default value with proper named level NORMAL, alongside LIGHT and QUIET, then updates the arg-parser to support --normal/-n (--logging normal and -Lnormal both worked automatically, as did the config file logging: normal. Not that the latter actually has any impact.)

Resolves #92