diff options
| author | bndw <ben@bdw.to> | 2026-01-23 21:52:50 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-01-23 21:52:50 -0800 |
| commit | 87752492d0dc7df3cf78011d5ce315a3eb0cad51 (patch) | |
| tree | 76843c127fece33f5c28dd7bd533044043478825 /go.mod | |
| parent | 57eb67df265a7a6bb544cde83a3be5eadf53fdf2 (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.mod | 11 |
1 files changed, 9 insertions, 2 deletions
| @@ -2,6 +2,13 @@ module github.com/bdw/deploy | |||
| 2 | 2 | ||
| 3 | go 1.21 | 3 | go 1.21 |
| 4 | 4 | ||
| 5 | require golang.org/x/crypto v0.31.0 | 5 | require ( |
| 6 | github.com/spf13/cobra v1.10.2 | ||
| 7 | golang.org/x/crypto v0.31.0 | ||
| 8 | ) | ||
| 6 | 9 | ||
| 7 | require golang.org/x/sys v0.28.0 // indirect | 10 | require ( |
| 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 | ) | ||
