root/cly/trunk/doc/tutorial/tutorial5.xml

Revision 529, 360 bytes (checked in by athomas, 6 months ago)

cly: Update tutorial to reflect 1.0 API changes.

Line 
1 <?xml version="1.0"?>
2 <grammar>
3   <node name="quit" help="Quit">
4     <action callback="do_quit()" help="Quit"/>
5   </node>
6   <node name="cat" help="Concatenate files">
7     <file name="files" help="File to concatenate" traversals="0">
8       <action callback="do_cat(files)" help="Concatenate files"/>
9       <alias target=".."/>
10     </file>
11   </node>
12 </grammar>
Note: See TracBrowser for help on using the browser.