Config currently reads ./.env in the working directory only. Add a --env-file PATH flag to point at an explicit env file, and consider searching parent directories (as python-dotenv did) so the tool works from subdirectories of a docs repo.
Precedence remains flag > environment variable > .env file; --env-file just changes which file is read. Ref: internal/client.Resolve / loadDotenv.
Config currently reads
./.envin the working directory only. Add a--env-file PATHflag to point at an explicit env file, and consider searching parent directories (as python-dotenv did) so the tool works from subdirectories of a docs repo.Precedence remains flag > environment variable > .env file;
--env-filejust changes which file is read. Ref:internal/client.Resolve/loadDotenv.