CLI Overview
The lip CLI is the primary interface for managing packages. It provides commands for installing, updating, and managing dependencies.
Global Options
| Option | Description |
|---|---|
-h, --help | Show help for lip or for a command (e.g. lip install --help). |
-v, --version | Print the version of lip. |
lip without arguments opens the interactive interface when it runs in a terminal, and prints help otherwise (in a script or a pipe).
Some commands accept --json to print their result as JSON: config get, config list, daemon status and list. pkg view always prints JSON.
setup, install, uninstall and update install the packages of the platform win-x64 into the workspace, whatever system lip runs on (see Environment); the Linux server is the variant github.com/LiteLDev/bds#linux. setup chooses the game (the server) and the loader (LeviLamina) of the workspace; install and update never change them. lip manages server workspaces only.
Commands
Commands for running a server:
lip cache clean: Clean the local cache.lip config: Get, set, list, and delete configuration values.lip install: Install packages.lip list: List installed packages.lip run: Run the server of the workspace.lip self-update: Update lip itself to its latest release.lip setup: Choose the game and the loader of the workspace.lip uninstall: Uninstall packages.lip update: Update packages.
Every command except lip daemon is carried out by the daemon of lip, a background process of your user that the first command starts; it behaves exactly as if the lip you started carried it out. The command group daemon shows and stops it:
lip daemon status: Show whether the daemon runs.lip daemon stop: Stop the daemon.
Commands for developing packages, in the command group pkg:
lip pkg init: Create alip.tomlfor a new package.lip pkg migrate: Migrate thetooth.jsonof lip v0.x in the current directory tolip.toml.lip pkg pack: Pack a directory into a ZIP archive.lip pkg view: Show the package file and the versions of a package.
lip pkg --help, lip cache --help, lip config --help and lip daemon --help show the commands of a group. Earlier versions of lip had lip init, lip pack, lip view, lip versions and lip migrate; they are now lip pkg init, lip pkg pack, lip pkg view (which also lists the versions) and lip pkg migrate.