Gets the value of an environment variable.
- Parameters
-
| name | The name of the environment variable to get. |
- Returns
- Returns lib::nullopt if the environment variable is not set. Otherwise, returns a std::string containing the value of the environment variable.