[GRASS-dev] [GRASS GIS] #2226: Get python command from copy-button

#2226: Get python command from copy-button
-------------------------+--------------------------------------------------
Reporter: jradinger | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
I typically try out my GRASS commands first via the GUI before I am using
them my Python-scripts. Thus, it would greatly improve the workflow when
the copy-button which is available for all modules in the GUI also exports
the python command. At the moment only the shell command is copied to the
clipboard. This could eventually be handled by introducing a new GRASS
variable that can be used as a global switch if standard shell or python
commands should be exported.
Copying the python command with the GUI button would potentially also
lower the barriers of using python for scripting for many other users.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2226&gt;
GRASS GIS <http://grass.osgeo.org>