From 6b2c04728cd914f27ae62c1df0bf5df24ac9a628 Mon Sep 17 00:00:00 2001 From: Clawd Date: Tue, 17 Feb 2026 07:54:26 -0800 Subject: Remove v1 code, simplify state to just base_domain - Delete all v1 commands (deploy, init, list, status, remove, etc.) - Delete v1 env/ and host/ subcommand directories - Simplify state.go: remove NextPort, Apps, AllocatePort, etc. - Local state now only tracks default_host + base_domain per host - Ports and deploys are tracked on the server (/etc/ship/ports/) - host init now creates minimal state.json --- cmd/ship/root_v2.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/ship/root_v2.go') diff --git a/cmd/ship/root_v2.go b/cmd/ship/root_v2.go index 03c99e7..4101d4e 100644 --- a/cmd/ship/root_v2.go +++ b/cmd/ship/root_v2.go @@ -7,6 +7,8 @@ import ( "github.com/spf13/cobra" ) +var hostFlag string + // This file defines the v2 CLI structure. // The primary command is: ship [PATH] [FLAGS] // All output is JSON by default. -- cgit v1.2.3