You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: utils/_replica
+80-41Lines changed: 80 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,6 @@
1
1
#compdef replica
2
2
typeset -A opt_args
3
3
4
-
# local -a sub
5
-
# sub=('info:get information about test suites' 'run:run test suite' 'new:create a test suite' 'help:get some help' 'version:show replica version' 'config:set replica default config')
6
-
# _describe 'command' sub
7
-
8
4
_arguments -C \
9
5
'1:command:->cmds' \
10
6
'*:: :->args' \
@@ -21,65 +17,111 @@ commands=(
21
17
'version:show replica version'
22
18
)
23
19
24
-
common=(
25
-
'(-N --exclude)'{-n,--only}'[tests to run]:comma separated list' \
26
-
'(-n --only)'{-N,--exclude}'[tests to exclude]:comma separated list' \
27
-
{-t,-tags,--only-tags}'[tags to run]:comma separated list' \
28
-
{-T,--exclude-tags}'[tags to include]:comma separated list' \
29
-
{--last-fails,-l}'[select only failing tests]' \
30
-
'(-v --verbose)--log[log level]:log:(none critical warning info debug)' \
31
-
{-v,--verbose}'[verbose output (log info)]'
32
-
'--replica-dir[replica store directory]:replica dir:_files -/' \
0 commit comments