From cfc7c41e47a2cc1aa1e2ed668e9f4412b38a0696 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 22 Nov 2014 17:52:46 -0500 Subject: [PATCH] Add PLUGIN:help command to each plugin --- plugins/apps/commands | 2 +- plugins/backup/commands | 2 +- plugins/config/commands | 2 +- plugins/git/commands | 2 +- plugins/nginx-vhosts/commands | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/apps/commands b/plugins/apps/commands index 673238045..3b5fbf9ec 100755 --- a/plugins/apps/commands +++ b/plugins/apps/commands @@ -64,7 +64,7 @@ case "$1" in pluginhook post-delete $APP ;; - help) + help | apps:help) cat && cat< Create a new app diff --git a/plugins/backup/commands b/plugins/backup/commands index 4c41037fc..ace6d1783 100755 --- a/plugins/backup/commands +++ b/plugins/backup/commands @@ -85,7 +85,7 @@ case "$1" in echo "Import complete." ;; - help) + help | backup:help) cat && cat< Display the config vars for an app config:get KEY Display a config value for an app diff --git a/plugins/git/commands b/plugins/git/commands index 0b90005e5..5c9d0ad97 100755 --- a/plugins/git/commands +++ b/plugins/git/commands @@ -54,7 +54,7 @@ EOF git-shell -c "$args" ;; - help) + help | git:help) cat ;; diff --git a/plugins/nginx-vhosts/commands b/plugins/nginx-vhosts/commands index 59943655c..786bcd6a6 100755 --- a/plugins/nginx-vhosts/commands +++ b/plugins/nginx-vhosts/commands @@ -34,7 +34,7 @@ case "$1" in mv "$TEMP_DIR/server.key" "$DOKKU_ROOT/$APP/tls/server.key" rm -rf $TEMP_DIR ;; - help) + help | nginx:help) cat && cat< Imports a tarball from stdin; should contain server.crt and server.key EOF