On 1 July 2015 at 06:42, Pietro <peter.z...@gmail.com> wrote:
> Dear devs,
>
> I was not able to find a table in the GRASS manual pages with a
> summary of all the default options as define in
> parser_standard_options.c (lib/gis/parser_standard_options.c).
> Therefore I wrote a python command line tool to extract them from the
> source and print/write to a file in CSV/HTML format.
> Probably I should use regexp but I'm not good with them...
>
> The command line tool is attached.
>
> Some usage example are:
>
> $ python2 options.py -t lib/gis/parser_standard_options.c -f csv -o
> stadard_options.csv
>
> The command line should be able also to download the source file
> directly from a link but it works only partially.
>
> I believe we should add the generated table somewhere in the manual docs.
> Should I add this python script to grass_addons/tools?
>

if we want add the table in the manual docs (I'm really support this
idea) you should add this tool in the main code tools directory [0]

> What do you think?
>

+1

> Pietro
>

[0] https://trac.osgeo.org/grass/browser/grass/trunk/tools

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to