summaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-01-23 21:52:50 -0800
committerbndw <ben@bdw.to>2026-01-23 21:52:50 -0800
commit87752492d0dc7df3cf78011d5ce315a3eb0cad51 (patch)
tree76843c127fece33f5c28dd7bd533044043478825 /go.mod
parent57eb67df265a7a6bb544cde83a3be5eadf53fdf2 (diff)
Restructure CLI with Cobra
Replace custom switch-based routing with Cobra for cleaner command hierarchy. Reorganize commands into logical groups: - Root command handles deployment (--binary, --static, --domain, etc.) - App management at top level: list, logs, status, restart, remove - env subcommand group: list, set, unset - host subcommand group: init, status, update, ssh - Standalone: ui (renamed from webui), version Add version command with ldflags support for build info.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod11
1 files changed, 9 insertions, 2 deletions
diff --git a/go.mod b/go.mod
index 0d29deb..b048ba7 100644
--- a/go.mod
+++ b/go.mod
@@ -2,6 +2,13 @@ module github.com/bdw/deploy
2 2
3go 1.21 3go 1.21
4 4
5require golang.org/x/crypto v0.31.0 5require (
6 github.com/spf13/cobra v1.10.2
7 golang.org/x/crypto v0.31.0
8)
6 9
7require golang.org/x/sys v0.28.0 // indirect 10require (
11 github.com/inconshreveable/mousetrap v1.1.0 // indirect
12 github.com/spf13/pflag v1.0.9 // indirect
13 golang.org/x/sys v0.28.0 // indirect
14)