Repository navigation
2.0.1 minor changes:
- Add version
- Add license on the top of the code
- Modifying
load()function with default read only 1 file (please setfalseif you want to read multiple environment files)
Note: A new dotenv-alt.h file has just added for non-OOP user if someone new in C++! You can even use it by this:
int main() {
dotenv::load(".env"); // dotenv::load(".env", false) for read 1 file `.env` only
std::cout << dotenv::get("YOUR_KEY") << '\n';
return 0;
}