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 ¶
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}
ppz source {create|destroy|switch}
ppz terminal {wrap|watch|peek} (terminal verbs are reshaped in Phase D)
ppz {status|ls|broadcast|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.
Source Files
¶
- broadcast.go
- completion.go
- current.go
- daemon.go
- daemon_login.go
- daemon_stop.go
- device_flow.go
- ls.go
- pipe.go
- read.go
- reread.go
- root.go
- send.go
- session.go
- source.go
- status.go
- terminal.go
- terminal_filter.go
- terminal_inbox_alert.go
- terminal_rawmode.go
- terminal_rawmode_test_helpers_unix.go
- terminal_termios_linux.go
- terminal_utf8.go
- update.go
- version.go
Click to show internal directories.
Click to hide internal directories.