diff options
| author | Clawd <ai@clawd.bot> | 2026-02-15 18:53:55 -0800 |
|---|---|---|
| committer | Clawd <ai@clawd.bot> | 2026-02-15 18:53:55 -0800 |
| commit | d6740a0be72a776db555d4bb6ccfa4a04da6570a (patch) | |
| tree | 27fc1d0306c5f57d27b5fb6295563e0102c4f7a6 /PROGRESS.md | |
| parent | a7436dfcc01a599bbb99a810bd59e92b21252c78 (diff) | |
feat(v2): implement list, status, logs, remove commands
- commands_v2.go: all subcommand implementations
- list: enumerates deploys from /etc/ship/ports and /var/www
- status: shows deploy details (type, port, running, TTL)
- logs: fetches journalctl logs (or Caddy logs for static)
- remove: full cleanup of all artifacts (service, caddy, files, docker)
- All commands output JSON with proper error codes
All core v2 commands now implemented
Diffstat (limited to 'PROGRESS.md')
| -rw-r--r-- | PROGRESS.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/PROGRESS.md b/PROGRESS.md index 5096cf2..77ef8ad 100644 --- a/PROGRESS.md +++ b/PROGRESS.md | |||
| @@ -21,11 +21,16 @@ Tracking rebuilding ship for agent-first JSON interface. | |||
| 21 | - [x] Port allocation (server-side) | 21 | - [x] Port allocation (server-side) |
| 22 | 22 | ||
| 23 | ## Upcoming | 23 | ## Upcoming |
| 24 | - [ ] `ship list/status/logs/remove` implementations | ||
| 25 | - [ ] Wire up v2 commands in main.go (feature flag or replace) | 24 | - [ ] Wire up v2 commands in main.go (feature flag or replace) |
| 26 | - [ ] Testing with real deploys | 25 | - [ ] Testing with real deploys |
| 27 | 26 | ||
| 28 | ## Completed Recently | 27 | ## Completed Recently |
| 28 | - [x] `ship list` - enumerate all deploys from /etc/ship/ports and /var/www | ||
| 29 | - [x] `ship status NAME` - show deploy status, port, type, TTL | ||
| 30 | - [x] `ship logs NAME` - show journalctl logs (or Caddy logs for static) | ||
| 31 | - [x] `ship remove NAME` - full cleanup of all deploy artifacts | ||
| 32 | |||
| 33 | ## Completed Recently | ||
| 29 | - [x] TTL cleanup timer (server-side systemd timer) | 34 | - [x] TTL cleanup timer (server-side systemd timer) |
| 30 | - [x] `ship host init` with JSON output | 35 | - [x] `ship host init` with JSON output |
| 31 | - [x] Docker + Caddy installation | 36 | - [x] Docker + Caddy installation |
