0
|
1 <?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
|
2 <!-- Some comment -->
|
|
3 <command>
|
|
4 <force_posix>true</force_posix>
|
|
5 <name>test</name>
|
|
6 <description>zip/unzip files</description>
|
|
7 <version>1.0.0</version>
|
|
8 <!-- Comment -->
|
|
9 <option name="choice">
|
|
10 <short_name>-c</short_name>
|
|
11 <long_name>--choice</long_name>
|
|
12 <description>choice option</description>
|
|
13 <action>StoreString</action>
|
|
14 <!-- Comment -->
|
|
15 <choices>
|
|
16 <choice>ham</choice>
|
|
17 <choice>spam</choice>
|
|
18 </choices>
|
|
19 <add_list_option>True</add_list_option>
|
|
20 <default>null</default>
|
|
21 <help_name>choice</help_name>
|
|
22 </option>
|
|
23 <option name="password">
|
|
24 <action>Password</action>
|
|
25 <short_name>-p</short_name>
|
|
26 <long_name>--password</long_name>
|
|
27 <description>zip file password</description>
|
|
28 </option>
|
|
29 <option name="verbose">
|
|
30 <long_name>--verbose</long_name>
|
|
31 <description>turn on verbose output</description>
|
|
32 <action>StoreTrue</action>
|
|
33 <short_name>-v</short_name>
|
|
34 </option>
|
|
35 <command>
|
|
36 <aliases>
|
|
37 <alias>compress</alias>
|
|
38 <alias>zp</alias>
|
|
39 </aliases>
|
|
40 <name>zip</name>
|
|
41 <!-- Comment -->
|
|
42 <description>zip given files in the destination file</description>
|
|
43 <argument name="files">
|
|
44 <description>a list of files to zip together</description>
|
|
45 <multiple>True</multiple>
|
|
46 </argument>
|
|
47 <argument name="zipfile">
|
|
48 <!-- Comment -->
|
|
49 <description>path to the zip file to generate</description>
|
|
50 </argument>
|
|
51 </command>
|
|
52 <command>
|
|
53 <argument name="outputdir">
|
|
54 <description>destination directory</description>
|
|
55 <multiple>False</multiple>
|
|
56 </argument>
|
|
57 <name>unzip</name>
|
|
58 <aliases>
|
|
59 <alias>uzp</alias>
|
|
60 </aliases>
|
|
61 <description>unzip given file in the destination dir</description>
|
|
62 <argument name="zipfile">
|
|
63 <description>path to the zip file to unzip</description>
|
|
64 </argument>
|
|
65 </command>
|
|
66 </command>
|