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

Allow specifying config and cache directory via environment variables #150

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

r4um
Copy link
Contributor

@r4um r4um commented Dec 6, 2022

This allows users to specify the location of the configuration and cache directory via the RESTISH_CONFIG_DIR and RESTISH_CACHE_DIR environment variables. As an example, this aids in a use case where we want to ship different API configurations for different products, let them manage the configuration, and invoke restish as needed.

If not specified, the existing default paths are used.

@r4um r4um force-pushed the config-dir-cache branch from 99bca0a to 1376209 Compare December 6, 2022 13:07
@danielgtaylor
Copy link
Owner

Thanks! 👍

@danielgtaylor danielgtaylor merged commit e152134 into danielgtaylor:main Dec 8, 2022
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.

2 participants