Been using the Postman CLI tool for a couple weeks, I can see that environments can be passed into the command line using a UID, but global variables are done using either a file path or adding them directly to the command.
Have I understood this correctly and is it possible to pass a UID to use the global variables on a collection run.
Global variables are shared across a workspace and hence only available within the context of that workspace. To use a variable on the CLI, you have to use an environment variable like you suggested or store this variable in a different file.