Closed yasainet closed 2 weeks ago
.gitignore contains /node_modules, .env, etc. I want to exclude /node_modules as is, but include .env in the output.
.gitignore
/node_modules
.env
For example, to ensure that Claude and ChatGPT understand when .env is present, as shown below.
My rule of thumb is that strictly directing the location of files when interacting with AI makes development go very smoothly.
So, you need to read .env only when running code2prompt. Is there a good way to do this?
code2prompt
.gitignore
contains/node_modules
,.env
, etc. I want to exclude/node_modules
as is, but include.env
in the output.For example, to ensure that Claude and ChatGPT understand when
.env
is present, as shown below.My rule of thumb is that strictly directing the location of files when interacting with AI makes development go very smoothly.
So, you need to read
.env
only when runningcode2prompt
. Is there a good way to do this?