Skip to content

Commit ec5c9ee

Browse files
committed
feat: document PHASE_ENV and PHASE_APP variables in CLI commands
1 parent dccdb01 commit ec5c9ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pages/cli/commands.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ postgresql://postgres:dbc76c4d...@localhost:5432/mydb
308308
- This feature is currently in BETA and is being tested for performance, usage, and reliability across different platforms.
309309
- When using zsh with modifications like powerline10k, command suggestions and tab completions might be affected in certain cases. This is not due to the Phase CLI - you can verify this by launching zsh directly.
310310
- Secrets are only available within the shell session and are automatically cleared when you exit.
311+
- Inside the shell, `PHASE_ENV` is set to the full environment name from the fetched secrets (e.g., "Development", "Production").
312+
- Inside the shell, `PHASE_APP` is set to the full application name from the fetched secrets. (e.g., "example-app")
311313

312314
---
313315

0 commit comments

Comments
 (0)