wp-cli-local - WP-CLI for Local by Flywheel
Safe WP-CLI execution for Local by Flywheel via wrapper, including explicit site resolution before mutating operations.
Tags
Updated: 2026-09-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Execute WP-CLI commands via wrapper
- Auto-detect target Local site
- Override target site explicitly
- List Local sites and statuses
- Manage WordPress plugins and options
- Flush WordPress cache and transients
- Export and import database backups
- Evaluate PHP code and scripts
Inputs
- Wrapper script path
- WP-CLI commands and arguments
- Target Local site name
- Local sites configuration file
Outputs
- WP-CLI command output
- Local site list and status
- Database backup file
Requirements
- macOS operating system
- Local by Flywheel installed
- WP-CLI in PATH
- python3 environment
- Target Local site running
