Skip to content

ldevLiferay, scriptable.

A CLI for the Liferay operations that today only live in the admin UI — import/export, structure migration, environment bootstrap, isolated worktrees, and agent workflows.

ldev logo
Resolve an issue

Watch an agent use ldev end to end

The agent inspects the task, changes the repo, and drives the fix through the ldev workflow.

bash
npm i -g @mordonezdev/ldev
01

Inspect in one pass

bash
ldev portal inventory sites --json
ldev portal inventory pages --site /global --json
ldev portal inventory page --url /home --json

Consolidated portal context — sites, pages, structures and templates — in single structured calls. For humans, scripts and agents.

02

Resources as files

bash
ldev resource export-structures --all-sites
ldev resource import-structures --check-only
ldev resource import-structures --apply

Structures, templates, ADTs and fragments out of the UI and into Git. Preview with --check-only, then apply.

03

Migrate structures

bash
ldev resource migration-init --site /global --structure STR_ARTICLE
ldev resource migration-pipeline --migration-file STR_ARTICLE.migration.json --check-only --migration-dry-run
ldev resource migration-pipeline --migration-file STR_ARTICLE.migration.json

Plan, validate and run a structure migration with article-level mapping. The workflow Liferay does not give you.

Built for agents

JSON outputs, installed skills, and project bootstrap — so an agent can run the same workflows you run, without a custom integration. Start with npx skills add https://github.com/mordonez/ldev.

Learn more →
More agent workflows

Start issue work without touching main

Create an isolated worktree so the agent can begin safely from the current repository.

Start in a worktree

The agent creates an isolated worktree so issue work can begin without disturbing the main checkout.

Open video
ldev fills the automation gaps that Liferay does not.

@mordonezdev/ldev for operational Liferay maintenance workflows. Built by Miguel Ordóñez