16 |
|
_scram_command () |
17 |
|
{ |
18 |
|
local _scram_cmds |
19 |
< |
_scram_cmds=(version arch setup runtime build list project tool install remove db config urlget gui) |
19 |
> |
_scram_cmds=(version arch setup runtime build list project tool install remove db config urlget gui xmlmigrate) |
20 |
|
|
21 |
|
if (( CURRENT == 1 )); then |
22 |
|
_tags _scram_cmds && { compadd "$@" -a _scram_cmds } |
235 |
|
'*::metadata type:(tool compiler)' |
236 |
|
} |
237 |
|
|
238 |
+ |
(( $+functions[_scram_xmlmigrate] )) || |
239 |
+ |
_scram_xmlmigrate() |
240 |
+ |
{ |
241 |
+ |
_arguments -s \ |
242 |
+ |
'-h[show help for the xmlmigrate command]:print help for this command' |
243 |
+ |
} |
244 |
+ |
|
245 |
|
############# Auxiliary functions ############## |
246 |
|
|
247 |
|
(( $+functions[_scram_tools_and_versions] )) || |