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

feat: supporting load environment variables from .env file #202

Closed
wants to merge 1 commit into from

Conversation

fffzlfk
Copy link

@fffzlfk fffzlfk commented Jun 24, 2023

No description provided.

@j178
Copy link
Owner

j178 commented Jun 24, 2023

Hi, thank you for opening this!

I'm not sure if loading environment variables from a .env file is something that leetgo should do. Can you please explain your use case and why this feature is needed?

@fffzlfk
Copy link
Author

fffzlfk commented Jun 25, 2023

Hi, thank you for opening this!

I'm not sure if loading environment variables from a .env file is something that leetgo should do. Can you please explain your use case and why this feature is needed?

Thank you for your reply

Because I think it's a bit troublesome to export LEETCODE_SESSION and LEETCODE_CSRFTOKEN manually, but it would be much easier to put them in the dotfile and load them automatically.

If you think this is not something leetgo should do, please close this pr, thanks again

@fffzlfk fffzlfk closed this Jul 9, 2023
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