readme lua additions
This commit is contained in:
@@ -12,6 +12,14 @@ We now use clap for parsing the cli args, so dont try the old way!
|
|||||||
- `--port` : a port where the webserver opens
|
- `--port` : a port where the webserver opens
|
||||||
- `--root` : the directory where the webserver serves files from
|
- `--root` : the directory where the webserver serves files from
|
||||||
- `--threads` : Number of threads to use (default : 2)
|
- `--threads` : Number of threads to use (default : 2)
|
||||||
|
- `--lua-plugin` : A lua plugin (path to it)
|
||||||
|
- `--lua-arg` : example debug
|
||||||
|
|
||||||
|
## More on Lua plugins:
|
||||||
|
|
||||||
|
Currently its only semi implemented but its on the way. You can load a plugin and depending on where it lives the lua plugin will always choose its own
|
||||||
|
directory as its current working directory. that is the only thing which i need to mention! Documentation wise its very bad, a wiki of how the Plugin API works
|
||||||
|
will have to be written!
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user