1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/common/doppler-run.md
Wolmer 4816a6af8b
doppler: add page (#13345)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: spageektti <git@spageektti.cc>
2024-08-03 15:34:53 +02:00

586 B

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}}