| 5 | GRASS !AddOns metadata XML file can be created by [source:grass-addons/tools/addons/build-xml.py build-xml.py] Python script available from SVN. It's creating XML file `modules.xml` in `~/.grass6/addons` for GRASS 6 and in `~/.grass7/addons` for GRASS 7. |
| 6 | |
| 7 | Example: |
| 8 | |
| 9 | {{{ |
| 10 | #!xml |
| 11 | <?xml version="1.0" encoding="UTF-8"?> |
| 12 | <!DOCTYPE task SYSTEM "grass-addons.dtd"> |
| 13 | <modules version=7.0.svn> |
| 14 | <task name="d.mon2"> |
| 15 | <description>Starts a graphics display monitor which can be controlled from the command line.</description> |
| 16 | <keywords>display,CLI</keywords> |
| 17 | </task> |
| 18 | <task name="i.points.auto"> |
| 19 | <description>Generate ground control points for image group to be rectified.</description> |
| 20 | <keywords>imagery,ground control points</keywords> |
| 21 | </task> |
| 22 | ... |
| 23 | <task name="v.unpack"> |
| 24 | <description>Unpacks a vector map packed with r.pack.</description> |
| 25 | <keywords>vector,import,copying</keywords> |
| 26 | </task> |
| 27 | </modules> |
| 28 | }}} |