summaryrefslogtreecommitdiff
path: root/priv/shell-completion/zsh/_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/zsh/_rebar3
parente49e59d09a73d4a27e1bd18ee59dd1b9ac6522bb (diff)
track parent app of deps and add tree provider to display the relations
Diffstat (limited to 'priv/shell-completion/zsh/_rebar3')
-rw-r--r--priv/shell-completion/zsh/_rebar36
1 files changed, 6 insertions, 0 deletions
diff --git a/priv/shell-completion/zsh/_rebar3 b/priv/shell-completion/zsh/_rebar3
index b03b7c9..04575bc 100644
--- a/priv/shell-completion/zsh/_rebar3
+++ b/priv/shell-completion/zsh/_rebar3
@@ -191,6 +191,11 @@ _rebar3 () {
'(-r --root)'{-r,--root}'[The project root directory]:system libs:_files -/' \
&& ret=0
;;
+ (tree)
+ _arguments \
+ '(-v --verbose)'{-v,--verbose}'[Print repo and branch/tag/ref for git and hg deps]' \
+ && ret=0
+ ;;
(unlock)
_arguments \
'*: :_rebar3_list_deps' \
@@ -236,6 +241,7 @@ _rebar3_tasks() {
'report:Provide a crash report to be sent to the rebar3 issues page.'
'shell:Run shell with project apps and deps in path.'
'tar:Tar archive of release built of project.'
+ 'tree:Print dependency tree.'
'unlock:Unlock dependencies.'
'update:Update package index.'
'upgrade:Upgrade dependencies.'