Convert the game config from the config file to env variables #3
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: metin2/server#3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Did some initial research on libraries that could help us.
.env
file. Is actively maintained.env
files, but does not validate or cast them. Not maintained.As it stands, I think libenvpp is a good fit for our needs. If we really want to use a
.env
file from disk, we could read it into the env, and then use libenvpp. Or we choose not to do the file reading and force the users tosource .env && game
for example.