We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c37b3a commit 94fdbcfCopy full SHA for 94fdbcf
1 file changed
bin/sdPlugin.sh
@@ -54,8 +54,13 @@ function activate_plugin {
54
execute_in_docker "bin/console sw:cache:clear"
55
}
56
57
-function remove_plugin {
+function deactivate_plugin {
58
execute_in_docker "bin/console sw:plugin:deactivate $PLUGIN_NAME"
59
+ execute_in_docker "bin/console sw:cache:clear"
60
+}
61
+
62
+function remove_plugin {
63
+ deactivate_plugin
64
execute_in_docker "bin/console sw:plugin:uninstall $PLUGIN_NAME"
65
execute_in_docker "rm $PLUGIN_DIRECTORY"
66
@@ -79,7 +84,15 @@ case "$2" in
79
84
shift
80
85
remove_plugin $@
81
86
;;
87
+ activate)
88
+ shift
89
+ activate_plugin $@
90
+ ;;
91
+ deactivate)
92
93
94
82
95
*)
83
- echo "usage: add/remove"
96
+ echo "usage: add/remove/activate/deactivate"
97
98
esac
0 commit comments