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

[FEATURE] CLI option to apply change request locally #474

Open
michaelmelanson opened this issue Dec 18, 2024 · 0 comments
Open

[FEATURE] CLI option to apply change request locally #474

michaelmelanson opened this issue Dec 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@michaelmelanson
Copy link

Is your feature request related to a problem? Please describe.
When I create a change request, I'd like to be able to test out the changes locally before they're applied. Currently the only way to do this is to manually apply environment variables.

Describe the solution you'd like
I'd like a new CLI flag for doppler run that applies the changes in the change request when running the command, e.g.:

doppler run --apply-cr=6d8e2041-de18-4b17-986f-0840faec579e ./server

This way I can test out a set of changes locally and make sure they have the effect I intend, without merging the PR and having it affect production systems.

Describe alternatives you've considered
The best alternative is to apply the changes manually, e.g.:

FOO=bar BAZ=quz doppler run ./server

However, this is error prone because you have to ensure manually that those environment variables match the change request, and that they're not going to be overwritten by doppler run.

Additional context
N/A

@michaelmelanson michaelmelanson added the enhancement New feature or request label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant