refactor: Remove castle sync command

Sync was a bootstrap command that ran `git submodule update` and `uv tool install` for each program. Neither machine uses git submodules anymore, and the install functionality is already available as a program action (`POST /programs/{name}/install`).

Removed files:
- cli/src/castle_cli/commands/sync.py

Updated files:
- cli/src/castle_cli/main.py (removed sync subparser and dispatch)
- README.md (removed sync from Quick Start and CLI reference)
This commit is contained in:
2026-04-27 21:57:08 -07:00
parent 9fd2221e05
commit e1a9386177
3 changed files with 0 additions and 116 deletions

View File

@@ -21,9 +21,6 @@ services: {}
jobs: {}
EOF
# Sync all projects (git submodules + dependencies)
castle sync
# See what's here
castle list
@@ -64,7 +61,6 @@ castle test [NAME] Run tests (one or all)
castle lint [NAME] Run linter (one or all)
castle deploy [NAME] Deploy to ~/.castle/ (spec -> runtime)
castle run NAME Run a service in the foreground
castle sync Sync submodules + install deps
castle logs NAME [-f] [-n 50] View service/job logs
castle gateway start|stop|reload Manage Caddy reverse proxy
castle service enable|disable NAME Manage a systemd service