From 9e2cf3fe550f03b2521e512dce035fb66366c52d Mon Sep 17 00:00:00 2001 From: Tian Pan Date: Fri, 9 Oct 2026 23:15:45 -0700 Subject: [PATCH] Use pgcli options in the pgcli passthrough example The `render pgcli --help` example passed `--csv -q` through to pgcli, but those are psql options: pgcli rejects them with "No such option '--csv'", so copying the example fails before any connection is made. Use `--single-connection --less-chatty`, which pgcli accepts. The psql example keeps `--csv -q`, which is valid there. --- cmd/pgcli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pgcli.go b/cmd/pgcli.go index 429af4d..b1ae111 100644 --- a/cmd/pgcli.go +++ b/cmd/pgcli.go @@ -27,7 +27,7 @@ You can optionally pass a database ID or name as an argument. To pass arguments render pgcli pg-abc123 # Pass through pgcli arguments - render pgcli pg-abc123 -- --csv -q`, + render pgcli pg-abc123 -- --single-connection --less-chatty`, } func InteractivePGCLIView(ctx context.Context, input *views.PSQLInput) tea.Cmd {