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>| Command | Output |
|---|---|
list-sessions | Session ids and names |
list-tabs | Tab ids, names, indexes, and owning sessions |
list-panes | Pane, tab, and session ids and names |
list-clients | Client ids and owning sessions |
For scripts:
koshi list-panes --format jsonInspect
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.