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

[Feature]: automatically load environment variables if a dotenv file is detected within the project root #201

Closed
1 task done
purpleclay opened this issue Dec 26, 2024 · 0 comments · Fixed by #202
Closed
1 task done
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@purpleclay
Copy link
Owner

Describe your feature

Include support for automatically loading environment variables into the nsv execution context. This allows environment variables to be set for use within hooks etc. It is also an important feature that will enable functionality such as CI Detection within a Dagger context.

Ensure the order of precedence when setting variables remains the same:

  1. CLI flags; followed by
  2. Explicit Environment Variables; followed by
  3. DotEnv Global Environment Variables

Any additional information?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
1 participant