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.
35 lines
2.1 KiB
Plaintext
35 lines
2.1 KiB
Plaintext
Usage: ubi fw list [options]
|
|
Usage: ubi fw location/(fw-name|_fw-ubid) add-rule cidr
|
|
Usage: ubi fw location/(fw-name|_fw-ubid) attach-subnet subnet-id
|
|
Usage: ubi fw location/fw-name create [options]
|
|
Usage: ubi fw location/(fw-name|_fw-ubid) delete-rule rule-id
|
|
Usage: ubi fw location/(fw-name|_fw-ubid) destroy [options]
|
|
Usage: ubi fw location/(fw-name|_fw-ubid) detach-subnet subnet-id
|
|
Usage: ubi fw location/(fw-name|_fw-ubid) show [options]
|
|
Usage: ubi help [options] [command [subcommand]]
|
|
Usage: ubi pg list [options]
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) add-firewall-rule cidr
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) add-metric-destination username password url
|
|
Usage: ubi pg location/pg-name create [options]
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) delete-firewall-rule id
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) delete-metric-destination id
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) destroy [options]
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) failover
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) [options] pg_dump [pg_dump-options]
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) [options] pg_dumpall [pg_dumpall-options]
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) [options] psql [psql-options]
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) reset-superuser-password new-password
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) restore new-db-name restore-time
|
|
Usage: ubi pg location/(pg-name|_pg-ubid) show [options]
|
|
Usage: ubi ps list [options]
|
|
Usage: ubi ps location/ps-name create [options]
|
|
Usage: ubi ps location/(ps-name|_ps-ubid) destroy [options]
|
|
Usage: ubi ps location/(ps-name|_ps-ubid) show [options]
|
|
Usage: ubi vm list [options]
|
|
Usage: ubi vm location/vm-name create [options] public_key
|
|
Usage: ubi vm location/(vm-name|_vm-ubid) destroy [options]
|
|
Usage: ubi vm location/(vm-name|_vm-ubid) [options] scp [scp-options] (local-path :remote-path | :remote-path local-path)
|
|
Usage: ubi vm location/(vm-name|_vm-ubid) [options] sftp [sftp-options]
|
|
Usage: ubi vm location/(vm-name|_vm-ubid) show [options]
|
|
Usage: ubi vm location/(vm-name|_vm-ubid) [options] ssh [ssh-options --] [remote-cmd [remote-cmd-arg ...]]
|