Skip to content

Add function like env:export to make .env files from site config #3262

@N0K0

Description

@N0K0

Is your feature request related to a problem? Please describe.

When moving from one dev machine to an other i want to be able to quickly setup my .env file with secrets.

Describe the solution you'd like
I'm already using the env:import command to move all the .env content into netlify, that same system could be reversed to setup the new dev environment

Describe alternatives you've considered
At this time i can use env:list and write the file manually, but having an env:export which automatically formats the output would be nice

Additional context

Add any other context or screenshots about the feature request here.

Can you submit a pull request?

No. I don't really trust my own skills, but will look into it based on the env:list when i get some time.

Pull requests are welcome! If you would like to help us add this feature, please check our
contributions guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions