Introduces a new `OPNSenseShellCommandScore` to execute shell commands on an OPNSense device within the Harmony framework. This allows for custom command execution as part of the scoring and interpretation process, enhancing the flexibility and functionality of the system. |
||
|---|---|---|
| .. | ||
| examples | ||
| harmony | ||
| harmony_macros | ||
| harmony_tui | ||
| harmony_types | ||
| opnsense-config | ||
| opnsense-config-xml | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Due to the current setup being a mix of separate repositories with gitignore and rust workspace, a few options are required for cargo-watch to have the desired behavior :
RUST_LOG=info cargo watch --ignore-nothing -w harmony -w private_repos/ -x 'run --bin nationtech'
This will run the nationtech bin (likely private_repos/nationtech/src/main.rs) on any change in the harmony or private_repos folders.