Skip to content

alto service

The background process that keeps sessions (started for you by any command): whether it's running and starts at login; start, stop or run it here; `install` to start it at login without the app

In context: Sessions.

Usage

The background process that keeps sessions (started for you by any command): whether it's running and starts at login; start, stop or run it here; `install` to start it at login without the app

Usage: alto service [OPTIONS] [COMMAND]

Commands:
  start    Start the service if it isn't running: through its login item if it has one, else in the background
  run      Run the service here, in the foreground, until it's stopped (what login items and containers run)
  stop     Stop the service. Sessions keep running
  restart  Stop the service and start it again, on the build installed now. Sessions keep running
  status   Say whether the service is running (its process id and release), and whether it starts at login
  enable   Start the service at login, without the app (a login item on macOS, a systemd user unit on Linux, the Run key on Windows), and start it now
  disable  Stop starting it at login, and stop it. Sessions keep running
  help     Print this message or the help of the given subcommand(s)

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
      --json         Its status, as JSON
  -h, --help         Print help

alto service start

Start the service if it isn't running: through its login item if it has one, else in the background

Start the service if it isn't running: through its login item if it has one, else in the background

Usage: alto service start [OPTIONS]

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
      --json         Its status, as JSON
  -h, --help         Print help

alto service run

Run the service here, in the foreground, until it's stopped (what login items and containers run)

Run the service here, in the foreground, until it's stopped (what login items and containers run)

Usage: alto service run [OPTIONS]

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
      --json         Its status, as JSON
  -h, --help         Print help

alto service stop

Stop the service. Sessions keep running

Stop the service. Sessions keep running

Usage: alto service stop [OPTIONS]

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
      --json         Its status, as JSON
  -h, --help         Print help

alto service restart

Stop the service and start it again, on the build installed now. Sessions keep running

Stop the service and start it again, on the build installed now. Sessions keep running

Usage: alto service restart [OPTIONS]

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
      --json         Its status, as JSON
  -h, --help         Print help

alto service status

Say whether the service is running (its process id and release), and whether it starts at login

Say whether the service is running (its process id and release), and whether it starts at login

Usage: alto service status [OPTIONS]

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
      --json         Its status, as JSON
  -h, --help         Print help

alto service enable

Start the service at login, without the app (a login item on macOS, a systemd user unit on Linux, the Run key on Windows), and start it now

Start the service at login, without the app (a login item on macOS, a systemd user unit on Linux, the Run key on Windows), and start it now

Usage: alto service enable [OPTIONS]

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
      --json         Its status, as JSON
  -h, --help         Print help

alto service disable

Stop starting it at login, and stop it. Sessions keep running

Stop starting it at login, and stop it. Sessions keep running

Usage: alto service disable [OPTIONS]

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
      --json         Its status, as JSON
  -h, --help         Print help

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