Michael Hobbs
4357e529ce
Merge pull request #1983 from dokku/u2mejc-issue1688
...
Collapse help into expandable command topics
2016-03-22 15:02:39 -07:00
Michael Hobbs
de9b1f6273
[ci skip] make help desc local consistent
2016-03-22 13:33:35 -07:00
Justin Clark
14a1d06c03
Collapse help into expandable command topics
2016-03-22 10:50:20 -07:00
Michael Hobbs
0f4ff8b724
no need for newlines in docker args
2016-03-21 18:57:14 -07:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael Hobbs
aa2415eeb8
more style/function tweaks
2016-03-03 22:11:35 -08:00
Michael S. Hobbs
89f289b433
subcommand restructure and bashstyle refactor. closes #1579
2016-03-03 22:11:35 -08:00
Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
33c6e56030
support bash 4.2 so we don't have to modify all plugin test envs
2016-01-17 18:29:49 -08:00
Justin Clark
3630cc2a99
Remove arg check from docker-options/functions, remove another global var
2016-01-15 14:45:29 -08:00
Justin Clark
9a966f6f08
Move docker-options functions to functions file, rework code
2016-01-13 10:48:52 -08:00
Michael Hobbs
2c34a60a8d
filter incompatible docker option when building dockerfile vs herokuish apps. closes #1609
2015-11-25 09:09:11 -08:00
Marc Diethelm
200d1128a1
Update docker-options plugin help for consistency with help docs
2015-11-15 22:50:24 +01:00
Jose Diaz-Gonzalez
a1983e0131
Merge pull request #1653 from callahad/SC2145
...
Resolve SC2145: 'Argument mixes string and array.'
2015-11-05 21:57:02 -05:00
Dan Callahan
c389b213b5
Resolve SC2162: 'read without -r mangles backslashes'
...
More information:
https://github.com/koalaman/shellcheck/wiki/SC2162
http://wiki.bash-hackers.org/commands/builtin/read
2015-11-04 20:40:42 -06:00
Dan Callahan
84c0988fd8
Resolve SC2145: 'Argument mixes string and array.'
...
https://github.com/koalaman/shellcheck/wiki/SC2145
2015-11-04 11:30:49 -06:00
Jose Diaz-Gonzalez
d3c218f95e
Add help commands to docker-options and tar plugins
2015-09-18 16:09:59 -04:00
Jose Diaz-Gonzalez
70511c340d
Check if command is implemented in a plugin before executing plugin code
...
Because of how plugin commands are implemented, their output can be incredibly verbose. Rather than executing even the `set -eo pipefail` parts of a plugin, we immediately check if the command is implemented by a plugin. If it is not, then we continue on as normal.
One side-effect of this change is that plugin commands need to be duplicated again:
- once in the command array
- once for the actual body of the command
- once in the help output
This is also quite hackish, and probably not the best way to decrease trace output. Note that we drop approximately 2k lines worth of logs with this change.
2015-09-18 16:09:59 -04:00
Jose Diaz-Gonzalez
467264d31f
Drop another ~1k lines from DOKKU_TRACE output
2015-09-18 16:09:59 -04:00
Jose Diaz-Gonzalez
27a2478a33
Follow bashstyle where possible
2015-09-16 16:06:31 -07:00
Michael Hobbs
8095df79f6
implement core plugin mgmt using plugn. add tests.
2015-09-15 02:17:28 -07:00
Jose Diaz-Gonzalez
ad72a137e1
Fix sourcing of functions
2015-09-15 02:16:40 -07:00
Michael Hobbs
7a545759f2
initial pass at switching to plugn
2015-09-15 02:16:40 -07:00
Jim Myhrberg
d5df6a4190
Use $PLUGIN_PATH instead of $(dirname $0)/..
...
As briefly discussed in #1425 , source the `common/functions` file via an
absolute path, rather than determining the relative path by using
`dirname`. 3rd-party plugins should follow suit and use the new
`$PLUGIN_PATH` convention too.
2015-08-28 14:14:28 +01:00
Michael Hobbs
36d607a4f4
[ci skip] update docs
2015-07-28 09:36:42 -07:00
Michael Hobbs
b30db17def
use column to format help output
2015-07-28 09:31:56 -07:00
Matt Walker
d457ffe7ee
Spelling fix: 'comma seperated'=>'comma-separated'
2015-07-14 15:46:32 -07:00
Michael Hobbs
a84397895a
initial pass at config plugin arguments refactor
2015-07-06 19:41:17 -07:00
Michael Hobbs
bd0b14692a
lintball
2015-05-18 10:27:16 -07:00
Michael Hobbs
a785bf82e6
handle docker opts over ssh without escaping quotes. closes #1187
2015-05-18 09:01:12 -07:00
Michael Hobbs
ba33c161f5
make docker-options adhere to DOKKU_NOT_IMPLEMENTED_EXIT pattern
2015-04-03 10:51:23 -07:00
Michael Hobbs
df8f4fb882
initial pass at including docker-options plugin. closes #1062
2015-04-01 12:57:06 -07:00