~/talk

Alias WP-CLI

Talkat PHP UK Conference 2024 · 2024-02-15..02-16· [php]
slides:none on file

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

  1. 0:00WP-CLI aliases intro
  2. 3:56Fix login URL issues
  3. 7:58SSH keys for remote aliases
  4. 10:09Remote aliases setup
  5. 13:03Local aliases setup
  6. 14:12Group aliases for batch ops
  7. 17:45Install plugins multi-site
  8. 18:06Clone remote site locally
  9. 23:22One-command site clone
  10. 26:20Automate tasks with bash
  11. 30:21Reusable scripts with vars
  12. 37:12Advanced WP-CLI scripts
  13. 39:03Closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.