From 63817fc6f396b0404281028c6e24f370255d84a9 Mon Sep 17 00:00:00 2001 From: Josh Manders Date: Sun, 20 Nov 2016 17:49:02 -0600 Subject: [PATCH] add warning --- docs/development/plugin-triggers.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/development/plugin-triggers.md b/docs/development/plugin-triggers.md index 27fd3c6f4..d8d8fdced 100644 --- a/docs/development/plugin-triggers.md +++ b/docs/development/plugin-triggers.md @@ -867,6 +867,7 @@ some code to remove a docker hub tag because it's not implemented in the CLI.... ``` ### `uninstall` + - Description: Used to cleanup after itself. - Invoked by: `dokku plugin:uninstall` - Arguments: `$PLUGIN` @@ -883,6 +884,8 @@ some code to remove a docker hub tag because it's not implemented in the CLI.... [[ "$PLUGIN" = "my-plugin" ]] && docker rmi -f "${PLUGIN_IMAGE_DEPENDENCY}" ``` + > To avoid uninstalling other plugins make sure to check the plugin name like shown in the example. + ### `update` - Description: Can be used to run plugin updates on a regular interval. You can schedule the invoker in a cron-task to ensure your system gets regular updates.