This repository has been archived on 2025-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
Files
2025-08-05 15:44:33 +02:00
..
2025-08-05 15:44:33 +02:00
2025-08-05 15:44:33 +02:00

Supervisor CLI

A command-line interface for the Hero Supervisor.

Binary: hive-supervisor

Installation

Build the binary:

cargo build --bin hive-supervisor --release

Usage

# Basic usage
hive-supervisor --config <CONFIG_PATH>

Where config is toml file with the following structure:

[global]
redis_url = "redis://localhost:6379"

[osis_actor]
binary_path = "/path/to/osis_actor"
env_vars = { "VAR1" = "value1", "VAR2" = "value2" }

[sal_actor]
binary_path = "/path/to/sal_actor"
env_vars = { "VAR1" = "value1", "VAR2" = "value2" }

[v_actor]
binary_path = "/path/to/v_actor"
env_vars = { "VAR1" = "value1", "VAR2" = "value2" }

[python_actor]
binary_path = "/path/to/python_actor"
env_vars = { "VAR1" = "value1", "VAR2" = "value2" }

Lets have verbosity settings etc. CLI Offers a few commands:

actors: start stop restart status logs list

jobs: create start stop restart status logs list

repl: you can enter interactive mode to run scripts, however predefine caller_id, context_id and actor type so supervisor dispathces jobs accordingly