Merge pull request #2013 from dokku/mh-issue1688-help-desc
make help desc local consistent
This commit is contained in:
@@ -6,7 +6,7 @@ case "$1" in
|
|||||||
help|ls:help|run:help|trace:help|url:help|urls:help|version:help)
|
help|ls:help|run:help|trace:help|url:help|urls:help|version:help)
|
||||||
[[ $(echo "$1" | sed '/.*:help/!d') ]] && help_topic="${1%\:help}"
|
[[ $(echo "$1" | sed '/.*:help/!d') ]] && help_topic="${1%\:help}"
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return standard plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
ls , Pretty listing of deployed applications and containers
|
ls , Pretty listing of deployed applications and containers
|
||||||
run <app> <cmd>, Run a command in the environment of an application
|
run <app> <cmd>, Run a command in the environment of an application
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | events:help)
|
help | events:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return events plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
events [-t], Show the last events (-t follows)
|
events [-t], Show the last events (-t follows)
|
||||||
events:list, List logged events
|
events:list, List logged events
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | apps:help)
|
help | apps:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return apps plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
apps, List your apps
|
apps, List your apps
|
||||||
apps:create <app>, Create a new app
|
apps:create <app>, Create a new app
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | certs:help)
|
help | certs:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return certs plugin help content"
|
||||||
cat<<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: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.
|
certs:chain CRT [CRT ...], [NOT IMPLEMENTED] Print the ordered and complete chain for the given certificate.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | checks:help)
|
help | checks:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return checks plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
checks <app>, Show zero-downtime status
|
checks <app>, Show zero-downtime status
|
||||||
checks:enable <app>, Enable zero-downtime checks
|
checks:enable <app>, Enable zero-downtime checks
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | config:help)
|
help | config:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return config plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
config (<app>|--global), Display all global or app-specific config vars
|
config (<app>|--global), Display all global or app-specific config vars
|
||||||
config:get (<app>|--global) KEY, Display a global or app-specific config value
|
config:get (<app>|--global) KEY, Display a global or app-specific config value
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | docker-options:help)
|
help | docker-options:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return docker-options plugin help content"
|
||||||
cat<<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 <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)
|
docker-options:add <app> <phase(s)> OPTION, Add Docker option to app for phase (comma separated phase list)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | domains:help)
|
help | domains:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return domains plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
domains [<app>], List domains
|
domains [<app>], List domains
|
||||||
domains:add <app> DOMAIN, Add a domain to app
|
domains:add <app> DOMAIN, Add a domain to app
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | enter:help)
|
help | enter:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return enter plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
enter <app> [<container-type> || --container-id <container-id>], Connect to a specific app container
|
enter <app> [<container-type> || --container-id <container-id>], Connect to a specific app container
|
||||||
help_content
|
help_content
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | nginx:help)
|
help | nginx:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return nginx plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
nginx:build-config <app>, (Re)builds nginx config for given app
|
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)
|
nginx:access-logs <app> [-t], Show the nginx access logs for an application (-t follows)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | plugin:help)
|
help | plugin:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return plugin plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
plugin, Print active plugins
|
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)
|
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)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | proxy:help)
|
help | proxy:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return proxy plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
proxy <app>, Show proxy for app
|
proxy <app>, Show proxy for app
|
||||||
proxy:enable <app>, Enable proxy for app
|
proxy:enable <app>, Enable proxy for app
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | ps:help)
|
help | ps:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return ps plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
ps <app>, List processes running in app container(s)
|
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
|
ps:scale [<app> <proc>=<count> [<proc>=<count>]], Get/Set how many instances of a given process to run
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | shell:help)
|
help | shell:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return shell plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
shell, Spawn dokku shell
|
shell, Spawn dokku shell
|
||||||
help_content
|
help_content
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | storage:help)
|
help | storage:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return storage plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
storage:list <app>, List bind mounts for app's container(s) (host:container)
|
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
|
storage:mount <app> <host-dir:container-dir>, Create a new bind mount
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | tags:help)
|
help | tags:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return tags plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
tags <app>, List all app image tags
|
tags <app>, List all app image tags
|
||||||
tags:create <app> <tag>, Add tag to latest running app image
|
tags:create <app> <tag>, Add tag to latest running app image
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
help | tar:help)
|
help | tar:help)
|
||||||
help_content_func () {
|
help_content_func () {
|
||||||
declare desc="return help_content string"
|
declare desc="return tar plugin help content"
|
||||||
cat<<help_content
|
cat<<help_content
|
||||||
tar:in <app>, Reads an tarball containing the app from stdin
|
tar:in <app>, Reads an tarball containing the app from stdin
|
||||||
tar:from <app> <url>, Loads an app tarball from url.
|
tar:from <app> <url>, Loads an app tarball from url.
|
||||||
|
|||||||
Reference in New Issue
Block a user