Open FredBuild opened 1 year ago
That can be really useful!
As of now, you can actually use both dotenv
& t3-env
in drizzle.config.ts
as a workaround.
Can i implement it in rust? @chungweileong94
Can i implement it in rust?
I don't have much experience with Rust, might be a bit overkill for simple feature like this, but I guess so? @juliusmarminge
Well, we could create this with typescript too.
Yeah, TS would be better, CI is a lot easy to setup.
Can you setup the environment to me? I wanna work it :D (CI, pnpm...)
Go for it!
@juliusmarminge, how can I send the project to you?
@juliusmarminge, how can I send the project to you?
You make a PR
@moliveiraz are you working on this? If not, I could take it :)
t3-env
is great for managing environment variables. However, there's a gap when it comes to command-line operations likedrizzle-kit db:push
.Currently, we use
dotenv-cli
to load environment variables:This method lacks a safety check for the loaded variables.
If we created a CLI for
t3-env
, it could safely load, transform, and verify these variables: