Skip to content

WP-CLI ​

VX adds its own command families to WP-CLI. Run them from the WordPress root, and add --user=<admin> for commands that need an administrator.

wp vx-framework config ​

Inspect, export, import, override and reset configuration. The full reference is in WP-CLI config commands.

bash
wp vx-framework config list
wp vx-framework config status --strict
wp vx-framework config export fieldsets book_details --write
wp vx-framework config import model.zip --plan

wp vx-framework abilities ​

Run any VX ability from the shell: the same operations AI assistants use, with the same validation, activity log and undo.

CommandDoes
wp vx-framework abilities list [--mode=read|validate|write] [--mcp]Lists abilities. --mcp shows only those exposed to AI clients.
wp vx-framework abilities run <ability> [--input=<json>]Runs one ability with a JSON input.
wp vx-framework abilities blueprint [--section=<sections>] [--managed-only]Prints the site's data model.
wp vx-framework abilities mcpShows whether MCP is on, its address, and the exposed tools.
bash
# Find Books missing a publisher
wp vx-framework abilities run vx-framework/count-posts --user=admin \
  --input='{"post_type":"book","field_filters":[{"field":"publisher","op":"empty"}]}'

# Check a change without saving it
wp vx-framework abilities run vx-framework/update-post-type --user=admin \
  --input='{"key":"book","config":{"exclude_from_search":"enabled"},"dry_run":true}'

# Review recent changes, and undo one
wp vx-framework abilities run vx-framework/list-changes --user=admin
wp vx-framework abilities run vx-framework/undo-change --user=admin --input='{"id":128,"dry_run":true}'

Changes made this way are logged with the origin cli.

wp vx-framework license ​

Activate and manage the site's license. See License.

bash
wp vx-framework license status
wp vx-framework license activate VX-ACDEF-GHJKL-MNPQR-TUVWX --environment=development
Technical details for LLMs
  • abilities blueprint --section: any of post_types, taxonomies, fieldsets, field_types, dynamic_data; --format supported on list, blueprint, run, mcp.
  • abilities run executes through the same wp_get_ability()->execute() path, including the manage_options check (hence --user). The input shape for write abilities: vx-framework/describe-abilities.
  • Commands exit non-zero on failure.

Documentation for the VX Framework.