GRASS logo

NAME

g.extension.github - Downloads and installs extensions from GRASS Addons repository using g.extension

KEYWORDS

general, installation, extensions, addons, download, github

SYNOPSIS

g.extension.github
g.extension.github --help
g.extension.github [-sf] extension=name operation=string [reference=Branch or commit hash as reference] [--help] [--verbose] [--quiet] [--ui]

Flags:

-s
Install system-wide (may need system administrator rights)
-f
Force removal when uninstalling extension (operation=remove)
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

extension=name [required]
Name of extension to install or remove
Name of toolbox (set of extensions) when -t flag is given
operation=string [required]
Operation to be performed
Options: add, remove
Default: add
reference=Branch or commit hash as reference
Specific branch or commit hash to fetch addon
Default: main

Table of contents

DESCRIPTION

g.extension.github downloads and installs, removes or updates extensions (addons) from the official GRASS GIS Addons repository. It uses g.extension. If a commit hash is set as reference then the addon downloads the extension from GitHub according to this hash and uses g.extension to install it.

EXAMPLES

Download and install of a specific version of a GRASS extension

Download and install a specific version of i.sentinel (identified via GitHub commit hash) into current GRASS GIS installation:
g.extension.github extension=i.sentinel -f reference=aff69a9a0dac8c68ccb877858675d84588b35bd2

SEE ALSO

g.extension

AUTHOR

Anika Weinmann, mundialis, Germany

SOURCE CODE

Available at: g.extension.github source code (history)

Accessed: Wednesday Jul 17 09:06:55 2024


Main index | General index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.5.0dev Reference Manual