Skip to content

Add XDG_CONFIG_HOME support#99

Open
crahan wants to merge 2 commits intoticarpi:masterfrom
crahan:xdg_config_home
Open

Add XDG_CONFIG_HOME support#99
crahan wants to merge 2 commits intoticarpi:masterfrom
crahan:xdg_config_home

Conversation

@crahan
Copy link

@crahan crahan commented Nov 2, 2023

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 #53

Thank you for creating such an awesome tool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant