cli

package
v0.1.0-alpha.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 40 Imported by: 0

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

func Commands

func Commands() []*cobra.Command

Commands returns all user-facing top-level commands.

Types

This section is empty.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL