mmohades / Venmo

Venmo API client for Python
GNU General Public License v3.0
148 stars 45 forks source link

Two minor improvements - `quiet` variable and using stderr #80

Open straxhaber opened 1 year ago

straxhaber commented 1 year ago

Quiet Variable

The quiet variable, in particular, is important when being used as a library. Users might not want to see so much content. The 2FA OTP is the one thing that always needs to be shown. By default, I left the verbosity as-is, and just added a command-line flag to turn it off.

stderr

Right now, most regular output is going to stdout. Status updates intended for the user should go to stderr rather than stdout. stdout should be for actual data that was returned by an intended command, not these status update messages.