GitHub
08/26/2025, 3:45 AM.env paths
Pull request opened by edgarrmondragon
## Description
A new CLI option --env-file that defaults to .env at the root of the project.
## Related Issues
• Closes #3447.
## Summary by Sourcery
Support specifying a custom .env file path via a new --env-file CLI option, update project loading to respect this path, and add corresponding tests and documentation.
New Features:
• Add --env-file CLI option to load environment variables from a custom .env file
Enhancements:
• Propagate custom dotenv file path through Project.find and dotenv resolution logic
Documentation:
• Document the new --env-file option in the command-line reference
Tests:
• Add CLI tests to verify handling of absolute and relative --env-file paths
meltano/meltanoGitHub
08/26/2025, 3:45 AMGitHub
08/26/2025, 4:21 AM