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
311 B
Plaintext
11 lines
311 B
Plaintext
! Invalid option: -X
|
|
|
|
Usage: ubi vm location/(vm-name|_vm-ubid) [options] subcommand [...]
|
|
|
|
Options:
|
|
-4, --ip4 use IPv4 address
|
|
-6, --ip6 use IPv6 address
|
|
-u, --user user override username
|
|
|
|
Subcommands: create destroy scp sftp show ssh
|