Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add XDG_CONFIG_HOME support #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant