The dotenv Reference Manual

This is the dotenv Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Jan 15 06:01:45 2023 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 dotenv

Ease pain with working with .env files.

Author

Victor Polevoy <>

License

MIT

Version

0.1.0

Dependency

str (system).

Source

dotenv.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 dotenv/dotenv.asd

Source

dotenv.asd.

Parent Component

dotenv (system).

ASDF Systems

dotenv.


3.1.2 dotenv/package.lisp

Source

dotenv.asd.

Parent Component

dotenv (system).

Packages

dotenv.


3.1.3 dotenv/dotenv.lisp

Dependency

package.lisp (file).

Source

dotenv.asd.

Parent Component

dotenv (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 dotenv

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: load! (&optional names)

Reads provided .env files.

Package

dotenv.

Source

dotenv.lisp.

Function: read-vars (vars)

Reads provided environment variables into *dot-env-data*.

Package

dotenv.

Source

dotenv.lisp.

Function: value (name &optional default)

Reads the .env or env variable with such name. Returns passed default value or nil if not found

Package

dotenv.

Source

dotenv.lisp.


5.2 Internals


5.2.1 Special variables

Special Variable: *dot-env-data*
Package

dotenv.

Source

dotenv.lisp.


5.2.2 Ordinary functions

Function: get-env (name &optional default)
Package

dotenv.

Source

dotenv.lisp.

Function: parse-env-string (string)

Reads environment string (KEY=VALUE). Returns the pair on success, NIL otherwise.

Package

dotenv.

Source

dotenv.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables

Jump to:   *  
S  
Index Entry  Section

*
*dot-env-data*: Private special variables

S
Special Variable, *dot-env-data*: Private special variables