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

set cache path using env var (#274) #302

Open
wants to merge 1 commit into
base: devl
Choose a base branch
from

Conversation

achubaty
Copy link
Contributor

updated cache_path() to query environment variable CLIMR_CACHE_PATH and use that if set; alternatively, the option climr.cache.path can be set by the user and takes precedence.

updated corresponding documentation, and added example code.

NOTE: I did not implement a generic mechanism to use env vars / options, but the code I added here could (I think) be easily generalized to implement a common approach for setting other package options.

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