nexuslua
|
The nexuslua function install installs an nexuslua plugin from a zip file. It accepts 1 parameter, the path to the plugin zip file. It returns 0 on success, otherwise an error code corresponding to nexuslua::PluginInstallResult" A plugin is an @ref "/media/stefan/data/Documents/git/my-projects/acrion/nexuslua-all/workspace/nexuslua_library/lua_docs/addagent.md" "nexuslua agent" with meta data. It consists of at least two files: - <tt>main.lua</tt> which will be executed as an @ref "/media/stefan/data/Documents/git/my-projects/acrion/nexuslua-all/workspace/nexuslua_library/lua_docs/addagent.md" "nexuslua agent" - <tt>nexuslua_plugin.toml</tt> containing the following meta data, separated by semicolons: 1. display name 2. version 3. true, if the plugin is freeware, otherwise false 4. URL to documentation 5. URL to download latest version 6. URL to license 7. optionally, if (3) has the value false, a URL where one can purchase a license For an example see the corresponding <a href="https://github.com/acrion/image-tools/blob/main/acrion_image-tools/nexuslua_plugin.toml.template" >template file</a> of the nexuslua image tools plugin. TODO @section autotoc_md19 Example @icode{bash} nexuslua -e 'install("plugin.zip")' @endicode @section autotoc_md20 See also - @ref ::nexuslua::agents::InstallPlugin "nexuslua::agents::InstallPlugin"