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
174 B
Plaintext
4 lines
174 B
Plaintext
name id
|
|
default-eu-central-h1-default fw4gj2v4h1fe3q28q0hnf7g8n1
|
|
test-ps-default fwx623er9tyy2q9n1e2c55kvkc
|