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.6Stable
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]

Use include: it assembles the browser interface from CSS and JavaScript packages. include -code adds the editor interface; include -hotkeys adds shortcuts. Neither is a PHP module installer

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 · 01

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.6
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 · 01
include
Prepared training result — the Play button does not modify your installation.
Storage   session
Packages  (none)
This example depends on the installed packages and repository state.
Include · -l
include -l
Prepared training result — the Play button does not modify your installation.
lil       1.1.22
hotkeys   1.1.3
code      1.1.1
xbig      1.1.1
xgeek     1.1.1
evelynspink  1.1.1
This example depends on the installed packages and repository state.
Include · -lil
include -lil -i
Prepared training result — the Play button does not modify your installation.
Package     lil
Version     1.1.22
Components  css + js
Installed   no
This example depends on the installed packages and repository state.
Include · -lil
include -lil
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -css
include -css
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -js
include -js
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -hotkeys
include -hotkeys
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -code
include -code
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -hotkeys
include -hotkeys -i
Prepared training result — the Play button does not modify your installation.
Package     hotkeys
Version     1.1.3
Components  css + js
Installed   no
This example depends on the installed packages and repository state.
Include · -code
include -code -v 1.1.1 -i
Prepared training result — the Play button does not modify your installation.
Package     code
Version     1.1.1
Components  css + js
Installed   no
This example depends on the installed packages and repository state.
Include · -hotkeys
include -hotkeys -v 1.1.3
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -lil
include -lil -s
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -hotkeys
include -hotkeys -s
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -hotkeys
include -hotkeys -u
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -code
include -code -u
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -css
include -css -u
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -js
include -js -u
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -u
include -u
Prepared training result — the Play button does not modify your installation.
In the actual terminal this operation may reload the interface.
LIL_RELOAD
Include · -missing-pac
include -missing-package -i
Prepared training result — the Play button does not modify your installation.
Interface package not found
Include · -code
include -code -i -u
Prepared training result — the Play button does not modify your installation.
?
Include · -hotkeys
include -hotkeys -code
Prepared training result — the Play button does not modify your installation.
Choose one interface package
Include · -code
include -code -v bad!
Prepared training result — the Play button does not modify your installation.
Invalid version

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.62026-10-31

Reliable interface dependencies

Installing a package with several dependencies preserves all required CSS and JavaScript components.