koshi0.1.0
CLI

Discovery commands

List sessions, tabs, panes, and clients or inspect one complete record as a table or JSON.

Every list and inspect command accepts --format table or --format json. Table is the default.

List

koshi list-sessions
koshi list-tabs --session <SESSION_ID>
koshi list-panes --session <SESSION_ID>
koshi list-clients --session <SESSION_ID>
CommandOutput
list-sessionsSession ids and names
list-tabsTab ids, names, indexes, and owning sessions
list-panesPane, tab, and session ids and names
list-clientsClient ids and owning sessions

For scripts:

koshi list-panes --format json

Inspect

koshi inspect session <SESSION_ID>
koshi inspect tab <TAB_ID>
koshi inspect pane <PANE_ID>
koshi inspect client <CLIENT_ID>

inspect prints one full record. Add --format json for machine-readable output.

End a session

koshi kill-session
koshi kill-session <NAME>

With no name, kill-session works only when exactly one session is running. Names match exactly.

On this page