[GRASS-dev] G_script()

Hamish hamish_b at yahoo.com
Mon Jul 13 02:39:14 EDT 2009


Martin:
> > currently G_script() in GRASS 7 prints out a shell script template.
> > Should this be replaced by a Python script template or should have the
> > parser separate switches for shell/python/? script templates.
Markus Neteler wrote:
> Would it be possible to have G_python() additionally?


besides the basic --script for the GUI menu structure, it would be nice
to also have:

--shell-script  or  --bourne-script
  and
--python-script


which would modify script() to fill in the basic shebang and have to be
in grass to use this ### your code goes here ### stuff.


Hamish



      



More information about the grass-dev mailing list