Skip to content

g.extension.all

Rebuilds or removes all locally installed GRASS Addons extensions.

By default only extensions built against different GIS Library are rebuilt.

g.extension.all [-f] [operation=string] [--verbose] [--quiet] [--qq] [--ui]

Example:

g.extension.all

grass.script.run_command("g.extension.all", operation="rebuild", flags=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("g.extension.all")

Parameters

operation=string
    Operation to be performed
    Allowed values: rebuild, remove
    Default: rebuild
-f
    Force operation (required for removal)

--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

operation : str, optional
    Operation to be performed
    Allowed values: rebuild, remove
    Default: rebuild
flags : str, optional
    Allowed values: f
    f
        Force operation (required for removal)

verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

g.extension.rebuild.all reinstalls and updates all locally installed GRASS Addons extensions in local GRASS installation. The extensions can be installed by g.extension. List of locally installed extensions can be printed by g.extension -a.

EXAMPLES

Rebuild locally installed extensions which were built against different GIS Library (see g.version -r)

g.extension.rebuild.all

Force to rebuild all locally installed extensions

g.extension.rebuild.all -f

SEE ALSO

g.extension

See also GRASS Addons wiki page.

AUTHOR

Martin Landa, Czech Technical University in Prague, Czech Republic

SOURCE CODE

Available at: g.extension.all source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f