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 an MCP server for AI agents.

ldev logo
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, project bootstrap and an MCP server with 18 tools — so an agent can run the same workflows you run, without a custom integration. Start with ldev ai install --target ..

Learn more →
ldev fills the automation gaps that Liferay does not.

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