I'm looking to get in some environment variables in my TS module code, but I believe after reading some other threads, the access to the environment is kinda locked up with Dagger for security reasons.
I noticed a solution of having a shell script and a command to export the env variables to a file and then use that file to get them into the module to use.
Would I be correct in saying, the key is to basically wrap the Dagger CLI in scripting or code and use args in the commands to get the env variables in the environment, where the CLI is running, into the module?
Is there perhaps an easier way and am I completely off with what I read and understood?