Skip to content

Add EnvFlag util#378

Merged
alecthomas merged 5 commits into
alecthomas:masterfrom
artemklevtsov:env-file
Sep 16, 2023
Merged

Add EnvFlag util#378
alecthomas merged 5 commits into
alecthomas:masterfrom
artemklevtsov:env-file

Conversation

@artemklevtsov

Copy link
Copy Markdown
Contributor

Hi,

This PR adds the EnvFlag util type to read env-files. Used BeforeReset hook and godotenv package to load file.

@alecthomas alecthomas left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I appreciate the PR, I don't think this needs to belong in the core of Kong, particularly as it adds another dependency. It might be a good addition to the README however, if you'd like to adjust the PR?

@artemklevtsov

Copy link
Copy Markdown
Contributor Author

I added snippet to the README.md.

@alecthomas alecthomas merged commit 1e6f15f into alecthomas:master Sep 16, 2023
@alecthomas

Copy link
Copy Markdown
Owner

Thanks!

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.

2 participants