From d6740a0be72a776db555d4bb6ccfa4a04da6570a Mon Sep 17 00:00:00 2001 From: Clawd Date: Sun, 15 Feb 2026 18:53:55 -0800 Subject: 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 --- PROGRESS.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'PROGRESS.md') diff --git a/PROGRESS.md b/PROGRESS.md index 5096cf2..77ef8ad 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -21,10 +21,15 @@ Tracking rebuilding ship for agent-first JSON interface. - [x] Port allocation (server-side) ## Upcoming -- [ ] `ship list/status/logs/remove` implementations - [ ] Wire up v2 commands in main.go (feature flag or replace) - [ ] Testing with real deploys +## Completed Recently +- [x] `ship list` - enumerate all deploys from /etc/ship/ports and /var/www +- [x] `ship status NAME` - show deploy status, port, type, TTL +- [x] `ship logs NAME` - show journalctl logs (or Caddy logs for static) +- [x] `ship remove NAME` - full cleanup of all deploy artifacts + ## Completed Recently - [x] TTL cleanup timer (server-side systemd timer) - [x] `ship host init` with JSON output -- cgit v1.2.3