Merge pull request #775 from progrium/plugin-help

Add PLUGIN:help command to each plugin
This commit is contained in:
Jose Diaz-Gonzalez
2014-11-22 17:58:24 -05:00
5 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ case "$1" in
pluginhook post-delete $APP
;;
help)
help | apps:help)
cat && cat<<EOF
apps List your apps
apps:create <app> Create a new app

View File

@@ -85,7 +85,7 @@ case "$1" in
echo "Import complete."
;;
help)
help | backup:help)
cat && cat<<EOF
backup:export [file] Export dokku configuration files
backup:import [file] Import dokku configuration files

View File

@@ -175,7 +175,7 @@ ${var}"
done
;;
help)
help | config:help)
cat && cat<<EOF
config <app> Display the config vars for an app
config:get <app> KEY Display a config value for an app

View File

@@ -54,7 +54,7 @@ EOF
git-shell -c "$args"
;;
help)
help | git:help)
cat
;;

View File

@@ -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<<EOF
nginx:import-ssl <app> Imports a tarball from stdin; should contain server.crt and server.key
EOF