Open crahan opened 1 year ago
This PR adds support for the XDG Base Directory specification.
When a user has the $XDG_CONFIG_HOME environment variable set, the config folder will be created at $XDG_CONFIG_HOME/jwt_tool. If this environment variable is not set, then the default ~/.jwt_tool path is used.
$XDG_CONFIG_HOME
$XDG_CONFIG_HOME/jwt_tool
~/.jwt_tool
This fixes the request in https://github.com/ticarpi/jwt_tool/issues/53
Thank you for creating such an awesome tool!
This PR adds support for the XDG Base Directory specification.
When a user has the
$XDG_CONFIG_HOME
environment variable set, the config folder will be created at$XDG_CONFIG_HOME/jwt_tool
. If this environment variable is not set, then the default~/.jwt_tool
path is used.This fixes the request in https://github.com/ticarpi/jwt_tool/issues/53
Thank you for creating such an awesome tool!