mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 00:53:40 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/doppler-run
Normal file
29
tldr/doppler-run
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user