add warning

This commit is contained in:
Josh Manders committed 2016-11-20 17:49:02 -06:00
1 parent d4475e582d
commit 63817fc6f3
1 file changed
+3
+3
View File
@@ -867,6 +867,7 @@ some code to remove a docker hub tag because it's not implemented in the CLI....
``` ```
### `uninstall` ### `uninstall`
- Description: Used to cleanup after itself. - Description: Used to cleanup after itself.
- Invoked by: `dokku plugin:uninstall` - Invoked by: `dokku plugin:uninstall`
- Arguments: `$PLUGIN` - 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}" [[ "$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` ### `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. - 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.