Zum Inhalt springen

Terminal CLI

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

The command-line interface (CLI) entry point supports an interactive terminal user interface (TUI), one-shot print mode, persisted sessions, and deterministic resource subcommands.

NeedInvocation
Interactive conversationxcsh
One model turnxcsh -p "prompt"
Structured process streamxcsh --mode json -p "prompt"
Local manifest checkxcsh validate -f manifest.yaml

Use resource subcommands for manifest lifecycle operations; do not ask a model to imitate them.

ModeBest forPersistence and output
Interactive TUIHuman-guided workSession history plus terminal rendering.
PrintOne bounded responseHuman-readable stdout; persistence follows session flags.
JSONEvent-consuming scriptsFramed stdout suitable for parsing.
RPC or ACPA controlling clientBidirectional protocol lifecycle.

Choose the consumer before the mode. Do not parse TUI or print decorations as a stable protocol, and do not use --no-session when later resume is a requirement. See headless modes for lifecycle details.