tuios new
Create a new persistent TUIOS session and attach to it.
This starts a new session in the daemon (starting the daemon if needed) and immediately attaches you to it.
Sessions persist even when you detach, allowing you to reconnect later with tuios attach.
Arguments
Argument Required Description session-nameNo Name for the new session (auto-generated if omitted)
Aliases
Examples
Auto-Generated Name
Named Session
Using Alias
# Create a new session with auto-generated name
tuios new
tuios attach
Attach to an existing TUIOS session.
tuios attach [session-name] [flags]
If no session name is provided, attaches to the most recent session. The session must already exist (use tuios new to create one).
This requires the TUIOS daemon to be running.
Arguments
Argument Required Description session-nameNo Name of the session to attach to (most recent if omitted)
Flags
Flag Short Type Default Description --create-cboolean falseCreate session if it doesn’t exist
Aliases
Examples
Recent Session
Named Session
Create if Missing
# Attach to the most recent session
tuios attach
tuios a
tuios ls
List all active TUIOS sessions.
Shows session names, window counts, and whether clients are attached.
Aliases
Examples
# List all active sessions
tuios ls
tuios list-sessions
Example Output
SESSION NAME WINDOWS ATTACHED
mysession 3 yes
development 5 no
server 1 yes
tuios kill-session
Terminate a TUIOS session and all its windows.
tuios kill-session < session-nam e >
This will close all windows in the session and disconnect any attached clients.
Arguments
Argument Required Description session-nameYes Name of the session to terminate
Examples
# Terminate a specific session
tuios kill-session mysession
tuios kill-session development
This command will permanently close all windows in the session. Make sure to save any important work before terminating a session.
tuios kill-server
Stop the TUIOS daemon.
This will terminate all sessions and disconnect all clients.
Examples
# Stop the TUIOS daemon
tuios kill-server
This command will terminate all active sessions and close all windows. Use with caution.
tuios start-server
Start the TUIOS daemon in the background.
The daemon manages persistent sessions. It starts automatically when you create or attach to a session, so you typically don’t need to run this command manually.
Examples
# Manually start the daemon
tuios start-server
This command is hidden from help output because the daemon starts automatically. You rarely need to use it directly.