Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--env-file should be accepted multiple times for retro compatibility with nodejs #26425

Closed
ohardy opened this issue Oct 20, 2024 · 3 comments · Fixed by #26527
Closed

--env-file should be accepted multiple times for retro compatibility with nodejs #26425

ohardy opened this issue Oct 20, 2024 · 3 comments · Fixed by #26527
Labels
cli related to cli/ dir feat new feature (which has been agreed to/accepted) good first issue Good for newcomers

Comments

@ohardy
Copy link

ohardy commented Oct 20, 2024

This code works with nodejs:

node --env-file=local.env --env-file=.env

But not with Deno:

deno --env-file=local.env --env-file=.env
error: the argument '--env-file[=<FILE>]' cannot be used multiple times

Yet, it is very useful, or have an additional flag besides –env-file to tell Deno to merge with the .env file as well, if it exists

@dsherret dsherret added good first issue Good for newcomers feat new feature (which has been agreed to/accepted) labels Oct 20, 2024
@lucacasonato lucacasonato added the cli related to cli/ dir label Oct 21, 2024
@bp7968h
Copy link
Contributor

bp7968h commented Oct 21, 2024

Hi @dsherret and @ohardy, can this be assigned it to me please

@bartlomieju
Copy link
Member

Feel free to work on it

@bp7968h
Copy link
Contributor

bp7968h commented Oct 24, 2024

Hi @bartlomieju, can you please help me on this, like when I change something and run test, it takes like about 1hr to run the build and all the tests, so is it because I have 8gb ram, or like am I missing something. Do i need to run all the test can you please advise on this please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli related to cli/ dir feat new feature (which has been agreed to/accepted) good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants