include

include composes optional CSS and JavaScript interface packages without changing PHP command modules. Packages can live only for the current session or be persisted in .lil.css and .lil.js.

SystemVersion 1.2.5Stable
lil-terminal

Overview

Use include to control the optional browser layer independently from the PHP core: load Base or code-editor assets for one session, pin an exact UI version for testing, save it locally, or remove saved assets through the shared kill -include cleanup path.

Interface packages do not change command code

include changes the browser layer, not the PHP implementation of commands. Session packages disappear with the session; -s creates persistent .lil.css/.lil.js, and kill -include returns the interface to the copy embedded in the core.

Syntax

lil-terminal
include [package] [options]

Reference

include [package] [options]

Install, inspect and remove composable browser-interface packages in session or persistent .lil.css/.lil.js storage.

Interactive sandbox preview

Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.

Include · include

Install and manage

Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.

Base and Minimum are two packages of the same current module release, not separate command versions.

Base package

Install the complete package with local command reference and every published mode.

install include
Minimum package

Install the reduced package. Local reference is omitted; help <cmd> -i opens the current server reference.

install include -m
Exact public version

Install exactly this published version.

install include -v 1.2.5
Check or update

Ask upgrade to check compatibility and replace the installed block only when needed.

upgrade include
Remove module

Remove the extension block while leaving the core and unrelated modules intact.

install include -u

Examples

Examples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.

Include · include
include -l | include lil -i
lil       1.11 · css+js
hotkeys   1.0  · js
code      1.0  · css+js

Package     lil
Version     1.11
Components  css + js
Installed   no
Include · -lil
include -lil -v 1.0
Package  lil
Version  1.0
Mode     session
Include · -hotkeys
include -hotkeys -v 1.0
Package  hotkeys
Version  1.0
Mode     session
Include · -hotkeys
include -hotkeys -v 1.0 -s
Package  hotkeys
Version  1.0
Saved    .lil.js
Include · -hotkeys
include -hotkeys -i -v 1.0
Package     hotkeys
Version     1.0
Components  js
Installed   yes
Include · -hotkeys
include -hotkeys -u
Package  hotkeys
Removed  yes
Include · -code
include -code -v 1.0 -i
Package     code
Version     1.0
Components  css + js
Installed   yes
Include · -code
include -code -v 1.0 -u
Package  code
Removed  yes
Include · -i
include missing-package -i
Interface package not found

File used in this example: sandbox/public/assets/style.css

The example uses a file or directory from the protected /sandbox/ documentation workspace.

:root {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #08090b;
  color: #d7d9dd;
}

.card {
  width: min(32rem, calc(100% - 2rem));
  padding: 1.5rem;
  border: 1px solid #30343a;
  border-radius: .75rem;
}

Related documentation

Current public release

v1.2.52026-08-11

Stable UI package composition

Keeps the Base UI layer first so code and hotkeys packages can be combined without disabling keyboard behavior.