cli

package
v0.31.12 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package cli is the entrypoint for `ppz`. Each verb either talks to the daemon over IPC or IS the daemon (`ppz daemon start --foreground`).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) error

Run dispatches argv[1:] to the appropriate verb. Returns a *cliproto.Error when there is one — main turns that into the standard exit code + stderr.

Verb hierarchy (Phase B):

ppz daemon {start|stop|login|logout}
(source verbs removed in Phase 1 — see ppz terminal/agent create
for replacements; current-handle state managed via ppz set/unset)
ppz terminal {wrap|watch|peek}     (terminal verbs are reshaped in Phase D)
ppz {status|ls|read|send}

Old top-level verbs (`ppz create`, `ppz switch`, `ppz kill`, `ppz login`) are removed without aliases — fresh MVP, no users to migrate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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