Alias WP-CLI
summary
Demonstrates using WP-CLI Alias to run arbitrary WP-CLI commands on remote servers over SSH keys without interactive login, shows cloning a remote site to local in four commands and then as one piped command (no temp files), reports 74 replacements during a search-replace step, builds a reusable bash script named client import database that becomes executable and lives in ~/bin, and verifies the workflow works end-to-end—creates backups, imports DB, runs search‑replace and flushes permalinks.
AI-written summary · about
chapters (13)
- 0:00WP-CLI aliases intro
- 3:56Fix login URL issues
- 7:58SSH keys for remote aliases
- 10:09Remote aliases setup
- 13:03Local aliases setup
- 14:12Group aliases for batch ops
- 17:45Install plugins multi-site
- 18:06Clone remote site locally
- 23:22One-command site clone
- 26:20Automate tasks with bash
- 30:21Reusable scripts with vars
- 37:12Advanced WP-CLI scripts
- 39:03Closing
related talks
34mWP-CLI for PHP developers
37mCLI's Aren't As Easy As You Might Think
47mIn Depth Composer
29mDeploying PHP applications with Ansible, Ansible Vault and Ansistrano
48mModernizing The WordPress Toolbox
01h 02mHacking Wordpress, a Crash Course in Writing Plugins and Widgets
48mWordPress for the Modern PHP Developer
53mBuilding Artisan Commands
