Native support for .env files
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 316
- Forks
- 98
- Avg merge
- 12h 32m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
@oclif/core should natively support .env files using process.loadEnvFile
Describe the solution you'd like
Call process.loadEnvFile at the beginning of run using path set in settings
The call should be gated by a check for the node version to avoid any runtime errors.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the beginning of the run entry point and inspect how the path is provided through settings. Confirm the Node version check prevents calls to process.loadEnvFile where it is unavailable, and that supported versions load the configured .env file; the issue does not name a test file to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100