Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set env variables from a file #950

Merged
merged 13 commits into from
May 24, 2023
Merged

Conversation

francois2metz
Copy link
Contributor

@francois2metz francois2metz commented May 20, 2023

This add a new flag --file to the env-set subcommand to read from an env file or read from stdin.

This should fix #782

  • Add a changelog entry in the section "To Be Released" of CHANGELOG.md

env/edit.go Outdated Show resolved Hide resolved
@EtienneM EtienneM self-assigned this May 22, 2023
@Soulou Soulou requested a review from EtienneM May 22, 2023 09:59
go.mod Show resolved Hide resolved
env/edit.go Outdated Show resolved Hide resolved
env/edit.go Outdated Show resolved Hide resolved
env/edit.go Outdated Show resolved Hide resolved
@EtienneM EtienneM merged commit 1126738 into Scalingo:master May 24, 2023
@francois2metz francois2metz deleted the setenvfromfile branch May 24, 2023 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[env] Have an option to set variables from a .env file on the env-set command
3 participants