Skip to content

alto events

What happens, as it happens: sessions starting, ending, needing you and done; devices connecting, pairing, forgetting, blocking. A line each, or --json, until stopped. This device's, --on another's, or --all of them

Usage

What happens, as it happens: sessions starting, ending, needing you and done; devices connecting, pairing, forgetting, blocking. A line each, or --json, until stopped. This device's, --on another's, or --all of them

Usage: alto events [OPTIONS]

Options:
      --all            Every device you reach, not only this one
      --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, --session <ID>   Only this session's: its id, or `device:id`
      --type <KIND>    Only these kinds: started, ended, needs-you, done, connected, paired, forgot, blocked, allowed
      --since <SINCE>  First, what happened this long ago and since (`10m`, `1h`)
      --once           Print what's there and stop, rather than wait for more (with --since)
      --json           A JSON object a line: `{"v":1,"type","ts","device","text"}`, with `session` and `address` when it's a session's, after a `stream.ready` line
  -h, --help           Print help

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