Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ycli

ycli is the full-screen ncurses sibling of ycommand: the same control plane (connect to a yuno, send commands, read responses), but in a windowed terminal UI built for live debugging and browsing rather than scripting. Use ycli when you want to keep several views open and watch a system interactively; use ycommand when you want a single command or a scriptable pipe.

(The source directory was yunos/c/yuno_cli before 7.4.x; the binary has always been ycli.)

Usage

ycli [--url ws://host:port]

Navigate with the arrow keys; press ? inside the UI for help. The connection and authentication options match ycommand (default ws://127.0.0.1:1991; OAuth2 / OIDC flags for the remote / TLS path — see Authentication).

What it adds over ycommand

Key bindings

In addition to the shared editline shortcuts:

ShortcutAction
Tab / Up / DownNavigate the completion popup; Enter commits the candidate
ESC / Ctrl+GCancel the popup or incremental search
Ctrl+KDelete from cursor to end of line (readline)
Ctrl+U / Ctrl+YClear the whole line
Ctrl+LClear the display pane

Window gclasses

ycli is itself a yuno; its TUI is composed from a small set of window gclasses driven by C_CLI:

GClassPurpose
C_CLIMain CLI controller
C_EDITLINELine editor (from the console module)
C_WN_STDSCRRoot ncurses screen
C_WN_LAYOUTWindow layout manager
C_WN_BOXBox container
C_WN_LISTScrollable list
C_WN_STATICStatic text display
C_WN_STSLINEStatus line
C_WN_TOOLBARToolbar

See also