Files
ubicloud/spec/routes/api/cli/golden-files/pg eu-central-h1_test-pg show invalid.txt
Jeremy Evans ea3f64ca9d Improve display of option values in CLI
Show available option values in separate section after options display.
In cases where Options can be taken from elsewhere in the application,
do that instead of hard coding the options.  This allows burstable-1
and burstable-2 to show up as VM/PG size options, and show more
available VM/PG storage sizes. This doesn't show which storage sizes
are valid for a given VM/PG size.  That's possible but would clutter
the display.

Update to a later rodish checkout, which moved some of the features
UbiCli uses to plugins, and load those plugins.
2025-03-19 14:08:49 -07:00

15 lines
493 B
Plaintext

! Invalid number of arguments for pg show subcommand (accepts: 0, given: 1)
Show details for a PostgreSQL database
Usage:
ubi pg (location/pg-name | pg-id) show [options]
Options:
-f, --fields=fields show specific fields (comma separated)
Allowed Option Values:
Fields: id name state location vm-size storage-size-gib version ha-type
flavor connection-string primary earliest-restore-time
firewall-rules metric-destinations ca-certificates