CLI reference · command
bernstein stop
bernstein stop [OPTIONS]Stop all agents and the task server. Default (soft stop): writes SHUTDOWN signal files so agents can save their work, waits up to ``--timeout`` seconds, saves session state, returns claimed tickets to open, then kills remaining processes with SIGTERM. With ``--force`` / ``--hard``: skips signal files and waiting, kills everything immediately with SIGKILL, then does best-effort session save and ticket recovery.
Flags (3)
--timeoutINTEGERdefault: 30Seconds to wait for agents (soft stop). [default: 30] · flag detail
--force, --hardHard stop: kill immediately without waiting. · flag detail
--helpShow this message and exit. · flag detail
Example
# print help
bernstein stop --help
# common usage
bernstein stop --timeout VALUE