The cl-env Reference Manual

This is the cl-env Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:51:47 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 cl-env

Easily parse .env files. That’s it!

Author

Evan M Jones (https://evanjon.es/) <>

License

MIT

Source

cl-env.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 cl-env/cl-env.asd

Source

cl-env.asd.

Parent Component

cl-env (system).

ASDF Systems

cl-env.


3.1.2 cl-env/package.lisp

Source

cl-env.asd.

Parent Component

cl-env (system).

Packages

cl-env.


3.1.3 cl-env/cl-env.lisp

Dependency

package.lisp (file).

Source

cl-env.asd.

Parent Component

cl-env (system).

Public Interface
Internals

split (function).


4 Packages

Packages are listed by definition order.


4.1 cl-env

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

split (function).


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: getenv (key &key default)

Small wrapper around (uiop:getenv). :default always you to specify a default variable. If the current environment does not have a value.

Package

cl-env.

Source

cl-env.lisp.

Function: init (&optional filepath)

Reads the environment file, splits it up, and injects into current environment.

Package

cl-env.

Source

cl-env.lisp.


5.2 Internals


5.2.1 Ordinary functions

Function: split (somestring &key delim)

Simple function, similar to String.prototype.split in JavaScript

Package

cl-env.

Source

cl-env.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables