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

make a setEnv method #8

Open
gkpty opened this issue Aug 3, 2020 · 0 comments
Open

make a setEnv method #8

gkpty opened this issue Aug 3, 2020 · 0 comments

Comments

@gkpty
Copy link
Contributor

gkpty commented Aug 3, 2020

this method will call the toml parser object for the file located at ~/.torus/config
then it will iterate through the object and set env vars like below

for(let elem in obj) for(let key in obj[elem]) process.env[key] = obj[elem][key]

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

No branches or pull requests

1 participant