v0.21.0
New Feature
-
strut remote:init— Bootstrap strut on a remote VPS (#95, #97)New command that sets up strut on a remote host in one step:
strut my-stack remote:init --env prod strut remote:init --host compass.local --user gfargo --key ~/.ssh/id_rsaWhat it does:
- Tests SSH connectivity
- Checks if strut is already installed (reports version/branch if so)
- Clones the project repo (uses GH_PAT or interactive auth)
- Makes strut executable and verifies it works
Supports
--dry-run,--repo,--branch,--deploy-dirflags.
Improvements
- Better error messages:
vps_update_reponow suggestsremote:initwhen the deploy directory doesn't exist on the VPS, instead of a generic failure message.
Install / Upgrade
curl -fsSL https://raw.githubusercontent.com/gfargo/strut/main/install.sh | bash