Skip to content

make a setEnv method #8

@gkpty

Description

@gkpty

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions