jdalrymple / gitbeaker

🦊🧪 A comprehensive and typed Gitlab SDK for Node.js, Browsers, Deno and CLI
Other
1.5k stars 283 forks source link

.env file not actually checked? #3578

Closed joshuahhh closed 1 month ago

joshuahhh commented 2 months ago

https://www.npmjs.com/package/@gitbeaker/cli indicates env vars can "be set globally or using a .env file in the project folder." But this doesn't work for me, and looking through the source code, it doesn't seem like any code in this repo imports dotenv or otherwise accesses a .env file. (I might be missing something tho.) Thanks!

jdalrymple commented 2 months ago

Looks like either I mistyped or lost some functionality along the way. I'll determine which and follow up! Sorry for the inconvenience.

jdalrymple commented 1 month ago

So i did some digging and apparently we've never supported that at all -_-. Perhaps it was an idea when i first put together the library, but never implemented it to reduce deps. I'll remove it from the docs to get rid of the confusion.