[GRASS-dev] Python: how to access the --quiet and --verbose flags?

Hi devs,

Maybe a simple question but I don't understand how to access in Python
the --quiet and --verbose flags.
I suppose that I have to make use of

https://grass.osgeo.org/grass-stable/manuals/libpython/script.html?highlight=hidden#script.task.command_info

but would appreciate an example.

Thanks
Markus

PS: then to be added to
https://grasswiki.osgeo.org/wiki/GRASS_Python_Scripting_Library

It’s this one:
https://grass.osgeo.org/grass78/manuals/libpython/script.html?highlight=hidden#script.core.verbosity

On Tue, Sep 29, 2020 at 8:08 AM Markus Neteler <neteler@osgeo.org> wrote:

Hi devs,

Maybe a simple question but I don’t understand how to access in Python
the --quiet and --verbose flags.
I suppose that I have to make use of

https://grass.osgeo.org/grass-stable/manuals/libpython/script.html?highlight=hidden#script.task.command_info

but would appreciate an example.

Thanks
Markus

PS: then to be added to
https://grasswiki.osgeo.org/wiki/GRASS_Python_Scripting_Library


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev