doppler: add page (#13345)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: spageektti <git@spageektti.cc>
This commit is contained in:
Wolmer
2024-08-03 19:04:53 +05:30
committed by GitHub
parent a0ae54e2b4
commit 4816a6af8b
4 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# doppler run
> Run a command with Doppler secrets injected into the environment.
> More information: <https://docs.doppler.com/docs/cli#run-a-command-with-secrets-populated-in-environment>.
- Run a command:
`doppler run --command {{command}}`
- Run multiple commands:
`doppler run --command {{command1 && command2}}`
- Run a script:
`doppler run {{path/to/command.sh}}`
- Run command with specified project and config:
`doppler run -p {{project_name}} -c {{config_name}} -- {{command}}`
- Automatically restart process when secrets change:
`doppler run --watch {{command}}`