ubicloud/spec/routes/api/cli/golden-files/pg eu-central-h1_test2-pg create 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

21 lines
713 B
Text

! Invalid number of arguments for pg create subcommand (accepts: 0, given: 1)
Create a PostgreSQL database
Usage:
ubi pg location/pg-name create [options]
Options:
-f, --flavor=type flavor
-h, --ha-type=type replication type
-s, --size=size server size
-S, --storage-size=size storage size GB
-v, --version=version PostgreSQL version
Allowed Option Values:
Flavor: standard paradedb lantern
Replication Type: none async sync
Size: standard-2 standard-4 standard-8 standard-16 standard-30 standard-60
burstable-1 burstable-2
Storage Size: 16 32 64 128 256 512 1024 2048 4096
Version: 16 17