Files
tldr/pages.zh/common/doppler.md

29 lines
599 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Doppler
> 使用 Doppler 管理不同环境中的环境变量。
> 一些子命令,例如 `run` 和 `secrets`,有自己的使用文档。
> 更多信息请访问:<https://docs.doppler.com/docs/cli>。
- 在当前目录中设置 Doppler CLI
`doppler setup`
- 在当前目录中设置 Doppler 项目和配置:
`doppler setup`
- 运行一个命令并将秘密注入到环境中:
`doppler run --command {{command}}`
- 查看你的项目列表:
`doppler projects`
- 查看当前项目的秘密:
`doppler secrets`
- 在浏览器中打开 Doppler 仪表板:
`doppler open`