Getting a site onto your machine used to be the one step SpinupTUI left you to do by hand. Now it's a keypress — or a command an agent can run.
Highlights
- Clone a local working copy from production (
L→c). On a site you have no copy of yet,Lnow offers a choice:eto type in a path you already have, orcto build the copy. It pulls the code down —git clonefor git-deployed sites,rsyncover SSH for the rest — runscomposer installfor Bedrock/Radicle, links the result, and hands off to the DB pull (p) and media fallback (m) you already know. Your local database and webserver config are never touched. - The same thing from the command line.
spinuptui pull files <domain> [path]andspinuptui pull db <domain> --yesdrive the identical engines with no TUI. Progress goes to stderr, the result to stdout — with--json, one object, exit code mirroringok, and every failure carrying a stablereasonplus aremedynaming the exact command that fixes it. Built so "pull that site down for local dev" can be handed to an agent. --server <name>everywhere a domain is resolved (ssh,ssh-exec, bothpullcommands). A domain can legitimately live on two servers — a clone destination, a staging twin — and those sites were previously unreachable from the CLI: the ambiguity could be reported but never resolved. It now lists what matched and names the flag that picks one.- Search gets the full-width Control drawer from the Servers tab, instead of swapping its right-hand panel between Details and Actions. The Details pane stays put while you browse, and both views now share one control component, so they can't drift apart again.
Notes
- A cloned copy needs its database credentials pointed at your machine before
pull dbwill run, and the app now says so at the point it matters. The file pull brings the site's realwp-config.phpdown — production credentials and all — so local WP-CLI would otherwise authenticate as the production DB user and be denied. A Bedrock/Radicle clone has the opposite problem:.envisn't in the repo, so the checkout arrives without one. Both cases are flagged on the clone screen and again on a failed pull. wp-content/uploadsis deliberately skipped (that's what the media fallback is for), as areobject-cache.phpandadvanced-cache.php— SpinupWP's Redis drop-in doesn't degrade quietly without Redis, it 500s on a cache miss.- The clone honors the layout rules the rest of the app does: it takes the site's whole files root, so a
public/-style webroot bringswp-config.phpdown from the directory above it, and the real webroot is detected on the server rather than inferred from thepublic_foldersetting.
Fixed
K(grant SSH key) andV(create/resume vanity site) now work on server results in Search, not just site results — both were advertised in the legend and silently did nothing.- A failed local-database backup no longer leaves a fake backup behind. The pre-import dump created its file before it could fail, leaving a bare
.sql— empty, or worse, partial — sitting insql/looking like a safety net.