Hi Vaclav, first of all, thank you for your great work on this I really like it.
Do you think that would be possible to avoid to parse manually the sys.argv and use the argparse library? I know that the argparse is not present in python2.6, but people that are still using this old version of the python interpreter can install this library: https://pypi.python.org/pypi/argparse I think this change could help to further simplify the code and make it easier to expand/extend in the future, splitting the command line interface from the logic. Then we could define a function that return the default GRASS parser instance and the main function to apply the logic on what to do with the parsed command line. What do you think? All the best. Pietro _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user