Skip to content

alto send

Type text into a session, then keys by name. With no --session, the work pane linked to this session (`alto work`)

In context: Scripting sessions.

Usage

Type text into a session, then keys by name. With no --session, the work pane linked to this session (`alto work`)

Usage: alto send [OPTIONS] [TEXT]...

Arguments:
  [TEXT]...  The text; several arguments are joined with spaces

Options:
      --on <DEVICE>  Work with the sessions on another device, paired with before (`alto devices`), or one of your own on Tailscale by its name there: for the session commands (ls, new, attach, send, run, wait, capture, kill, pause, resume, fetch, work). A session named `studio:3`, as `ls --all` prints it, needs no --on
  -s, --id <ID>      The session's id (default: the work pane)
      --pane <NAME>  Which work pane, when this session has several
  -e, --enter        Press Enter after the text
  -k, --key <KEY>    A key to press after the text, by name: Enter, Escape, Tab, Up, PageDown, F5, q, with C-, M- or S- before it (C-c, M-x, S-Tab). Repeat it for several, pressed in order
      --force        Type even while an agent there shows a permission prompt or a question, where letters pick options and Enter takes the one highlighted. C-c and Escape alone always go
  -h, --help         Print help

Generated from alto 0.0.1 by tools/export-reference.py.