michael-lazar / rtv

Browse Reddit from your terminal
MIT License
4.65k stars 274 forks source link

Issue #597: Autologin configuration #599

Closed codesoap closed 6 years ago

codesoap commented 6 years ago

This PR introduces the --no-autologin cli parameter and the correlating autologin config option. A user could be willing to skip automatic login, to speed up the startup of rtv.

michael-lazar commented 6 years ago

I tested this out and it appears to be working as intended, I like the new flag name. I made a change so that the "Welcome {user}!" message will still be displayed when they login when using the --no-autologin flag. I also added some test coverage.