lpm-cli

Featured

Operate lpm-managed projects through the `lpm` CLI: start or stop projects and services, inspect logs and agent status, wait for readiness, run actions, and duplicate projects into standalone copies or create linked Git worktrees. Use when the user asks to operate or inspect lpm runtime state. `LPM_PROJECT_NAME` selects the default project after the skill triggers; it is not a trigger by itself. For editing YAML configuration, use `lpm-config`.

Code & Development 159 stars 9 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

`lpm` is a command-line companion to the lpm desktop app. Verify it is available with `lpm --version`; if it is missing, install it from the lpm app's Settings. ### Key facts - The project name is inferred from `LPM_PROJECT_NAME` or the current directory — omit it inside lpm terminals. - Default output is compact text (cheapest); add `--json` only when you need to parse the result. - Exit codes: `0` ok, `2` usage / not found / app not running, `1` failure / timeout. - `config get`, `config apply`, and control commands need the lpm app running; other inspection commands do not. ### Commands - `lpm list` — all projects, running state, agent counts. - `lpm project [name] [--full]` — one project in full (`--full` adds env maps, action details, terminal history). - `lpm config resolve [--cwd PATH] [--json]` — match a directory to its deepest project root without using `LPM_PROJECT_NAME`. - `lpm config validate <file> [--json]` — validate syntax, fields, layer rules, and effective merged configuration. - `lpm config get --layer project|repo|global|template [--project NAME | --template NAME] [--create] [--json]` — read a config layer with the revision required for a safe write. - `lpm config apply --layer project|repo|global|template [--project NAME | --template NAME] [--create] --if-revision HASH (--stdin | --file PATH) [--json]` — validate a candidate and atomically apply it through the running app. Never edit a live config file directly. - `lpm logs [service] [-n 30] [-p proj...

Details

Author
gug007
Repository
gug007/lpm
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category