I’m aware of Newman (and I’m already using it for some automations), but I was wondering if there are parameters/options similar to
-e <environment> which could be used to select the default Postman environment to be selected when opening the Client. I tend to use environments profusely and I cannot find a way of linking them automatically to the collections. I was thinking that if there would be a command line option to (on Mac)
/Applications/Postman.app/Contents/MacOS/Postman I can use my toolchain (which relies heavily in
.direnv) to keep all information related to a project contained within the same project space (Postman API tests/explorations, proper clients/servers, etc.) It would allow easier switching across projects and less mistakes.
I couldn’t find anything in the documentation.