@wp-operations/wp-ops
v0.1.0
Published
Unified operations CLI and TUI for wp-operations monorepos: start, build, dev, doctor.
Maintainers
Readme
@wp-operations/wp-ops
The unified operations CLI for wp-operations monorepos. One binary, two faces:
TUI — run bare for the menu:
wp-opsWPOps banner, then: start an app, dev mode, build all packages, doctor, exit.
Plain commands — for scripts and muscle memory:
wp-ops start apps/my-theme --wp=classicpress
wp-ops dev apps/my-theme
wp-ops build # runs the build script of every package in packages/
wp-ops doctor # environment checksDoctor
wp-ops doctor verifies: node >= 18, git, composer (optional), filesystem symlink support (some filesystems need a copy-based installer instead of npm), wp-app resolvability, and the .local data directory.
How it finds things
Walks up from cwd to the repo root (wp-operations.json, .git, or package.json), then resolves wp-app from packages/wp-app/cli.js or an installed @wp-operations/wp-app. Apps are listed from wp-operations.json ("apps": { ... }) or by scanning apps/ and examples/.
License
GPL-2.0-or-later.
