Files
ubicloud/spec/routes/api/cli/golden-files/pg eu-central-h1_test2-pg create invalid.txt
Jeremy Evans 355f7d3f97 Restructure CLI help to support command descriptions
This provides descriptions for all commands.  Command help now
uses the following format:

```
DESCRIPTION

Usage:
    BANNERS

Commands:
    COMMAND    DESCRIPTION

Post Commands:
    COMMAND    DESCRIPTION

Options:
    OPTION     DESCRIPTION

Post Options:
    OPTION     DESCRIPTION
```

This required substantial changes to rodish, so this updates to the
current head of rodish.

Other minor changes:

* Use "virtual machine" instead of "VM" in command help

* Use "command" or "post-command" instead of "subcommand" in usage

* Use "ps-id" instead of "subnet-id" in {at,de}tach-subnet command usage

* Use "rule-id" instead of "id" in delete pg firewall rule usage

* Use "md-id" instead of "id" in delete pg metric destination usage

* Avoid literal "Usage: " in help -u output
2025-03-13 09:20:15 -07:00

14 lines
529 B
Plaintext

! 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 (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)