@@ -40,34 +40,38 @@ _rush_completions() {
40
40
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help -h" ) " -- " $cur " )
41
41
;;
42
42
43
- ' remove ' * )
44
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help --purge - h -p " ) " -- " $cur " )
43
+ ' snatch ' * )
44
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --force -- help --undo --verbose -f - h -u -v " ) " -- " $cur " )
45
45
;;
46
46
47
- ' update ' * )
47
+ ' search ' * )
48
48
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help -h" ) " -- " $cur " )
49
49
;;
50
50
51
- ' upload' * )
52
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --all --chmod --help --message -a -h -m -x" ) " -- " $cur " )
53
- ;;
54
-
55
51
' config' * )
56
52
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --edit --help -e -h" ) " -- " $cur " )
57
53
;;
58
54
59
- ' snatch ' * )
60
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --force --help --undo --verbose -f -h -u -v " ) " -- " $cur " )
55
+ ' upload ' * )
56
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --all --chmod --help --message -a -h -m -x " ) " -- " $cur " )
61
57
;;
62
58
63
- ' search ' * )
59
+ ' update ' * )
64
60
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help -h" ) " -- " $cur " )
65
61
;;
66
62
63
+ ' remove' * )
64
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help --purge -h -p" ) " -- " $cur " )
65
+ ;;
66
+
67
67
' clone' * )
68
68
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -A directory -W " $( _rush_completions_filter " --default --help --ignore --name --shallow --ssh -d -h -i -n -s -w" ) " -- " $cur " )
69
69
;;
70
70
71
+ ' edit' * )
72
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help -h" ) " -- " $cur " )
73
+ ;;
74
+
71
75
' pull' * )
72
76
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help -h" ) " -- " $cur " )
73
77
;;
@@ -76,6 +80,10 @@ _rush_completions() {
76
80
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --all --chmod --help --message -a -h -m -x" ) " -- " $cur " )
77
81
;;
78
82
83
+ ' show' * )
84
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help -h" ) " -- " $cur " )
85
+ ;;
86
+
79
87
' undo' * )
80
88
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help --verbose -h -v" ) " -- " $cur " )
81
89
;;
@@ -92,64 +100,56 @@ _rush_completions() {
92
100
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --all --help --simple -a -h -s" ) " -- " $cur " )
93
101
;;
94
102
95
- ' edit' * )
96
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help -h" ) " -- " $cur " )
97
- ;;
98
-
99
- ' show' * )
100
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help -h" ) " -- " $cur " )
103
+ ' get' * )
104
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --clone --force --help --verbose -c -f -h -v" ) " -- " $cur " )
101
105
;;
102
106
103
107
' add' * )
104
108
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -A directory -W " $( _rush_completions_filter " --help -h" ) " -- " $cur " )
105
109
;;
106
110
107
- ' get' * )
108
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --clone --force --help --verbose -c -f -h -v" ) " -- " $cur " )
109
- ;;
110
-
111
111
' ls' * )
112
112
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --all --help --simple -a -h -s" ) " -- " $cur " )
113
113
;;
114
114
115
- ' a' * )
116
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -A directory -W " $( _rush_completions_filter " --help -h" ) " -- " $cur " )
117
- ;;
118
-
119
- ' r' * )
120
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help --purge -h -p" ) " -- " $cur " )
115
+ ' e' * )
116
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help -h" ) " -- " $cur " )
121
117
;;
122
118
123
- ' p ' * )
119
+ ' s ' * )
124
120
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help -h" ) " -- " $cur " )
125
121
;;
126
122
127
- ' c ' * )
128
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --edit --help -e -h " ) " -- " $cur " )
123
+ ' l ' * )
124
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --all --help --simple -a -h -s " ) " -- " $cur " )
129
125
;;
130
126
131
- ' g ' * )
132
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --clone --force -- help --verbose -c -f -h -v " ) " -- " $cur " )
127
+ ' i ' * )
128
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help -h " ) " -- " $cur " )
133
129
;;
134
130
135
131
' u' * )
136
132
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help --verbose -h -v" ) " -- " $cur " )
137
133
;;
138
134
139
- ' i ' * )
140
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help -h " ) " -- " $cur " )
135
+ ' g ' * )
136
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --clone --force -- help --verbose -c -f -h -v " ) " -- " $cur " )
141
137
;;
142
138
143
- ' l ' * )
144
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --all --help --simple -a -h -s " ) " -- " $cur " )
139
+ ' c ' * )
140
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --edit --help -e -h " ) " -- " $cur " )
145
141
;;
146
142
147
- ' s ' * )
143
+ ' p ' * )
148
144
while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help -h" ) " -- " $cur " )
149
145
;;
150
146
151
- ' e' * )
152
- while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " $( rush list -s -a) --help -h" ) " -- " $cur " )
147
+ ' r' * )
148
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -W " $( _rush_completions_filter " --help --purge -h -p" ) " -- " $cur " )
149
+ ;;
150
+
151
+ ' a' * )
152
+ while read -r; do COMPREPLY+=( " $REPLY " ); done < <( compgen -A directory -W " $( _rush_completions_filter " --help -h" ) " -- " $cur " )
153
153
;;
154
154
155
155
* )
0 commit comments