tug is a Bun + TypeScript CLI/TUI for common Craft CMS deployment workflows: file sync, database sync, composer file sync, backups, diagnostics, and remote shell access.
- Bun 1.3+
- Zig for OpenTUI development and builds
- macOS-first support in v1
- Runtime tools:
sshrsyncgzipmysqlandmysqldumpfor MySQL/MariaDB projectspsqlandpg_dumpfor Postgres projects
bun installbun run src/cli/main.tstugtug inittug doctortug db doctortug folder pulltug folder pushtug db pulltug db pushtug composer pulltug composer pushtug shelltug backups listtug backups open
bun run lint
bun run typecheck
bun test