LivebookEnv (livebook_env v1.0.0)
A tiny utility for importing .env files into Livebooks.
Link to this section Summary
Functions
Import a .env file into your current Livebook.
Link to this section Functions
Link to this function
import_dotenv(envfile_path)
Import a .env file into your current Livebook.
Assuming you have a .env file containing FOOBAR=123
:
examples
Examples
iex> LivebookEnv.import_dotenv("/Users/alex/myproject/.env)
{:ok, "Imported 1 variable(s): FOOBAR"}