summaryrefslogtreecommitdiff
path: root/priv/shell-completion/bash/rebar3
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-08-14 23:14:15 -0500
committerTristan Sloughter <t@crashfast.com>2015-08-15 21:33:52 -0500
commitbe4ae19fecbade303978920701e9e3f8b38d3c54 (patch)
treebdd4e1fbc953aff73b811cee5e4cc1d2790e803f /priv/shell-completion/bash/rebar3
parente49e59d09a73d4a27e1bd18ee59dd1b9ac6522bb (diff)
track parent app of deps and add tree provider to display the relations
Diffstat (limited to 'priv/shell-completion/bash/rebar3')
-rw-r--r--priv/shell-completion/bash/rebar37
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/shell-completion/bash/rebar3 b/priv/shell-completion/bash/rebar3
index 4e28d3d..40009b7 100644
--- a/priv/shell-completion/bash/rebar3
+++ b/priv/shell-completion/bash/rebar3
@@ -15,6 +15,7 @@ _rebar3()
compile \
cover \
ct \
+ deps \
dialyzer \
do \
edoc \
@@ -29,6 +30,7 @@ _rebar3()
report \
shell \
tar \
+ tree \
unlock \
update \
upgrade \
@@ -77,6 +79,8 @@ _rebar3()
--basic_html \
--ct_hooks \
--verbose"
+ elif [[ ${prev} == deps ]] ; then
+ :
elif [[ ${prev} == dialyzer ]] ; then
sopts="-u -s"
lopts="--update-plt --succ-typings"
@@ -168,6 +172,9 @@ _rebar3()
--system_libs \
--version \
--root"
+ elif [[ ${prev} == tree ]] ; then
+ sopts="-v"
+ lopts="--verbose"
elif [[ ${prev} == update ]] ; then
:
elif [[ ${prev} == upgrade ]] ; then