1d636fe8ab4a7258eddbe120d462cdda3d8adbaf

Author
Alexandre Joly <alexandre.joly@futurecom.ch>
Committer
Alexandre Joly <alexandre.joly@futurecom.ch>
Date

Message

pod-list

pod-lib removed. whyever I described it...

Diff

 1diff --git a/plugins/pod/_pod b/plugins/pod/_pod
 2index ce8882d421ead3fff45db3e79b0919cbe952a905..1decb8872d364278c0fb48b3ca8a52a64ae508b0 100644
 3--- a/plugins/pod/_pod
 4+++ b/plugins/pod/_pod
 5@@ -30,7 +30,6 @@ _1st_arguments=(
 6     'help:Show help for the given command.'
 7     'install:Install project dependencies'
 8     'ipc:Inter-process communication'
 9-    'lib:Develop pods'
10     'list:List pods'
11     'outdated:Show outdated project dependencies'
12     'podfile-info:Shows information on installed Pods'
13@@ -77,7 +76,7 @@ __first_command_list ()
14     local expl
15     declare -a tasks
16 
17-    tasks=(install ipc lib list outdated podfile-info push repo search setup spec update)
18+    tasks=(install ipc list outdated podfile-info push repo search setup spec update)
19 
20     _wanted tasks expl 'help' compadd $tasks
21 }
22@@ -152,6 +151,27 @@ __pod-ipc() {
23     esac
24 }
25 
26+__pod-list() {
27+    local curcontext="$curcontext" state line
28+    typeset -A opt_args
29+
30+    _arguments -C \
31+        ':command:->command' \
32+        '*::options:->options'
33+
34+   case $state in
35+        (command)
36+            _describe -t commands "gem subcommand" _list_arguments
37+            return
38+        ;;
39+
40+        (options)
41+            #todo
42+            return
43+        ;;
44+    esac
45+}
46+
47 
48 
49 local expl
50@@ -192,7 +212,7 @@ case $state in
51             __pod-list
52         ;;
53 
54-        (install|lib|outdated|podfile-info|push|search|setup|update)
55+        (install|outdated|podfile-info|push|search|setup|update)
56             #_arguments ':feature:__repo_list'
57     esac
58   ;;