autoproj 2.7.1 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +31 -1
- data/autoproj.gemspec +2 -0
- data/bin/alocate +3 -5
- data/bin/alog +3 -3
- data/bin/amake +3 -4
- data/bin/aup +4 -3
- data/bin/autoproj +1 -6
- data/bin/autoproj_bootstrap +153 -47
- data/bin/autoproj_install +153 -47
- data/lib/autoproj/autobuild_extensions/dsl.rb +5 -0
- data/lib/autoproj/bash_completion.rb +26 -0
- data/lib/autoproj/cli/base.rb +4 -4
- data/lib/autoproj/cli/build.rb +2 -3
- data/lib/autoproj/cli/main.rb +52 -2
- data/lib/autoproj/cli/main_global.rb +39 -0
- data/lib/autoproj/cli/osdeps.rb +2 -1
- data/lib/autoproj/cli/update.rb +13 -1
- data/lib/autoproj/configuration.rb +14 -2
- data/lib/autoproj/environment.rb +48 -31
- data/lib/autoproj/ops/install.rb +153 -47
- data/lib/autoproj/shell_completion.rb +164 -0
- data/lib/autoproj/templates/helpers.bash.erb +79 -0
- data/lib/autoproj/templates/helpers.zsh.erb +38 -0
- data/lib/autoproj/templates/main.bash.erb +35 -0
- data/lib/autoproj/templates/main.zsh.erb +9 -0
- data/lib/autoproj/templates/subcommand.bash.erb +50 -0
- data/lib/autoproj/templates/subcommand.zsh.erb +51 -0
- data/lib/autoproj/version.rb +1 -1
- data/lib/autoproj/workspace.rb +97 -19
- data/lib/autoproj/zsh_completion.rb +43 -0
- data/shell/autoproj_bash +67 -0
- data/shell/autoproj_zsh +26 -0
- data/shell/completion/alocate_bash +68 -0
- data/shell/completion/alocate_zsh +22 -0
- data/shell/completion/alog_bash +61 -0
- data/shell/completion/alog_zsh +20 -0
- data/shell/completion/amake_bash +77 -0
- data/shell/completion/amake_zsh +27 -0
- data/shell/completion/aup_bash +89 -0
- data/shell/completion/aup_zsh +34 -0
- data/shell/completion/autoproj_bash +1556 -0
- data/shell/completion/autoproj_zsh +1005 -0
- metadata +51 -3
@@ -0,0 +1,34 @@
|
|
1
|
+
#!/usr/bin/env zsh
|
2
|
+
|
3
|
+
_aup() {
|
4
|
+
__aup
|
5
|
+
}
|
6
|
+
|
7
|
+
__aup() {
|
8
|
+
_arguments \
|
9
|
+
{--verbose,--no-verbose}'[turns verbose output]' \
|
10
|
+
{--debug,--no-debug}'[turns debugging output]' \
|
11
|
+
{--silent,--no-silent}'[tell autoproj to not display anything]' \
|
12
|
+
{--color,--no-color}'[enables or disables colored display (enabled by default if the terminal supports it)]' \
|
13
|
+
{--progress,--no-progress}'[enables or disables progress display (enabled by default if the terminal supports it)]' \
|
14
|
+
{--keep-going,--no-keep-going,-k}'[do not stop on build or checkout errors]' \
|
15
|
+
{--config,--no-config}'[(do not) update configuration. The default is to update configuration if explicitely selected or if no additional arguments are given on the command line, and to not do it if packages are explicitely selected on the command line]' \
|
16
|
+
{--bundler,--no-bundler}'[(do not) update bundler. This is automatically enabled only if no arguments are given on the command line]' \
|
17
|
+
{--autoproj,--no-autoproj}'[(do not) update autoproj. This is automatically enabled only if no arguments are given on the command line]' \
|
18
|
+
{--osdeps,--no-osdeps}'[enable or disable osdeps handling]' \
|
19
|
+
--from'[use this existing autoproj installation to check out the packages (for importers that support this)]' \
|
20
|
+
{--checkout-only,--no-checkout-only,-c}'[only checkout packages, do not update existing ones]' \
|
21
|
+
{--local,--no-local}'[use only local information for the update (for importers that support it)]' \
|
22
|
+
{--osdeps-filter-uptodate,--no-osdeps-filter-uptodate}'[controls whether the osdeps subsystem should filter up-to-date packages or not]' \
|
23
|
+
{--deps,--no-deps}'[whether the package dependencies should be recursively updated (the default) or not. -n is a shortcut for --no-deps]' \
|
24
|
+
{--reset,--no-reset}'[forcefully resets the repository to the state expected by autoproj''s configuration]' \
|
25
|
+
{--force-reset,--no-force-reset}'[like --reset, but bypasses tests that ensure you won''t lose data]' \
|
26
|
+
--retry-count'[force the importer''s retry count to this value]' \
|
27
|
+
{--parallel,-p}'[maximum number of parallel jobs]' \
|
28
|
+
--mainline'[compare to the given baseline. if ''true'', the comparison will ignore any override, otherwise it will take into account overrides only up to the given package set]' \
|
29
|
+
{--auto-exclude,--no-auto-exclude}'[if true, packages that fail to import will be excluded from the build]' \
|
30
|
+
'*:arg:_autoproj_installed_packages'
|
31
|
+
}
|
32
|
+
|
33
|
+
|
34
|
+
compdef _aup aup
|
@@ -0,0 +1,1556 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
__autoproj_autoproj()
|
4
|
+
{
|
5
|
+
__autoproj
|
6
|
+
}
|
7
|
+
|
8
|
+
_autoproj()
|
9
|
+
{
|
10
|
+
local cur prev words cword
|
11
|
+
local command='autoproj'
|
12
|
+
local counter=1
|
13
|
+
|
14
|
+
_get_comp_words_by_ref -n : cur prev words cword
|
15
|
+
|
16
|
+
while [ "$counter" -lt "$cword" ]; do
|
17
|
+
case "${words[$counter]}" in
|
18
|
+
-*)
|
19
|
+
break
|
20
|
+
;;
|
21
|
+
*)
|
22
|
+
command="${words[$counter]}"
|
23
|
+
break
|
24
|
+
;;
|
25
|
+
esac
|
26
|
+
(( counter++ ))
|
27
|
+
done
|
28
|
+
|
29
|
+
local completions_func=__autoproj_${command//-/_}
|
30
|
+
$completions_func
|
31
|
+
}
|
32
|
+
|
33
|
+
__autoproj() {
|
34
|
+
local subcommands="
|
35
|
+
help
|
36
|
+
bootstrap
|
37
|
+
envsh
|
38
|
+
status
|
39
|
+
doc
|
40
|
+
update
|
41
|
+
build
|
42
|
+
cache
|
43
|
+
clean
|
44
|
+
locate
|
45
|
+
reconfigure
|
46
|
+
test
|
47
|
+
show
|
48
|
+
osdeps
|
49
|
+
versions
|
50
|
+
log
|
51
|
+
reset
|
52
|
+
tag
|
53
|
+
commit
|
54
|
+
switch-config
|
55
|
+
query
|
56
|
+
plugin
|
57
|
+
global
|
58
|
+
manifest
|
59
|
+
exec
|
60
|
+
which
|
61
|
+
"
|
62
|
+
|
63
|
+
local options="
|
64
|
+
"
|
65
|
+
|
66
|
+
_autoproj_subcommands "$subcommands" && return
|
67
|
+
|
68
|
+
case "$cur" in
|
69
|
+
-*)
|
70
|
+
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
71
|
+
;;
|
72
|
+
*)
|
73
|
+
COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) )
|
74
|
+
;;
|
75
|
+
esac
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
__autoproj_help() {
|
80
|
+
local subcommands="
|
81
|
+
bootstrap
|
82
|
+
envsh
|
83
|
+
status
|
84
|
+
doc
|
85
|
+
update
|
86
|
+
build
|
87
|
+
cache
|
88
|
+
clean
|
89
|
+
locate
|
90
|
+
reconfigure
|
91
|
+
test
|
92
|
+
show
|
93
|
+
osdeps
|
94
|
+
versions
|
95
|
+
log
|
96
|
+
reset
|
97
|
+
tag
|
98
|
+
commit
|
99
|
+
switch-config
|
100
|
+
query
|
101
|
+
plugin
|
102
|
+
global
|
103
|
+
manifest
|
104
|
+
exec
|
105
|
+
which
|
106
|
+
"
|
107
|
+
|
108
|
+
local options="
|
109
|
+
"
|
110
|
+
|
111
|
+
_autoproj_subcommands "$subcommands" && return
|
112
|
+
|
113
|
+
case "$cur" in
|
114
|
+
-*)
|
115
|
+
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
116
|
+
;;
|
117
|
+
*)
|
118
|
+
COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) )
|
119
|
+
;;
|
120
|
+
esac
|
121
|
+
}
|
122
|
+
|
123
|
+
|
124
|
+
__autoproj_help_bootstrap() {
|
125
|
+
local options="
|
126
|
+
"
|
127
|
+
|
128
|
+
case "$cur" in
|
129
|
+
-*)
|
130
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
131
|
+
;;
|
132
|
+
*)
|
133
|
+
|
134
|
+
;;
|
135
|
+
esac
|
136
|
+
}
|
137
|
+
|
138
|
+
__autoproj_help_envsh() {
|
139
|
+
local options="
|
140
|
+
"
|
141
|
+
|
142
|
+
case "$cur" in
|
143
|
+
-*)
|
144
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
145
|
+
;;
|
146
|
+
*)
|
147
|
+
|
148
|
+
;;
|
149
|
+
esac
|
150
|
+
}
|
151
|
+
|
152
|
+
__autoproj_help_status() {
|
153
|
+
local options="
|
154
|
+
"
|
155
|
+
|
156
|
+
case "$cur" in
|
157
|
+
-*)
|
158
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
159
|
+
;;
|
160
|
+
*)
|
161
|
+
|
162
|
+
;;
|
163
|
+
esac
|
164
|
+
}
|
165
|
+
|
166
|
+
__autoproj_help_doc() {
|
167
|
+
local options="
|
168
|
+
"
|
169
|
+
|
170
|
+
case "$cur" in
|
171
|
+
-*)
|
172
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
173
|
+
;;
|
174
|
+
*)
|
175
|
+
|
176
|
+
;;
|
177
|
+
esac
|
178
|
+
}
|
179
|
+
|
180
|
+
__autoproj_help_update() {
|
181
|
+
local options="
|
182
|
+
"
|
183
|
+
|
184
|
+
case "$cur" in
|
185
|
+
-*)
|
186
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
187
|
+
;;
|
188
|
+
*)
|
189
|
+
|
190
|
+
;;
|
191
|
+
esac
|
192
|
+
}
|
193
|
+
|
194
|
+
__autoproj_help_build() {
|
195
|
+
local options="
|
196
|
+
"
|
197
|
+
|
198
|
+
case "$cur" in
|
199
|
+
-*)
|
200
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
201
|
+
;;
|
202
|
+
*)
|
203
|
+
|
204
|
+
;;
|
205
|
+
esac
|
206
|
+
}
|
207
|
+
|
208
|
+
__autoproj_help_cache() {
|
209
|
+
local options="
|
210
|
+
"
|
211
|
+
|
212
|
+
case "$cur" in
|
213
|
+
-*)
|
214
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
215
|
+
;;
|
216
|
+
*)
|
217
|
+
|
218
|
+
;;
|
219
|
+
esac
|
220
|
+
}
|
221
|
+
|
222
|
+
__autoproj_help_clean() {
|
223
|
+
local options="
|
224
|
+
"
|
225
|
+
|
226
|
+
case "$cur" in
|
227
|
+
-*)
|
228
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
229
|
+
;;
|
230
|
+
*)
|
231
|
+
|
232
|
+
;;
|
233
|
+
esac
|
234
|
+
}
|
235
|
+
|
236
|
+
__autoproj_help_locate() {
|
237
|
+
local options="
|
238
|
+
"
|
239
|
+
|
240
|
+
case "$cur" in
|
241
|
+
-*)
|
242
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
243
|
+
;;
|
244
|
+
*)
|
245
|
+
|
246
|
+
;;
|
247
|
+
esac
|
248
|
+
}
|
249
|
+
|
250
|
+
__autoproj_help_reconfigure() {
|
251
|
+
local options="
|
252
|
+
"
|
253
|
+
|
254
|
+
case "$cur" in
|
255
|
+
-*)
|
256
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
257
|
+
;;
|
258
|
+
*)
|
259
|
+
|
260
|
+
;;
|
261
|
+
esac
|
262
|
+
}
|
263
|
+
|
264
|
+
__autoproj_help_test() {
|
265
|
+
local options="
|
266
|
+
"
|
267
|
+
|
268
|
+
case "$cur" in
|
269
|
+
-*)
|
270
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
271
|
+
;;
|
272
|
+
*)
|
273
|
+
|
274
|
+
;;
|
275
|
+
esac
|
276
|
+
}
|
277
|
+
|
278
|
+
__autoproj_help_show() {
|
279
|
+
local options="
|
280
|
+
"
|
281
|
+
|
282
|
+
case "$cur" in
|
283
|
+
-*)
|
284
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
285
|
+
;;
|
286
|
+
*)
|
287
|
+
|
288
|
+
;;
|
289
|
+
esac
|
290
|
+
}
|
291
|
+
|
292
|
+
__autoproj_help_osdeps() {
|
293
|
+
local options="
|
294
|
+
"
|
295
|
+
|
296
|
+
case "$cur" in
|
297
|
+
-*)
|
298
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
299
|
+
;;
|
300
|
+
*)
|
301
|
+
|
302
|
+
;;
|
303
|
+
esac
|
304
|
+
}
|
305
|
+
|
306
|
+
__autoproj_help_versions() {
|
307
|
+
local options="
|
308
|
+
"
|
309
|
+
|
310
|
+
case "$cur" in
|
311
|
+
-*)
|
312
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
313
|
+
;;
|
314
|
+
*)
|
315
|
+
|
316
|
+
;;
|
317
|
+
esac
|
318
|
+
}
|
319
|
+
|
320
|
+
__autoproj_help_log() {
|
321
|
+
local options="
|
322
|
+
"
|
323
|
+
|
324
|
+
case "$cur" in
|
325
|
+
-*)
|
326
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
327
|
+
;;
|
328
|
+
*)
|
329
|
+
|
330
|
+
;;
|
331
|
+
esac
|
332
|
+
}
|
333
|
+
|
334
|
+
__autoproj_help_reset() {
|
335
|
+
local options="
|
336
|
+
"
|
337
|
+
|
338
|
+
case "$cur" in
|
339
|
+
-*)
|
340
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
341
|
+
;;
|
342
|
+
*)
|
343
|
+
|
344
|
+
;;
|
345
|
+
esac
|
346
|
+
}
|
347
|
+
|
348
|
+
__autoproj_help_tag() {
|
349
|
+
local options="
|
350
|
+
"
|
351
|
+
|
352
|
+
case "$cur" in
|
353
|
+
-*)
|
354
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
355
|
+
;;
|
356
|
+
*)
|
357
|
+
|
358
|
+
;;
|
359
|
+
esac
|
360
|
+
}
|
361
|
+
|
362
|
+
__autoproj_help_commit() {
|
363
|
+
local options="
|
364
|
+
"
|
365
|
+
|
366
|
+
case "$cur" in
|
367
|
+
-*)
|
368
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
369
|
+
;;
|
370
|
+
*)
|
371
|
+
|
372
|
+
;;
|
373
|
+
esac
|
374
|
+
}
|
375
|
+
|
376
|
+
__autoproj_help_switch-config() {
|
377
|
+
local options="
|
378
|
+
"
|
379
|
+
|
380
|
+
case "$cur" in
|
381
|
+
-*)
|
382
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
383
|
+
;;
|
384
|
+
*)
|
385
|
+
|
386
|
+
;;
|
387
|
+
esac
|
388
|
+
}
|
389
|
+
|
390
|
+
__autoproj_help_query() {
|
391
|
+
local options="
|
392
|
+
"
|
393
|
+
|
394
|
+
case "$cur" in
|
395
|
+
-*)
|
396
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
397
|
+
;;
|
398
|
+
*)
|
399
|
+
|
400
|
+
;;
|
401
|
+
esac
|
402
|
+
}
|
403
|
+
|
404
|
+
__autoproj_help_plugin() {
|
405
|
+
local options="
|
406
|
+
"
|
407
|
+
|
408
|
+
case "$cur" in
|
409
|
+
-*)
|
410
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
411
|
+
;;
|
412
|
+
*)
|
413
|
+
|
414
|
+
;;
|
415
|
+
esac
|
416
|
+
}
|
417
|
+
|
418
|
+
__autoproj_help_global() {
|
419
|
+
local options="
|
420
|
+
"
|
421
|
+
|
422
|
+
case "$cur" in
|
423
|
+
-*)
|
424
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
425
|
+
;;
|
426
|
+
*)
|
427
|
+
|
428
|
+
;;
|
429
|
+
esac
|
430
|
+
}
|
431
|
+
|
432
|
+
__autoproj_help_manifest() {
|
433
|
+
local options="
|
434
|
+
"
|
435
|
+
|
436
|
+
case "$cur" in
|
437
|
+
-*)
|
438
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
439
|
+
;;
|
440
|
+
*)
|
441
|
+
|
442
|
+
;;
|
443
|
+
esac
|
444
|
+
}
|
445
|
+
|
446
|
+
__autoproj_help_exec() {
|
447
|
+
local options="
|
448
|
+
"
|
449
|
+
|
450
|
+
case "$cur" in
|
451
|
+
-*)
|
452
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
453
|
+
;;
|
454
|
+
*)
|
455
|
+
|
456
|
+
;;
|
457
|
+
esac
|
458
|
+
}
|
459
|
+
|
460
|
+
__autoproj_help_which() {
|
461
|
+
local options="
|
462
|
+
"
|
463
|
+
|
464
|
+
case "$cur" in
|
465
|
+
-*)
|
466
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
467
|
+
;;
|
468
|
+
*)
|
469
|
+
|
470
|
+
;;
|
471
|
+
esac
|
472
|
+
}
|
473
|
+
|
474
|
+
__autoproj_bootstrap() {
|
475
|
+
local options="
|
476
|
+
--verbose
|
477
|
+
--no-verbose
|
478
|
+
--debug
|
479
|
+
--no-debug
|
480
|
+
--silent
|
481
|
+
--no-silent
|
482
|
+
--color
|
483
|
+
--no-color
|
484
|
+
--progress
|
485
|
+
--no-progress
|
486
|
+
--reuse
|
487
|
+
--seed-config
|
488
|
+
"
|
489
|
+
|
490
|
+
case "$cur" in
|
491
|
+
-*)
|
492
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
493
|
+
;;
|
494
|
+
*)
|
495
|
+
|
496
|
+
;;
|
497
|
+
esac
|
498
|
+
}
|
499
|
+
|
500
|
+
__autoproj_envsh() {
|
501
|
+
local options="
|
502
|
+
--verbose
|
503
|
+
--no-verbose
|
504
|
+
--debug
|
505
|
+
--no-debug
|
506
|
+
--silent
|
507
|
+
--no-silent
|
508
|
+
--color
|
509
|
+
--no-color
|
510
|
+
--progress
|
511
|
+
--no-progress
|
512
|
+
"
|
513
|
+
|
514
|
+
case "$cur" in
|
515
|
+
-*)
|
516
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
517
|
+
;;
|
518
|
+
*)
|
519
|
+
|
520
|
+
;;
|
521
|
+
esac
|
522
|
+
}
|
523
|
+
|
524
|
+
__autoproj_status() {
|
525
|
+
local options="
|
526
|
+
--verbose
|
527
|
+
--no-verbose
|
528
|
+
--debug
|
529
|
+
--no-debug
|
530
|
+
--silent
|
531
|
+
--no-silent
|
532
|
+
--color
|
533
|
+
--no-color
|
534
|
+
--progress
|
535
|
+
--no-progress
|
536
|
+
--local
|
537
|
+
--no-local
|
538
|
+
--mainline
|
539
|
+
--snapshot
|
540
|
+
--no-snapshot
|
541
|
+
--parallel
|
542
|
+
-p
|
543
|
+
--deps
|
544
|
+
--no-deps
|
545
|
+
"
|
546
|
+
|
547
|
+
case "$cur" in
|
548
|
+
-*)
|
549
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
550
|
+
;;
|
551
|
+
*)
|
552
|
+
_autoproj_installed_packages
|
553
|
+
;;
|
554
|
+
esac
|
555
|
+
}
|
556
|
+
|
557
|
+
__autoproj_doc() {
|
558
|
+
local options="
|
559
|
+
--verbose
|
560
|
+
--no-verbose
|
561
|
+
--debug
|
562
|
+
--no-debug
|
563
|
+
--silent
|
564
|
+
--no-silent
|
565
|
+
--color
|
566
|
+
--no-color
|
567
|
+
--progress
|
568
|
+
--no-progress
|
569
|
+
--deps
|
570
|
+
--no-deps
|
571
|
+
"
|
572
|
+
|
573
|
+
case "$cur" in
|
574
|
+
-*)
|
575
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
576
|
+
;;
|
577
|
+
*)
|
578
|
+
_autoproj_installed_packages
|
579
|
+
;;
|
580
|
+
esac
|
581
|
+
}
|
582
|
+
|
583
|
+
__autoproj_update() {
|
584
|
+
local options="
|
585
|
+
--verbose
|
586
|
+
--no-verbose
|
587
|
+
--debug
|
588
|
+
--no-debug
|
589
|
+
--silent
|
590
|
+
--no-silent
|
591
|
+
--color
|
592
|
+
--no-color
|
593
|
+
--progress
|
594
|
+
--no-progress
|
595
|
+
--keep-going
|
596
|
+
--no-keep-going
|
597
|
+
-k
|
598
|
+
--config
|
599
|
+
--no-config
|
600
|
+
--bundler
|
601
|
+
--no-bundler
|
602
|
+
--autoproj
|
603
|
+
--no-autoproj
|
604
|
+
--osdeps
|
605
|
+
--no-osdeps
|
606
|
+
--from
|
607
|
+
--checkout-only
|
608
|
+
--no-checkout-only
|
609
|
+
-c
|
610
|
+
--local
|
611
|
+
--no-local
|
612
|
+
--osdeps-filter-uptodate
|
613
|
+
--no-osdeps-filter-uptodate
|
614
|
+
--deps
|
615
|
+
--no-deps
|
616
|
+
--reset
|
617
|
+
--no-reset
|
618
|
+
--force-reset
|
619
|
+
--no-force-reset
|
620
|
+
--retry-count
|
621
|
+
--parallel
|
622
|
+
-p
|
623
|
+
--mainline
|
624
|
+
--auto-exclude
|
625
|
+
--no-auto-exclude
|
626
|
+
"
|
627
|
+
|
628
|
+
case "$cur" in
|
629
|
+
-*)
|
630
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
631
|
+
;;
|
632
|
+
*)
|
633
|
+
_autoproj_installed_packages
|
634
|
+
;;
|
635
|
+
esac
|
636
|
+
}
|
637
|
+
|
638
|
+
__autoproj_build() {
|
639
|
+
local options="
|
640
|
+
--verbose
|
641
|
+
--no-verbose
|
642
|
+
--debug
|
643
|
+
--no-debug
|
644
|
+
--silent
|
645
|
+
--no-silent
|
646
|
+
--color
|
647
|
+
--no-color
|
648
|
+
--progress
|
649
|
+
--no-progress
|
650
|
+
--keep-going
|
651
|
+
--no-keep-going
|
652
|
+
-k
|
653
|
+
--force
|
654
|
+
--no-force
|
655
|
+
--rebuild
|
656
|
+
--no-rebuild
|
657
|
+
--osdeps
|
658
|
+
--no-osdeps
|
659
|
+
--deps
|
660
|
+
--no-deps
|
661
|
+
--parallel
|
662
|
+
-p
|
663
|
+
--auto-exclude
|
664
|
+
--no-auto-exclude
|
665
|
+
--tool
|
666
|
+
--no-tool
|
667
|
+
--confirm
|
668
|
+
--no-confirm
|
669
|
+
"
|
670
|
+
|
671
|
+
case "$cur" in
|
672
|
+
-*)
|
673
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
674
|
+
;;
|
675
|
+
*)
|
676
|
+
_autoproj_installed_packages
|
677
|
+
;;
|
678
|
+
esac
|
679
|
+
}
|
680
|
+
|
681
|
+
__autoproj_cache() {
|
682
|
+
local options="
|
683
|
+
--verbose
|
684
|
+
--no-verbose
|
685
|
+
--debug
|
686
|
+
--no-debug
|
687
|
+
--silent
|
688
|
+
--no-silent
|
689
|
+
--color
|
690
|
+
--no-color
|
691
|
+
--progress
|
692
|
+
--no-progress
|
693
|
+
--keep-going
|
694
|
+
-k
|
695
|
+
--checkout-only
|
696
|
+
--no-checkout-only
|
697
|
+
-c
|
698
|
+
--all
|
699
|
+
--no-all
|
700
|
+
"
|
701
|
+
|
702
|
+
case "$cur" in
|
703
|
+
-*)
|
704
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
705
|
+
;;
|
706
|
+
*)
|
707
|
+
_filedir
|
708
|
+
;;
|
709
|
+
esac
|
710
|
+
}
|
711
|
+
|
712
|
+
__autoproj_clean() {
|
713
|
+
local options="
|
714
|
+
--verbose
|
715
|
+
--no-verbose
|
716
|
+
--debug
|
717
|
+
--no-debug
|
718
|
+
--silent
|
719
|
+
--no-silent
|
720
|
+
--color
|
721
|
+
--no-color
|
722
|
+
--progress
|
723
|
+
--no-progress
|
724
|
+
--deps
|
725
|
+
--no-deps
|
726
|
+
--all
|
727
|
+
--no-all
|
728
|
+
"
|
729
|
+
|
730
|
+
case "$cur" in
|
731
|
+
-*)
|
732
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
733
|
+
;;
|
734
|
+
*)
|
735
|
+
_autoproj_installed_packages
|
736
|
+
;;
|
737
|
+
esac
|
738
|
+
}
|
739
|
+
|
740
|
+
__autoproj_locate() {
|
741
|
+
local options="
|
742
|
+
--verbose
|
743
|
+
--no-verbose
|
744
|
+
--debug
|
745
|
+
--no-debug
|
746
|
+
--silent
|
747
|
+
--no-silent
|
748
|
+
--color
|
749
|
+
--no-color
|
750
|
+
--progress
|
751
|
+
--no-progress
|
752
|
+
--cache
|
753
|
+
--no-cache
|
754
|
+
--prefix
|
755
|
+
--no-prefix
|
756
|
+
-p
|
757
|
+
--build
|
758
|
+
--no-build
|
759
|
+
-b
|
760
|
+
--log
|
761
|
+
-l
|
762
|
+
"
|
763
|
+
|
764
|
+
case "$cur" in
|
765
|
+
-*)
|
766
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
767
|
+
;;
|
768
|
+
*)
|
769
|
+
_autoproj_installed_packages
|
770
|
+
;;
|
771
|
+
esac
|
772
|
+
}
|
773
|
+
|
774
|
+
__autoproj_reconfigure() {
|
775
|
+
local options="
|
776
|
+
--verbose
|
777
|
+
--no-verbose
|
778
|
+
--debug
|
779
|
+
--no-debug
|
780
|
+
--silent
|
781
|
+
--no-silent
|
782
|
+
--color
|
783
|
+
--no-color
|
784
|
+
--progress
|
785
|
+
--no-progress
|
786
|
+
--separate-prefixes
|
787
|
+
--no-separate-prefixes
|
788
|
+
"
|
789
|
+
|
790
|
+
case "$cur" in
|
791
|
+
-*)
|
792
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
793
|
+
;;
|
794
|
+
*)
|
795
|
+
|
796
|
+
;;
|
797
|
+
esac
|
798
|
+
}
|
799
|
+
|
800
|
+
__autoproj_test() {
|
801
|
+
local subcommands="
|
802
|
+
help
|
803
|
+
enable
|
804
|
+
disable
|
805
|
+
list
|
806
|
+
exec
|
807
|
+
"
|
808
|
+
|
809
|
+
local options="
|
810
|
+
"
|
811
|
+
|
812
|
+
_autoproj_subcommands "$subcommands" && return
|
813
|
+
|
814
|
+
case "$cur" in
|
815
|
+
-*)
|
816
|
+
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
817
|
+
;;
|
818
|
+
*)
|
819
|
+
COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) )
|
820
|
+
;;
|
821
|
+
esac
|
822
|
+
}
|
823
|
+
|
824
|
+
|
825
|
+
__autoproj_test_help() {
|
826
|
+
local subcommands="
|
827
|
+
enable
|
828
|
+
disable
|
829
|
+
list
|
830
|
+
exec
|
831
|
+
"
|
832
|
+
|
833
|
+
local options="
|
834
|
+
"
|
835
|
+
|
836
|
+
_autoproj_subcommands "$subcommands" && return
|
837
|
+
|
838
|
+
case "$cur" in
|
839
|
+
-*)
|
840
|
+
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
841
|
+
;;
|
842
|
+
*)
|
843
|
+
COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) )
|
844
|
+
;;
|
845
|
+
esac
|
846
|
+
}
|
847
|
+
|
848
|
+
|
849
|
+
__autoproj_test_help_enable() {
|
850
|
+
local options="
|
851
|
+
"
|
852
|
+
|
853
|
+
case "$cur" in
|
854
|
+
-*)
|
855
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
856
|
+
;;
|
857
|
+
*)
|
858
|
+
|
859
|
+
;;
|
860
|
+
esac
|
861
|
+
}
|
862
|
+
|
863
|
+
__autoproj_test_help_disable() {
|
864
|
+
local options="
|
865
|
+
"
|
866
|
+
|
867
|
+
case "$cur" in
|
868
|
+
-*)
|
869
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
870
|
+
;;
|
871
|
+
*)
|
872
|
+
|
873
|
+
;;
|
874
|
+
esac
|
875
|
+
}
|
876
|
+
|
877
|
+
__autoproj_test_help_list() {
|
878
|
+
local options="
|
879
|
+
"
|
880
|
+
|
881
|
+
case "$cur" in
|
882
|
+
-*)
|
883
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
884
|
+
;;
|
885
|
+
*)
|
886
|
+
|
887
|
+
;;
|
888
|
+
esac
|
889
|
+
}
|
890
|
+
|
891
|
+
__autoproj_test_help_exec() {
|
892
|
+
local options="
|
893
|
+
"
|
894
|
+
|
895
|
+
case "$cur" in
|
896
|
+
-*)
|
897
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
898
|
+
;;
|
899
|
+
*)
|
900
|
+
|
901
|
+
;;
|
902
|
+
esac
|
903
|
+
}
|
904
|
+
|
905
|
+
__autoproj_test_enable() {
|
906
|
+
local options="
|
907
|
+
--deps
|
908
|
+
--no-deps
|
909
|
+
"
|
910
|
+
|
911
|
+
case "$cur" in
|
912
|
+
-*)
|
913
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
914
|
+
;;
|
915
|
+
*)
|
916
|
+
_autoproj_installed_packages
|
917
|
+
;;
|
918
|
+
esac
|
919
|
+
}
|
920
|
+
|
921
|
+
__autoproj_test_disable() {
|
922
|
+
local options="
|
923
|
+
--deps
|
924
|
+
--no-deps
|
925
|
+
"
|
926
|
+
|
927
|
+
case "$cur" in
|
928
|
+
-*)
|
929
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
930
|
+
;;
|
931
|
+
*)
|
932
|
+
_autoproj_installed_packages
|
933
|
+
;;
|
934
|
+
esac
|
935
|
+
}
|
936
|
+
|
937
|
+
__autoproj_test_list() {
|
938
|
+
local options="
|
939
|
+
--deps
|
940
|
+
--no-deps
|
941
|
+
"
|
942
|
+
|
943
|
+
case "$cur" in
|
944
|
+
-*)
|
945
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
946
|
+
;;
|
947
|
+
*)
|
948
|
+
_autoproj_installed_packages
|
949
|
+
;;
|
950
|
+
esac
|
951
|
+
}
|
952
|
+
|
953
|
+
__autoproj_test_exec() {
|
954
|
+
local options="
|
955
|
+
--keep-going
|
956
|
+
--no-keep-going
|
957
|
+
-k
|
958
|
+
--deps
|
959
|
+
--no-deps
|
960
|
+
--fail
|
961
|
+
--no-fail
|
962
|
+
--coverage
|
963
|
+
--no-coverage
|
964
|
+
--tool
|
965
|
+
--no-tool
|
966
|
+
--color
|
967
|
+
--no-color
|
968
|
+
--progress
|
969
|
+
--no-progress
|
970
|
+
"
|
971
|
+
|
972
|
+
case "$cur" in
|
973
|
+
-*)
|
974
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
975
|
+
;;
|
976
|
+
*)
|
977
|
+
_autoproj_installed_packages
|
978
|
+
;;
|
979
|
+
esac
|
980
|
+
}
|
981
|
+
|
982
|
+
__autoproj_show() {
|
983
|
+
local options="
|
984
|
+
--verbose
|
985
|
+
--no-verbose
|
986
|
+
--debug
|
987
|
+
--no-debug
|
988
|
+
--silent
|
989
|
+
--no-silent
|
990
|
+
--color
|
991
|
+
--no-color
|
992
|
+
--progress
|
993
|
+
--no-progress
|
994
|
+
--mainline
|
995
|
+
--env
|
996
|
+
--no-env
|
997
|
+
--short
|
998
|
+
--recursive
|
999
|
+
--no-recursive
|
1000
|
+
"
|
1001
|
+
|
1002
|
+
case "$cur" in
|
1003
|
+
-*)
|
1004
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1005
|
+
;;
|
1006
|
+
*)
|
1007
|
+
_autoproj_installed_packages
|
1008
|
+
;;
|
1009
|
+
esac
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
__autoproj_osdeps() {
|
1013
|
+
local options="
|
1014
|
+
--verbose
|
1015
|
+
--no-verbose
|
1016
|
+
--debug
|
1017
|
+
--no-debug
|
1018
|
+
--silent
|
1019
|
+
--no-silent
|
1020
|
+
--color
|
1021
|
+
--no-color
|
1022
|
+
--progress
|
1023
|
+
--no-progress
|
1024
|
+
--system-info
|
1025
|
+
--no-system-info
|
1026
|
+
--update
|
1027
|
+
--no-update
|
1028
|
+
"
|
1029
|
+
|
1030
|
+
case "$cur" in
|
1031
|
+
-*)
|
1032
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1033
|
+
;;
|
1034
|
+
*)
|
1035
|
+
_autoproj_installed_packages
|
1036
|
+
;;
|
1037
|
+
esac
|
1038
|
+
}
|
1039
|
+
|
1040
|
+
__autoproj_versions() {
|
1041
|
+
local options="
|
1042
|
+
--verbose
|
1043
|
+
--no-verbose
|
1044
|
+
--debug
|
1045
|
+
--no-debug
|
1046
|
+
--silent
|
1047
|
+
--no-silent
|
1048
|
+
--color
|
1049
|
+
--no-color
|
1050
|
+
--progress
|
1051
|
+
--no-progress
|
1052
|
+
--config
|
1053
|
+
--no-config
|
1054
|
+
--keep-going
|
1055
|
+
--no-keep-going
|
1056
|
+
-k
|
1057
|
+
--replace
|
1058
|
+
--no-replace
|
1059
|
+
--deps
|
1060
|
+
--no-deps
|
1061
|
+
--local
|
1062
|
+
--no-local
|
1063
|
+
--save
|
1064
|
+
"
|
1065
|
+
|
1066
|
+
case "$cur" in
|
1067
|
+
-*)
|
1068
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1069
|
+
;;
|
1070
|
+
*)
|
1071
|
+
_autoproj_installed_packages
|
1072
|
+
;;
|
1073
|
+
esac
|
1074
|
+
}
|
1075
|
+
|
1076
|
+
__autoproj_log() {
|
1077
|
+
local options="
|
1078
|
+
--verbose
|
1079
|
+
--no-verbose
|
1080
|
+
--debug
|
1081
|
+
--no-debug
|
1082
|
+
--silent
|
1083
|
+
--no-silent
|
1084
|
+
--color
|
1085
|
+
--no-color
|
1086
|
+
--progress
|
1087
|
+
--no-progress
|
1088
|
+
--since
|
1089
|
+
--diff
|
1090
|
+
--no-diff
|
1091
|
+
"
|
1092
|
+
|
1093
|
+
case "$cur" in
|
1094
|
+
-*)
|
1095
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1096
|
+
;;
|
1097
|
+
*)
|
1098
|
+
|
1099
|
+
;;
|
1100
|
+
esac
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
__autoproj_reset() {
|
1104
|
+
local options="
|
1105
|
+
--verbose
|
1106
|
+
--no-verbose
|
1107
|
+
--debug
|
1108
|
+
--no-debug
|
1109
|
+
--silent
|
1110
|
+
--no-silent
|
1111
|
+
--color
|
1112
|
+
--no-color
|
1113
|
+
--progress
|
1114
|
+
--no-progress
|
1115
|
+
--freeze
|
1116
|
+
--no-freeze
|
1117
|
+
"
|
1118
|
+
|
1119
|
+
case "$cur" in
|
1120
|
+
-*)
|
1121
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1122
|
+
;;
|
1123
|
+
*)
|
1124
|
+
|
1125
|
+
;;
|
1126
|
+
esac
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
__autoproj_tag() {
|
1130
|
+
local options="
|
1131
|
+
--verbose
|
1132
|
+
--no-verbose
|
1133
|
+
--debug
|
1134
|
+
--no-debug
|
1135
|
+
--silent
|
1136
|
+
--no-silent
|
1137
|
+
--color
|
1138
|
+
--no-color
|
1139
|
+
--progress
|
1140
|
+
--no-progress
|
1141
|
+
--package-sets
|
1142
|
+
--no-package-sets
|
1143
|
+
--keep-going
|
1144
|
+
--no-keep-going
|
1145
|
+
-k
|
1146
|
+
--message
|
1147
|
+
-m
|
1148
|
+
"
|
1149
|
+
|
1150
|
+
case "$cur" in
|
1151
|
+
-*)
|
1152
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1153
|
+
;;
|
1154
|
+
*)
|
1155
|
+
_autoproj_installed_packages
|
1156
|
+
;;
|
1157
|
+
esac
|
1158
|
+
}
|
1159
|
+
|
1160
|
+
__autoproj_commit() {
|
1161
|
+
local options="
|
1162
|
+
--verbose
|
1163
|
+
--no-verbose
|
1164
|
+
--debug
|
1165
|
+
--no-debug
|
1166
|
+
--silent
|
1167
|
+
--no-silent
|
1168
|
+
--color
|
1169
|
+
--no-color
|
1170
|
+
--progress
|
1171
|
+
--no-progress
|
1172
|
+
--package-sets
|
1173
|
+
--no-package-sets
|
1174
|
+
--keep-going
|
1175
|
+
--no-keep-going
|
1176
|
+
-k
|
1177
|
+
--tag
|
1178
|
+
-t
|
1179
|
+
--message
|
1180
|
+
-m
|
1181
|
+
"
|
1182
|
+
|
1183
|
+
case "$cur" in
|
1184
|
+
-*)
|
1185
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1186
|
+
;;
|
1187
|
+
*)
|
1188
|
+
_autoproj_installed_packages
|
1189
|
+
;;
|
1190
|
+
esac
|
1191
|
+
}
|
1192
|
+
|
1193
|
+
__autoproj_switch-config() {
|
1194
|
+
local options="
|
1195
|
+
--verbose
|
1196
|
+
--no-verbose
|
1197
|
+
--debug
|
1198
|
+
--no-debug
|
1199
|
+
--silent
|
1200
|
+
--no-silent
|
1201
|
+
--color
|
1202
|
+
--no-color
|
1203
|
+
--progress
|
1204
|
+
--no-progress
|
1205
|
+
"
|
1206
|
+
|
1207
|
+
case "$cur" in
|
1208
|
+
-*)
|
1209
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1210
|
+
;;
|
1211
|
+
*)
|
1212
|
+
|
1213
|
+
;;
|
1214
|
+
esac
|
1215
|
+
}
|
1216
|
+
|
1217
|
+
__autoproj_query() {
|
1218
|
+
local options="
|
1219
|
+
--verbose
|
1220
|
+
--no-verbose
|
1221
|
+
--debug
|
1222
|
+
--no-debug
|
1223
|
+
--silent
|
1224
|
+
--no-silent
|
1225
|
+
--color
|
1226
|
+
--no-color
|
1227
|
+
--progress
|
1228
|
+
--no-progress
|
1229
|
+
--search-all
|
1230
|
+
--no-search-all
|
1231
|
+
--format
|
1232
|
+
"
|
1233
|
+
|
1234
|
+
case "$cur" in
|
1235
|
+
-*)
|
1236
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1237
|
+
;;
|
1238
|
+
*)
|
1239
|
+
|
1240
|
+
;;
|
1241
|
+
esac
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
__autoproj_plugin() {
|
1245
|
+
local subcommands="
|
1246
|
+
help
|
1247
|
+
install
|
1248
|
+
list
|
1249
|
+
remove
|
1250
|
+
"
|
1251
|
+
|
1252
|
+
local options="
|
1253
|
+
"
|
1254
|
+
|
1255
|
+
_autoproj_subcommands "$subcommands" && return
|
1256
|
+
|
1257
|
+
case "$cur" in
|
1258
|
+
-*)
|
1259
|
+
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
1260
|
+
;;
|
1261
|
+
*)
|
1262
|
+
COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) )
|
1263
|
+
;;
|
1264
|
+
esac
|
1265
|
+
}
|
1266
|
+
|
1267
|
+
|
1268
|
+
__autoproj_plugin_help() {
|
1269
|
+
local subcommands="
|
1270
|
+
install
|
1271
|
+
list
|
1272
|
+
remove
|
1273
|
+
"
|
1274
|
+
|
1275
|
+
local options="
|
1276
|
+
"
|
1277
|
+
|
1278
|
+
_autoproj_subcommands "$subcommands" && return
|
1279
|
+
|
1280
|
+
case "$cur" in
|
1281
|
+
-*)
|
1282
|
+
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
1283
|
+
;;
|
1284
|
+
*)
|
1285
|
+
COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) )
|
1286
|
+
;;
|
1287
|
+
esac
|
1288
|
+
}
|
1289
|
+
|
1290
|
+
|
1291
|
+
__autoproj_plugin_help_install() {
|
1292
|
+
local options="
|
1293
|
+
"
|
1294
|
+
|
1295
|
+
case "$cur" in
|
1296
|
+
-*)
|
1297
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1298
|
+
;;
|
1299
|
+
*)
|
1300
|
+
|
1301
|
+
;;
|
1302
|
+
esac
|
1303
|
+
}
|
1304
|
+
|
1305
|
+
__autoproj_plugin_help_list() {
|
1306
|
+
local options="
|
1307
|
+
"
|
1308
|
+
|
1309
|
+
case "$cur" in
|
1310
|
+
-*)
|
1311
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1312
|
+
;;
|
1313
|
+
*)
|
1314
|
+
|
1315
|
+
;;
|
1316
|
+
esac
|
1317
|
+
}
|
1318
|
+
|
1319
|
+
__autoproj_plugin_help_remove() {
|
1320
|
+
local options="
|
1321
|
+
"
|
1322
|
+
|
1323
|
+
case "$cur" in
|
1324
|
+
-*)
|
1325
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1326
|
+
;;
|
1327
|
+
*)
|
1328
|
+
|
1329
|
+
;;
|
1330
|
+
esac
|
1331
|
+
}
|
1332
|
+
|
1333
|
+
__autoproj_plugin_install() {
|
1334
|
+
local options="
|
1335
|
+
--version
|
1336
|
+
--git
|
1337
|
+
--path
|
1338
|
+
"
|
1339
|
+
|
1340
|
+
case "$cur" in
|
1341
|
+
-*)
|
1342
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1343
|
+
;;
|
1344
|
+
*)
|
1345
|
+
|
1346
|
+
;;
|
1347
|
+
esac
|
1348
|
+
}
|
1349
|
+
|
1350
|
+
__autoproj_plugin_list() {
|
1351
|
+
local options="
|
1352
|
+
"
|
1353
|
+
|
1354
|
+
case "$cur" in
|
1355
|
+
-*)
|
1356
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1357
|
+
;;
|
1358
|
+
*)
|
1359
|
+
|
1360
|
+
;;
|
1361
|
+
esac
|
1362
|
+
}
|
1363
|
+
|
1364
|
+
__autoproj_plugin_remove() {
|
1365
|
+
local options="
|
1366
|
+
"
|
1367
|
+
|
1368
|
+
case "$cur" in
|
1369
|
+
-*)
|
1370
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1371
|
+
;;
|
1372
|
+
*)
|
1373
|
+
|
1374
|
+
;;
|
1375
|
+
esac
|
1376
|
+
}
|
1377
|
+
|
1378
|
+
__autoproj_global() {
|
1379
|
+
local subcommands="
|
1380
|
+
help
|
1381
|
+
register
|
1382
|
+
status
|
1383
|
+
"
|
1384
|
+
|
1385
|
+
local options="
|
1386
|
+
"
|
1387
|
+
|
1388
|
+
_autoproj_subcommands "$subcommands" && return
|
1389
|
+
|
1390
|
+
case "$cur" in
|
1391
|
+
-*)
|
1392
|
+
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
1393
|
+
;;
|
1394
|
+
*)
|
1395
|
+
COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) )
|
1396
|
+
;;
|
1397
|
+
esac
|
1398
|
+
}
|
1399
|
+
|
1400
|
+
|
1401
|
+
__autoproj_global_help() {
|
1402
|
+
local subcommands="
|
1403
|
+
register
|
1404
|
+
status
|
1405
|
+
"
|
1406
|
+
|
1407
|
+
local options="
|
1408
|
+
"
|
1409
|
+
|
1410
|
+
_autoproj_subcommands "$subcommands" && return
|
1411
|
+
|
1412
|
+
case "$cur" in
|
1413
|
+
-*)
|
1414
|
+
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
1415
|
+
;;
|
1416
|
+
*)
|
1417
|
+
COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) )
|
1418
|
+
;;
|
1419
|
+
esac
|
1420
|
+
}
|
1421
|
+
|
1422
|
+
|
1423
|
+
__autoproj_global_help_register() {
|
1424
|
+
local options="
|
1425
|
+
"
|
1426
|
+
|
1427
|
+
case "$cur" in
|
1428
|
+
-*)
|
1429
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1430
|
+
;;
|
1431
|
+
*)
|
1432
|
+
|
1433
|
+
;;
|
1434
|
+
esac
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
__autoproj_global_help_status() {
|
1438
|
+
local options="
|
1439
|
+
"
|
1440
|
+
|
1441
|
+
case "$cur" in
|
1442
|
+
-*)
|
1443
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1444
|
+
;;
|
1445
|
+
*)
|
1446
|
+
|
1447
|
+
;;
|
1448
|
+
esac
|
1449
|
+
}
|
1450
|
+
|
1451
|
+
__autoproj_global_register() {
|
1452
|
+
local options="
|
1453
|
+
"
|
1454
|
+
|
1455
|
+
case "$cur" in
|
1456
|
+
-*)
|
1457
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1458
|
+
;;
|
1459
|
+
*)
|
1460
|
+
|
1461
|
+
;;
|
1462
|
+
esac
|
1463
|
+
}
|
1464
|
+
|
1465
|
+
__autoproj_global_status() {
|
1466
|
+
local options="
|
1467
|
+
"
|
1468
|
+
|
1469
|
+
case "$cur" in
|
1470
|
+
-*)
|
1471
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1472
|
+
;;
|
1473
|
+
*)
|
1474
|
+
|
1475
|
+
;;
|
1476
|
+
esac
|
1477
|
+
}
|
1478
|
+
|
1479
|
+
__autoproj_manifest() {
|
1480
|
+
local options="
|
1481
|
+
--verbose
|
1482
|
+
--no-verbose
|
1483
|
+
--debug
|
1484
|
+
--no-debug
|
1485
|
+
--silent
|
1486
|
+
--no-silent
|
1487
|
+
--color
|
1488
|
+
--no-color
|
1489
|
+
--progress
|
1490
|
+
--no-progress
|
1491
|
+
"
|
1492
|
+
|
1493
|
+
case "$cur" in
|
1494
|
+
-*)
|
1495
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1496
|
+
;;
|
1497
|
+
*)
|
1498
|
+
_filedir
|
1499
|
+
;;
|
1500
|
+
esac
|
1501
|
+
}
|
1502
|
+
|
1503
|
+
__autoproj_exec() {
|
1504
|
+
local options="
|
1505
|
+
--verbose
|
1506
|
+
--no-verbose
|
1507
|
+
--debug
|
1508
|
+
--no-debug
|
1509
|
+
--silent
|
1510
|
+
--no-silent
|
1511
|
+
--color
|
1512
|
+
--no-color
|
1513
|
+
--progress
|
1514
|
+
--no-progress
|
1515
|
+
--use-cache
|
1516
|
+
--no-use-cache
|
1517
|
+
"
|
1518
|
+
|
1519
|
+
case "$cur" in
|
1520
|
+
-*)
|
1521
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1522
|
+
;;
|
1523
|
+
*)
|
1524
|
+
COMPREPLY=( $( compgen -d -c -- "$cur" ) )
|
1525
|
+
;;
|
1526
|
+
esac
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
__autoproj_which() {
|
1530
|
+
local options="
|
1531
|
+
--verbose
|
1532
|
+
--no-verbose
|
1533
|
+
--debug
|
1534
|
+
--no-debug
|
1535
|
+
--silent
|
1536
|
+
--no-silent
|
1537
|
+
--color
|
1538
|
+
--no-color
|
1539
|
+
--progress
|
1540
|
+
--no-progress
|
1541
|
+
--use-cache
|
1542
|
+
--no-use-cache
|
1543
|
+
"
|
1544
|
+
|
1545
|
+
case "$cur" in
|
1546
|
+
-*)
|
1547
|
+
COMPREPLY=($(compgen -W "$options" -- ${cur}))
|
1548
|
+
;;
|
1549
|
+
*)
|
1550
|
+
COMPREPLY=( $( compgen -d -c -- "$cur" ) )
|
1551
|
+
;;
|
1552
|
+
esac
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
|
1556
|
+
complete -F _autoproj autoproj
|