Commit e123b51
docs(cli): clarify password field limitations for main branch (supabase#5309)
Updates the help text for the `branches get` command in both the Go and
TypeScript CLI implementations to clarify that password-dependent
database fields are not populated for the main branch.
**Changes:**
- Updated `branchGetCmd` long description in
`apps/cli-go/cmd/branches.go` to include a note explaining that
`POSTGRES_URL` and `POSTGRES_URL_NON_POOLING` fields are not available
for the main branch because production database credentials cannot be
retrieved via API
- Updated the command description in
`apps/cli/src/legacy/commands/branches/get/get.command.ts` with the same
clarification for consistency across CLI implementations
This improves user experience by setting correct expectations when
querying main branch details and reduces confusion about missing
credential fields.
Closes: CLI-1450
https://claude.ai/code/session_01Dq9V9d8nxzfFkqk3MaHBWB
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 022c72b commit e123b51
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
0 commit comments