From 10c27368e2947f866d444b37f4cdbf4af342ca3a Mon Sep 17 00:00:00 2001 From: bmortier <benoit.mortier@fusiondirectory.org> Date: Thu, 28 Sep 2023 20:35:20 +0000 Subject: [PATCH] Resolve "Document proprerly the lastest version of the FusionDirectory Tools" --- .../fusiondirectory-plugins-manager.rst | 60 ++++++++++++++----- 1 file changed, 45 insertions(+), 15 deletions(-) diff --git a/source/fusiondirectory-tools/fusiondirectory-plugins-manager.rst b/source/fusiondirectory-tools/fusiondirectory-plugins-manager.rst index b014f9f2..e80439a4 100644 --- a/source/fusiondirectory-tools/fusiondirectory-plugins-manager.rst +++ b/source/fusiondirectory-tools/fusiondirectory-plugins-manager.rst @@ -9,34 +9,64 @@ This tool is designed to help install FusionDirectory plugin referenced in the F Options ------- ---register-plugin - This option allows you to register a plugin within LDAP without copying the required files - of the plugin itself. +**--register-plugin** ---unregister-plugin - This option allows you to un-register a plugin already registered within your LDAP. +Register a plugin within LDAP without copying the required files of the plugin itself. ---install-plugin - This option allows you to install the required files for your plugin in correct directories and - register the plugin within LDAP. +**--unregister-plugin** ---remove-plugin - This option allows you to remove the registered plugin and its related files. +Un-register a plugin already registered within your LDAP. ---list-plugins - This option allows you to list the registered plugins. +**--install-plugin** + +Install the required files for your plugin in correct directories an register the plugin within LDAP. + +**--remove-plugin** + +Remove the registered plugin and its related files. + +**--list-plugins** + +List the registered plugins. Examples -------- +Register a plugin installed + +.. code-block:: shell + + fusiondirectory-plugins-manager --register-plugin /etc/fusiondirectory/yaml/alias/description.yaml + Installing : cn=alias,ou=pluginManager,dc=formation-fusiondirectory,dc=org .. + +Unregister a plugin installed + +.. code-block:: shell + + fusiondirectory-plugins-manager --unregister-plugin alias + alias plugin has been successfully unregistered + +List plugins installed into FusionDirectory + +.. code-block:: shell + + fusiondirectory-plugins-manager --list-plugins + Number of plugins installed : 1 + Plugin : alias is installed + +.. note:: + + Those two commands are for plugin installed from outside source like the marketplace or the git of a developer + Install a plugin within FusionDirectory. .. code-block:: shell - fusiondirectory-plugins-manager --install-plugin /path/to/plugin + fusiondirectory-plugins-manager --install-plugin notes -Register a plugin within FusionDirectory's LDAP. +Remove a plugin within FusionDirectory. .. code-block:: shell - fusiondirectory-plugins-manager --register-plugin /path/to/plugin + fusiondirectory-plugins-manager --remove-plugin notes + sorbonne plugin has been successfully removed. -- GitLab