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.
4 lines
327 B
Plaintext
4 lines
327 B
Plaintext
location name id net4 net6
|
|
eu-central-h1 default-eu-central-h1 psfzm9e26xky5m9ggetw4dpqe2 172.27.99.128/26 fdd9:1ea7:125d:5fa4::/64
|
|
eu-central-h1 test-ps pshfgpzvs0t20gpezmz2kkk8e4 10.147.204.0/26 fdab:de77:9a94:fa69::/64
|