Guides

WP-CLI Commands

Beginner~5 min

Use the actual WP-CLI commands shipped by the runtime to scaffold modules, activate them, inspect status, and manage safe mode.

Prerequisites

  • Shell access to the WordPress install.
  • WP-CLI installed and able to run against the site.
  • The Meteorack runtime plugin activated.

What You Will Finish With

  • Scaffold, activate, deactivate, and list modules from the CLI.
  • Inspect runtime status and safe mode without using wp-admin.
  • Reach for the current commands instead of outdated aliases from older docs.

Module commands

The modules namespace currently covers scaffolding, activation, deactivation, and listing.

wp meteorack scaffold my-module
wp meteorack modules scaffold my-module
wp meteorack modules activate my-module
wp meteorack modules deactivate my-module
wp meteorack modules list

Runtime status

Use the top-level commands to inspect site/runtime status, safe mode, and clear Meteorack caches.

wp meteorack status
wp meteorack safe-mode status
wp meteorack clear-cache