dotenv_elixir icon indicating copy to clipboard operation
dotenv_elixir copied to clipboard

A port of dotenv to Elixir

Results 8 dotenv_elixir issues
Sort by recently updated
recently updated
newest added

I try read private key example: ``` -----BEGIN EC PRIVATE KEY-----\ncontent\n-----END EC PRIVATE KEY----- ``` And i received no valid valor, because valor "\n" is replace to "\\\\n"

This one is kinda extreme, but I think the interface (and the package itself) can be simplified. The most important function of this package is its **parsing** of `.env` files....

It would be nice if you could provide a list of _optional_ files (something like how `vapor` defines a hierarchy of files -- see https://hexdocs.pm/vapor/Vapor.Provider.Dotenv.html#module-file-hierarchy) so you can easily allow...

The `System.put_env/1` call is pretty heavy-handed. It would be nice to allow an option to control whether values in an `.env` would overwrite existing ENV values or not. I'm thinking...

It would be useful to groom through the module and function docs so hexdocs can be as useful a reference (if not more) than the Github README.

In your README, you state that this isn't compatible with Elixir Releases because you can't use this module at compile time, which makes sense. But in Elixir 11, they added...

``` warning: variable "deps" does not exist and is being expanded to "deps()", please use parentheses to remove the ambiguity or change the variable name /app/deps/dotenv/mix.exs:8 warning: variable "find_env_path" does...

I think the precedence when loading multiple env files may be reversed from the original Dotenv.

bug