nkanaev / yarr

yet another rss reader
MIT License
3.03k stars 225 forks source link

Only read config dir if db is not provided. #218

Closed timster closed 3 weeks ago

timster commented 3 weeks ago

Only need to read os.UserConfigDir if db is not provided.

Right now if you provide a -db path on command line, but $HOME or $XDG_CONFIG_HOME is not set it will error.

But that's only really needed if you don't manually specify a db.

nkanaev commented 3 weeks ago

lgtm. thanks.