Skip to content

alto capture

Print a session's screen and scrollback as plain text (an ended session's, as it last saved them). With no id, the work pane linked to this session

In context: Scripting sessions.

Usage

Print a session's screen and scrollback as plain text (an ended session's, as it last saved them). With no id, the work pane linked to this session

Usage: alto capture [OPTIONS] [ID]

Arguments:
  [ID]  

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
      --pane <NAME>  Which work pane, when this session has several
      --last <N>     Only the last N lines
      --screen       Only the screen as it shows now, without the scrollback, and where the cursor is (on standard error), for full-screen programs
  -h, --help         Print help

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