Skip to content

Support for dumping to a .env file? #502

@mattwwarren

Description

@mattwwarren

I took a cursory glance through the code and it looks like the library supports loading files but not writing them back out. Would you be interested in that contribution? I need to write it for $JOB and would prefer it lives here.

Thanks in advance!

Activity

linked a pull request that will close this issue on Feb 20, 2024
theskumar

theskumar commented on Mar 28, 2025

@theskumar
Owner

The library currently supports writing a specific key value with set command.

https://github.com/theskumar/python-dotenv?tab=readme-ov-file#command-line-interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @theskumar@mattwwarren

      Issue actions

        Support for dumping to a .env file? · Issue #502 · theskumar/python-dotenv