rakumux with no command opens the UI for the current folder. With a command it runs and exits.
Session names are looked up among the current folder’s sessions; an id always works. Exit codes:
0 success, 1 error (message on stderr), 2 wrong usage.
Sessions
rakumux new
rakumux ls
--json prints JSON, with each session’s folder; --dead includes dead sessions; --folder DIR
lists another folder (repeatable); --all lists every folder. In the table, * marks the current
session and ^ a pinned one.
rakumux attach
After the prefix Ctrl-\: d detaches, > / < go to the next / previous running session,
n starts a new session in the current directory, and Ctrl-\ sends a literal Ctrl-\.
rakumux kill
--tree also ends the sessions it created, recursively.
Folders
--json prints {"folders": [...], "projects": [...]}: the same list twice, with projects kept
for older scripts.
The server
-y skips the question before ending running sessions.
Phone access
See Phone access.
Your Sprite and other machines
See A Fly Sprite.
Account
See Sign in.
For agents and scripts
rakumux session prints JSON. Inside a session it acts as that session (see
What agents may do).
read --source:visible(the screen, the default),recentorrecent-unwrapped.--linessets the rows for recent sources.--format:text(default) oransi.wait --until:settled,idle,blocked,working,exited,reportedoroutput(with--pattern, a substring to wait for).report:--state working|blocked|done|idle,--text(a short status line shown in the list),--summaryand--file PATH(repeatable, needs--summary),--agent-kind,--agent-session-id, and--resume -- PROGRAM ARGS(how to resume this session after a reboot).
Other commands
Every command takes
--help.