Add PLUGIN:help command to each plugin
This commit is contained in:
1 parent
fd1678b576
commit
cfc7c41e47
5 files changed
+5
-5
No files matched your search
@@ -64,7 +64,7 @@ case "$1" in
|
|||||||
pluginhook post-delete $APP
|
pluginhook post-delete $APP
|
||||||
;;
|
;;
|
||||||
|
|
||||||
help)
|
help | apps:help)
|
||||||
cat && cat<<EOF
|
cat && cat<<EOF
|
||||||
apps List your apps
|
apps List your apps
|
||||||
apps:create <app> Create a new app
|
apps:create <app> Create a new app
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ case "$1" in
|
|||||||
echo "Import complete."
|
echo "Import complete."
|
||||||
;;
|
;;
|
||||||
|
|
||||||
help)
|
help | backup:help)
|
||||||
cat && cat<<EOF
|
cat && cat<<EOF
|
||||||
backup:export [file] Export dokku configuration files
|
backup:export [file] Export dokku configuration files
|
||||||
backup:import [file] Import dokku configuration files
|
backup:import [file] Import dokku configuration files
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ ${var}"
|
|||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
|
|
||||||
help)
|
help | config:help)
|
||||||
cat && cat<<EOF
|
cat && cat<<EOF
|
||||||
config <app> Display the config vars for an app
|
config <app> Display the config vars for an app
|
||||||
config:get <app> KEY Display a config value for an app
|
config:get <app> KEY Display a config value for an app
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ EOF
|
|||||||
git-shell -c "$args"
|
git-shell -c "$args"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
help)
|
help | git:help)
|
||||||
cat
|
cat
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ case "$1" in
|
|||||||
mv "$TEMP_DIR/server.key" "$DOKKU_ROOT/$APP/tls/server.key"
|
mv "$TEMP_DIR/server.key" "$DOKKU_ROOT/$APP/tls/server.key"
|
||||||
rm -rf $TEMP_DIR
|
rm -rf $TEMP_DIR
|
||||||
;;
|
;;
|
||||||
help)
|
help | nginx:help)
|
||||||
cat && cat<<EOF
|
cat && cat<<EOF
|
||||||
nginx:import-ssl <app> Imports a tarball from stdin; should contain server.crt and server.key
|
nginx:import-ssl <app> Imports a tarball from stdin; should contain server.crt and server.key
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in new issue
Block a user