4dcdd13009d288bce3ba5a6157f408c15fb351c5
- Author
- fred-o <fredrik.appelberg@gmail.com>
- Committer
- Phil Eichinger <phil@zankapfel.net>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/glassfish/_asadmin b/plugins/glassfish/_asadmin
2index c8f62c67cf4ff9f7a47bbfc7e83050114018ef82..08ae9d461307bfbeae7959dcf6765be04af155ce 100644
3--- a/plugins/glassfish/_asadmin
4+++ b/plugins/glassfish/_asadmin
5@@ -278,66 +278,630 @@ fi
6
7 local -a _command_args
8 case "$words[1]" in
9- apps:info)
10- _command_args=(
11- '(-r|--raw)'{-r,--raw}'[output info as raw key/value pairs]' \
12- )
13- ;;
14- apps:create)
15- _command_args=(
16- '(-a|--addons)'{-a,--addons}'[a list of addons to install]' \
17- '(-r|--remote)'{-r,--remote}'[the git remote to create, default "heroku"]' \
18- '(-s|--stack)'{-s,--stack}'[the stack on which to create the app]' \
19- )
20- ;;
21- config)
22- _command_args=(
23- '(-s|--shell)'{-s,--shell}'[output config vars in shell format]' \
24- )
25- ;;
26- db:push)
27- _command_args=(
28- '(-c|--chunksize)'{-c,--chunksize}'[specify the number of rows to send in each batch]' \
29- '(-d|--debug)'{-d,--debug}'[enable debugging output]' \
30- '(-e|--exclude)'{-e,--exclude}'[exclude the specified tables from the push]' \
31- '(-f|--filter)'{-f,--filter}'[only push certain tables]' \
32- '(-r|--resume)'{-r,--resume}'[resume transfer described by a .dat file]' \
33- '(-t|--tables)'{-t,--tables}'[only push the specified tables]' \
34- )
35- ;;
36- db:pull)
37- _command_args=(
38- '(-c|--chunksize)'{-c,--chunksize}'[specify the number of rows to send in each batch]' \
39- '(-d|--debug)'{-d,--debug}'[enable debugging output]' \
40- '(-e|--exclude)'{-e,--exclude}'[exclude the specified tables from the pull]' \
41- '(-f|--filter)'{-f,--filter}'[only pull certain tables]' \
42- '(-r|--resume)'{-r,--resume}'[resume transfer described by a .dat file]' \
43- '(-t|--tables)'{-t,--tables}'[only pull the specified tables]' \
44- )
45- ;;
46- keys)
47- _command_args=(
48- '(-l|--long)'{-l,--long}'[display extended information for each key]' \
49- )
50- ;;
51- logs)
52- _command_args=(
53- '(-n|--num)'{-n,--num}'[the number of lines to display]' \
54- '(-p|--ps)'{-p,--ps}'[only display logs from the given process]' \
55- '(-s|--source)'{-s,--source}'[only display logs from the given source]' \
56- '(-t|--tail)'{-t,--tail}'[continually stream logs]' \
57- )
58- ;;
59- pgbackups:capture)
60- _command_args=(
61- '(-e|--expire)'{-e,--expire}'[if no slots are available to capture, delete the oldest backup to make room]' \
62- )
63- ;;
64- stack)
65- _command_args=(
66- '(-a|--all)'{-a,--all}'[include deprecated stacks]' \
67- )
68- ;;
69+ add-library)
70+ _command_args=('--type')
71+ ;;
72+ add-resources)
73+ _command_args=('--target')
74+ ;;
75+ apply-http-lb-changes)
76+ _command_args=('--ping')
77+ ;;
78+ backup-domain)
79+ _command_args=('--backupconfig' '--backupdir' '--description' '--domaindir' '--long')
80+ ;;
81+ change-admin-password)
82+ _command_args=('--domain_name' '--domaindir')
83+ ;;
84+ change-master-password)
85+ _command_args=('--domaindir' '--nodedir' '--savemasterpassword')
86+ ;;
87+ collect-log-files)
88+ _command_args=('--retrieve' '--target')
89+ ;;
90+ configure-jms-cluster)
91+ _command_args=('--clustertype' '--configstoretype' '--dburl' '--dbuser' '--dbvendor' '--jmsdbpassword' '--messagestoretype' '--property')
92+ ;;
93+ configure-lb-weight)
94+ _command_args=('--cluster')
95+ ;;
96+ configure-ldap-for-admin)
97+ _command_args=('--basedn' '--ldap-group' '--target' '--url')
98+ ;;
99+ copy-config)
100+ _command_args=('--systemproperties')
101+ ;;
102+ create-admin-object)
103+ _command_args=('--classname' '--description' '--enabled' '--property' '--raname' '--restype' '--target')
104+ ;;