|
GRASS Programmer's Manual
6.4.2(2012)
|
Support script for wxGUI - only for developers needs. More...
Functions | |
| def | parseModules |
| Parse modules' interface. | |
| def | updateData |
| Update menu data tree. | |
| def | writeData |
| Write updated menudata.xml. | |
| def | main |
Support script for wxGUI - only for developers needs.
Updates menudata.xml file.
Parse all GRASS modules in the search path ('bin' & 'script') and updates: - description (i.e. help) - keywords
Prints warning for missing modules.
(C) 2008-2010 by the GRASS Development Team This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Usage: python support/update_menudata.py [-d]
-d - dry run (prints diff, file is not updated)
| def update_menudata.main | ( | argv = None | ) |
Definition at line 133 of file update_menudata.py.
References parseModules(), updateData(), and writeData().
| def update_menudata.parseModules | ( | ) |
| def update_menudata.updateData | ( | data, | |
| modules | |||
| ) |
Update menu data tree.
Definition at line 66 of file update_menudata.py.
References gui_modules.utils.split().
Referenced by main().
| def update_menudata.writeData | ( | data, | |
file = None |
|||
| ) |
Write updated menudata.xml.
Definition at line 113 of file update_menudata.py.
Referenced by main().