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 custom program data paths #76

Merged
merged 4 commits into from
Nov 6, 2023
Merged

Conversation

MaarifaMaarifa
Copy link
Owner

This PR adds the ability to specify custom paths for cache, data and config directories of the program making it possible to store program data in locations that are not platform specific. The paths can be provided through the command-line or set via the config file as follows

[custom_paths]
data_dir = "/path/to/data"
cache_dir = "/path/to/cache"

Supplying paths via the command-line will override the ones in the config if available. Custom config directory is not configurable through the config file.

@MaarifaMaarifa MaarifaMaarifa linked an issue Nov 6, 2023 that may be closed by this pull request
@MaarifaMaarifa MaarifaMaarifa merged commit 91bdacf into main Nov 6, 2023
10 checks passed
@MaarifaMaarifa MaarifaMaarifa deleted the custom-program-data-paths branch November 6, 2023 17:32
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.

Add support for custom program data paths
1 participant