mirror of
https://github.com/dokku/dokku.git
synced 2026-02-23 19:50:34 +01:00
Merge pull request #775 from progrium/plugin-help
Add PLUGIN:help command to each plugin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -54,7 +54,7 @@ EOF
|
||||
git-shell -c "$args"
|
||||
;;
|
||||
|
||||
help)
|
||||
help | git:help)
|
||||
cat
|
||||
;;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user