[GRASS-user] Send full script syntax from g.parser to log file

Luigi Ponti lponti at inbox.com
Tue Oct 23 12:17:57 PDT 2012


Dear list,

I have been looking around for this info to no avail.

When calling a script that has g.parser inside with no arguments, the 
auto-generated GUI pops up and includes an option (button) to copy to 
clipboard the full syntax used to launch the script.

Would there be a way to send the same full syntax to for example a log 
file? You can of course rebuild the command line from the g.parser 
variables, and send that to a file. I was just wondering if the strings 
that g.parser collects to compose the command line on the GUI window 
were accessible somehow.

Kind regards and thank you,

Luigi


More information about the grass-user mailing list