comparison vendor/pear/console_commandline/docs/examples/ex2.xml @ 0:1e000243b222

vanilla 1.3.3 distro, I hope
author Charlie Root
date Thu, 04 Jan 2018 15:50:29 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1e000243b222
1 <?xml version="1.0" encoding="utf-8" standalone="yes"?>
2 <command>
3 <description>zip given files using the php zip module.</description>
4 <version>1.0.0</version>
5 <option name="choice">
6 <short_name>-c</short_name>
7 <long_name>--choice</long_name>
8 <description>choice option</description>
9 <action>StoreString</action>
10 <choices>
11 <choice>ham</choice>
12 <choice>spam</choice>
13 </choices>
14 </option>
15 <option name="verbose">
16 <short_name>-v</short_name>
17 <long_name>--verbose</long_name>
18 <description>turn on verbose output</description>
19 <action>StoreTrue</action>
20 </option>
21 <option name="delete">
22 <short_name>-d</short_name>
23 <long_name>--delete</long_name>
24 <description>delete original files after zip operation</description>
25 <action>StoreTrue</action>
26 </option>
27 <argument name="files">
28 <description>a list of files to zip together</description>
29 <multiple>true</multiple>
30 </argument>
31 <argument name="zipfile">
32 <description>path to the zip file to generate</description>
33 </argument>
34 </command>