feat: Add Redis client module and tests
Some checks failed
Rhai Tests / Run Rhai Tests (push) Waiting to run
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled

- Add a new Redis client module to the SAL library.
- Implement Rhai wrappers for Redis connection and operations.
- Add comprehensive test suite for the Redis client module.
- Update documentation to include Redis client module details.
- Add .gitignore entries to exclude test logs and files.
This commit is contained in:
Mahmoud Emad
2025-05-08 16:32:15 +03:00
parent 32217b6545
commit 1286939608
9 changed files with 728 additions and 132 deletions

View File

@@ -9,6 +9,7 @@ mod git;
mod nerdctl;
mod os;
mod process;
mod redisclient;
mod rfs;
mod text;
@@ -39,6 +40,9 @@ pub use os::{
rsync,
};
// Re-export Redis client module registration function
pub use redisclient::register_redisclient_module;
pub use process::{
kill,
process_get,
@@ -140,6 +144,9 @@ pub fn register(engine: &mut Engine) -> Result<(), Box<rhai::EvalAltResult>> {
// Register RFS module functions
rfs::register(engine)?;
// Register Redis client module functions
redisclient::register_redisclient_module(engine)?;
// Future modules can be registered here
Ok(())