Fix --loglevel option spec
The --loglevel command line option is not a flag but a choice. Consequently, it needs a *default* and not a *flag_value*.
View ArticleOkay, try a --quiet option instead
As discussed in Issue #13, a way is needed to hide warnings but show errors. Since we apparently cannot have a general loglevel option, this commit provides a way to set that particular loglevel.
View ArticleArgh! Working around click is getting entirely unreasonable.
Looks like the loglevel is _still_ not set unless every option that _may_ set it has a default value. Or?
View ArticleAPI change: allow absolute path in folder setting
This resolves a bunch of issues, detailed in #14. But basically, I was assuming users would never specify an absolute path in `folder`. But it turns out this was natural for at least one user: they...
View Articlesilence pytest warning
the regression mark is some thing I found in another project but I never defined here. it's kind of useless anyways: just use a proper doc string instead.
View Articlemove default database path to ~/.local/share
According to the XDG Base Directory Specification, $XDG_CACHE_HOME is meant to contain "user-specific non-essential (cached) data", and as such that location is often not contained in backups....
View ArticleMerge branch 'for-master' into 'master'
move default database path to `~/.local/share` Closes #16 See merge request !9
View Articleuse a variable for the data dir as well to clarify the code
This makes the code prettier, at the cost of wasting more time joining strings.
View Articlefix default log level value
The patch in !8 made it so the log level was ERROR by default, which is what the author fundamentally wanted, but it's not actually what the behavior originally was. Restore the previous behavior by...
View Articleuse warnings instead of logging in guess_path
This seems more natural anyways: we want to warn about Deprecation and that's typically the way to do it. We have to revert to some crazy hacking to make it work here, but it works.
View Article