Mercurial > hg > rc1
comparison vendor/pear/console_commandline/docs/examples/ex4.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>A great program that can foo and bar !</description> | |
| 4 <version>1.0.0</version> | |
| 5 <option name="verbose"> | |
| 6 <short_name>-v</short_name> | |
| 7 <long_name>--verbose</long_name> | |
| 8 <description>turn on verbose output</description> | |
| 9 <action>StoreTrue</action> | |
| 10 </option> | |
| 11 <command> | |
| 12 <name>foo</name> | |
| 13 <description>output the given string with a foo prefix</description> | |
| 14 <option name="reverse"> | |
| 15 <short_name>-r</short_name> | |
| 16 <long_name>--reverse</long_name> | |
| 17 <description>reverse the string before echoing it</description> | |
| 18 <action>StoreTrue</action> | |
| 19 </option> | |
| 20 <argument name="text"> | |
| 21 <description>the text to output</description> | |
| 22 </argument> | |
| 23 </command> | |
| 24 <command> | |
| 25 <name>bar</name> | |
| 26 <description>output the given string with a bar prefix</description> | |
| 27 <option name="reverse"> | |
| 28 <short_name>-r</short_name> | |
| 29 <long_name>--reverse</long_name> | |
| 30 <description>reverse the string before echoing it</description> | |
| 31 <action>StoreTrue</action> | |
| 32 </option> | |
| 33 <argument name="text"> | |
| 34 <description>the text to output</description> | |
| 35 </argument> | |
| 36 </command> | |
| 37 </command> |
