Add CLI tool to generate .example.env #370
arashi-dev
started this conversation in
Ideas
Replies: 1 comment
-
A 2nd Idea is to build a more standard library for generation that generates .env files based standard-schema, (publishes 2 packages: A CLI and a library for programmatic usecase) then we can add this library to the T3 CLI for more smooth usage! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be useful if we have an official CLI tool for T3 to generate the
.example.env
file for us based on theenv.ts
schema, which let's us have a ready boilerplate for large env schema and easily set required values while seeing the definitions in the same place, and also a sync standard documentation (.example.env
) for team members that do not know aboutt3-env
.Features that can be included:
.env
file with default nameexample
but can be overridden from cli argumentsI wanted to code it as a 3th party tool but it would be better if it becomes official (I can contribute though)
Beta Was this translation helpful? Give feedback.
All reactions