summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/module-load.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/module-load.md')
-rw-r--r--iredis/data/commands/module-load.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/iredis/data/commands/module-load.md b/iredis/data/commands/module-load.md
new file mode 100644
index 0000000..c5919c0
--- /dev/null
+++ b/iredis/data/commands/module-load.md
@@ -0,0 +1,13 @@
+Loads a module from a dynamic library at runtime.
+
+This command loads and initializes the Redis module from the dynamic library
+specified by the `path` argument. The `path` should be the absolute path of the
+library, including the full filename. Any additional arguments are passed
+unmodified to the module.
+
+**Note**: modules can also be loaded at server startup with 'loadmodule'
+configuration directive in `redis.conf`.
+
+@return
+
+@simple-string-reply: `OK` if module was loaded.