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.
8 lines
334 B
Text
8 lines
334 B
Text
! Invalid number of arguments for fw list subcommand (accepts: 0, given: 1)
|
|
|
|
Usage: ubi fw list [options]
|
|
|
|
Options:
|
|
-f, --fields=fields show specific fields (default: location,name,id)
|
|
-l, --location=location only show firewalls in given location
|
|
-N, --no-headers do not show headers
|