Skip to content

Native support for .env files #1075

@mdonnalley

Description

@mdonnalley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions