Skip to content

Allow multiple env file loads #89

@NickLarsenNZ

Description

@NickLarsenNZ

Allow multiple env file loads, with subsequent definitions overriding previous.

dotenv -f global.env -f instance1.env <command>
dotenv -f global.env -f instance2.env <command>

The nodejs dotenv CLI does this with multiple -e options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions