Documentation
¶
Overview ¶
Package cli implements every user-facing command. All commands are pure API clients (pkg/apiclient) — no hidden channels (spec F17).
Foundation status: `login` manages contexts locally; the remaining commands are added by TASKS.md P1/P3/P5 tasks. Keep each command in its own file (deploy.go, logs.go, env.go, ...).
This file is the only place bubbletea is imported. Keep it that way: every other command is plain cobra + the ui.Printer, and pulling a TUI runtime into them would cost binary size for no benefit (T-77).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Source Files
¶
- alerts.go
- apply.go
- apps.go
- attach.go
- audit.go
- backup.go
- capin.go
- cli.go
- client.go
- clusterupgrade.go
- cron.go
- deploy.go
- domains.go
- dotenv.go
- env.go
- events.go
- fs.go
- github.go
- init.go
- jobs.go
- logs.go
- nodes.go
- portforward.go
- projects.go
- ps.go
- releases.go
- rollback.go
- state.go
- stats.go
- tar.go
- unseal.go
- volumebrowse.go
- volumes.go
- winch_unix.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cliconfig manages the CLI-side configuration (~/.config/zattera/config.toml): named contexts pointing at clusters, with tokens.
|
Package cliconfig manages the CLI-side configuration (~/.config/zattera/config.toml): named contexts pointing at clusters, with tokens. |
|
Package ui centralizes CLI output: lipgloss styles, success/error lines in the Vercel-style format, tables, and a --json mode that suppresses all decoration.
|
Package ui centralizes CLI output: lipgloss styles, success/error lines in the Vercel-style format, tables, and a --json mode that suppresses all decoration. |
Click to show internal directories.
Click to hide internal directories.