Skip to content

Commit 49c14e0

Browse files
authored
Merge branch 'develop' into fix/text-improve
2 parents 86871f7 + e123b51 commit 49c14e0

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

apps/cli-go/cmd/branches.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ var (
7878
branchGetCmd = &cobra.Command{
7979
Use: "get [name]",
8080
Short: "Retrieve details of a preview branch",
81-
Long: "Retrieve details of the specified preview branch.",
82-
Args: cobra.MaximumNArgs(1),
81+
Long: `Retrieve details of the specified preview branch.
82+
83+
Note: 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.`,
84+
Args: cobra.MaximumNArgs(1),
8385
RunE: func(cmd *cobra.Command, args []string) error {
8486
ctx := cmd.Context()
8587
fsys := afero.NewOsFs()

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)