wp-cli-local
Installation
SKILL.md
WP-CLI for Local by Flywheel
Run WP-CLI commands against Local sites using the wrapper script bundled with this skill.
Never run bare wp commands. Always use the wrapper:
bash {{SKILL_DIR}}/scripts/wp <wp-cli-command...>
Site Detection
The wrapper auto-detects the site by matching the current working directory against site paths in Local's sites.json. No site name argument is needed when the terminal is inside a Local site directory.
WP="bash {{SKILL_DIR}}/scripts/wp"