Merge pull request #2013 from dokku/mh-issue1688-help-desc

make help desc local consistent
This commit is contained in:
Michael Hobbs
2016-03-22 13:54:23 -07:00
17 changed files with 17 additions and 17 deletions

View File

@@ -6,7 +6,7 @@ case "$1" in
help|ls:help|run:help|trace:help|url:help|urls:help|version:help)
[[ $(echo "$1" | sed '/.*:help/!d') ]] && help_topic="${1%\:help}"
help_content_func () {
declare desc="return help_content string"
declare desc="return standard plugin help content"
cat<<help_content
ls , Pretty listing of deployed applications and containers
run <app> <cmd>, Run a command in the environment of an application

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | events:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return events plugin help content"
cat<<help_content
events [-t], Show the last events (-t follows)
events:list, List logged events

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | apps:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return apps plugin help content"
cat<<help_content
apps, List your apps
apps:create <app>, Create a new app

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | certs:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return certs plugin help content"
cat<<help_content
certs:add <app> CRT KEY, Add an ssl endpoint to an app. Can also import from a tarball on stdin
certs:chain CRT [CRT ...], [NOT IMPLEMENTED] Print the ordered and complete chain for the given certificate.

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | checks:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return checks plugin help content"
cat<<help_content
checks <app>, Show zero-downtime status
checks:enable <app>, Enable zero-downtime checks

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | config:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return config plugin help content"
cat<<help_content
config (<app>|--global), Display all global or app-specific config vars
config:get (<app>|--global) KEY, Display a global or app-specific config value

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | docker-options:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return docker-options plugin help content"
cat<<help_content
docker-options <app> [phase(s)], Display app's Docker options for all phases (or comma separated phase list)
docker-options:add <app> <phase(s)> OPTION, Add Docker option to app for phase (comma separated phase list)

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | domains:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return domains plugin help content"
cat<<help_content
domains [<app>], List domains
domains:add <app> DOMAIN, Add a domain to app

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | enter:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return enter plugin help content"
cat<<help_content
enter <app> [<container-type> || --container-id <container-id>], Connect to a specific app container
help_content

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | nginx:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return nginx plugin help content"
cat<<help_content
nginx:build-config <app>, (Re)builds nginx config for given app
nginx:access-logs <app> [-t], Show the nginx access logs for an application (-t follows)

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | plugin:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return plugin plugin help content"
cat<<help_content
plugin, Print active plugins
plugin:install [--core|git-url [--committish tag|branch|commit|--name custom-plugin-name]], Optionally download git-url (with custom tag/committish) & run install trigger for active plugins (or only core ones)

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | proxy:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return proxy plugin help content"
cat<<help_content
proxy <app>, Show proxy for app
proxy:enable <app>, Enable proxy for app

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | ps:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return ps plugin help content"
cat<<help_content
ps <app>, List processes running in app container(s)
ps:scale [<app> <proc>=<count> [<proc>=<count>]], Get/Set how many instances of a given process to run

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | shell:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return shell plugin help content"
cat<<help_content
shell, Spawn dokku shell
help_content

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | storage:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return storage plugin help content"
cat<<help_content
storage:list <app>, List bind mounts for app's container(s) (host:container)
storage:mount <app> <host-dir:container-dir>, Create a new bind mount

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | tags:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return tags plugin help content"
cat<<help_content
tags <app>, List all app image tags
tags:create <app> <tag>, Add tag to latest running app image

View File

@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | tar:help)
help_content_func () {
declare desc="return help_content string"
declare desc="return tar plugin help content"
cat<<help_content
tar:in <app>, Reads an tarball containing the app from stdin
tar:from <app> <url>, Loads an app tarball from url.