Open badboy opened 4 years ago
It follows the XDG spec, so it could be in one of a couple places on Linux, for me it's at ~/.local/share/frauth-cli/
.
We should probably have some kind of debug command, and maybe even a way to override what the base paths are for testing.
More specifically, we currently use directories::data_dir()
for persistent data, and will use directories::cache_dir()
in the future for the frauth discover
command. We may also use the config dir if we have any persistent settings.
Perhaps a frauth debug
subcommand?
While not needed for every user, it would still be nice to let frauth show where it actually stores its data (e.g. to ensure it's included in backups).
Right now nothing exposes this path (on my mac for example it's
~/Library/ApplicationSupport/com.Frauth.frauth-cli
. I guess on Linux it will be~/.config/frauth/
.