Skip to content

Commit 4f12a1a

Browse files
committed
docs(cli): mirror branches get note in legacy TS shell
The legacy TypeScript shell is a 1:1 port of the Go CLI and must keep help text in sync. Match the new main-branch password-field note that was added to the Go cobra command. Fixes CLI-1450
1 parent 696b95a commit 4f12a1a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/cli/src/legacy/commands/branches/get/get.command.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ const config = {
1616
export type LegacyBranchesGetFlags = CliCommand.Command.Config.Infer<typeof config>;
1717

1818
export const legacyBranchesGetCommand = Command.make("get", config).pipe(
19-
Command.withDescription("Retrieve details of the specified preview branch."),
19+
Command.withDescription(
20+
"Retrieve details of the specified preview branch.\n\nNote: For the main branch, password-dependent fields (POSTGRES_URL, POSTGRES_URL_NON_POOLING) are not populated because production database credentials are not retrievable via API.",
21+
),
2022
Command.withShortDescription("Retrieve details of a preview branch"),
2123
Command.withHandler((flags) => legacyBranchesGet(flags)),
2224
);

0 commit comments

Comments
 (0)