Take config through env. #122

Merged
arijitAD merged 3 commits from load-config-env into master 2022-01-20 18:18:10 +00:00
arijitAD commented 2021-12-03 14:42:04 +00:00 (Migrated from github.com)
fixes:https://github.com/vulcanize/ipld-eth-server/issues/119
i-norden reviewed 2021-12-16 16:08:25 +00:00
i-norden left a comment
Member

One comment/question:

One comment/question:
Member

What if we want to load some params from a .toml and others from a .env? These files won't necessarily be the same, I think we should introduce a new CLI flag for specifying a ENV file path distinct from the TOML config file path. What do you think?

What if we want to load some params from a .toml and others from a .env? These files won't necessarily be the same, I think we should introduce a new CLI flag for specifying a ENV file path distinct from the TOML config file path. What do you think?
arijitAD (Migrated from github.com) reviewed 2022-01-11 17:28:43 +00:00
arijitAD (Migrated from github.com) commented 2022-01-11 17:28:43 +00:00

I will update the code to use a different flag for CLI.

I will update the code to use a different flag for CLI.
i-norden approved these changes 2022-01-16 18:46:31 +00:00
i-norden left a comment
Member

LGTM, thanks for making the update

LGTM, thanks for making the update
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/ipld-eth-server#122
No description provided.