Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/cli-go/cmd/branches.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ var (
branchGetCmd = &cobra.Command{
Use: "get [name]",
Short: "Retrieve details of a preview branch",
Long: "Retrieve details of the specified preview branch.",
Args: cobra.MaximumNArgs(1),
Long: "Retrieve details of the specified preview branch.\n\n" +
"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.",
Args: cobra.MaximumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
ctx := cmd.Context()
fsys := afero.NewOsFs()
Expand Down
5 changes: 4 additions & 1 deletion apps/cli/src/legacy/commands/branches/get/get.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ const config = {
export type LegacyBranchesGetFlags = CliCommand.Command.Config.Infer<typeof config>;

export const legacyBranchesGetCommand = Command.make("get", config).pipe(
Command.withDescription("Retrieve details of the specified preview branch."),
Command.withDescription(
"Retrieve details of the specified preview branch.\n\n" +
"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.",
),
Command.withShortDescription("Retrieve details of a preview branch"),
Command.withHandler((flags) => legacyBranchesGet(flags)),
);
Loading