<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 2:45 AM, Radim Blazek <span dir="ltr"><<a href="mailto:radim.blazek@gmail.com" target="_blank">radim.blazek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">> it would be good if you can include GRASS Addons, too. There is a lot of<br>
> requests for installing/running GRASS Addons from QGIS, e.g. at<br>
> <a href="http://gis.stackexchange.com" target="_blank">gis.stackexchange.com</a>.<br>
<br>
</span>How can I get list of installed GRASS Addons?</blockquote></div><br></div><div class="gmail_extra">For basic list you can just use `g.extension -a` [1]. wxGUI is using more complex approach implemented in UpdateGRASSAddOnCommands function [2]. One reason for higher complexity is handling calls of Python scripts on MS Windows (which would use some code review).<br><br>[1] <a href="https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/core/toolboxes.py?rev=64678#L475">https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/core/toolboxes.py?rev=64678#L475</a><br>[2] <a href="https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/core/globalvar.py?rev=64678#L136">https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/core/globalvar.py?rev=64678#L136</a><br></div></div>