rlwhitcomb / utilities

Some of my personal utility programs
MIT License
2 stars 0 forks source link

Consider making "$quiet" and "$results" work mutually exclusively #604

Open rlwhitcomb opened 1 year ago

rlwhitcomb commented 1 year ago

We now have a lot of scripts that do $quiet around a bunch of stuff, then $results at the end. It would be a lot easier to just run the whole thing in quiet mode, and do the $results on at the end. So, if $quiet on turns $results off and if $results on turns $quiet off then these things would a lot simpler.

It might be easier if we implement these modes as an enum, maybe, internally...

Another thought is that $echo should work regardless of the $quiet setting. This would make things like "constants.calc" work a lot cleaner.