worker#
usage: openprogram worker [-h] verb ...
worker run#
Run the worker in the foreground (blocking). Useful for debugging — Ctrl-C stops it.
worker start#
Spawn a detached worker in the background and return.
worker stop#
Stop the running worker (SIGTERM, escalates to SIGKILL).
worker restart#
Stop the running worker and start a fresh one.
worker status#
Show whether the worker is running, its PID, port, and uptime.
worker install#
Install as a system service (launchd on macOS, systemd --user on Linux). Auto-starts at login and restarts on crash.
worker uninstall#
Remove the system service.