Instead of parsing file names and basing the commands on those, store the commands in files, so that you can edit files to change which commands are run. This makes the file names for the golden files match the command being run, other than replacing / with _. To add commands for golden files, edit the files in the spec/routes/api/cli/golden-file-commands folder.
11 lines
495 B
Plaintext
11 lines
495 B
Plaintext
! Invalid number of arguments for pg create subcommand (accepts: 0, given: 1)
|
|
|
|
Usage: ubi pg location/pg-name create [options]
|
|
|
|
Options:
|
|
-f, --flavor=type flavor (standard, paradedb, lantern)
|
|
-h, --ha-type=type replication type (none, async, sync)
|
|
-s, --size=size server size (standard-{2,4,8,16,30,60})
|
|
-S, --storage-size=size storage size GB (64, 128, 256)
|
|
-v, --version=version PostgreSQL version (16, 17)
|