GRASS GIS addon template powered by Cookiecutter helps you get started with developing a GRASS addon.
- Install cookicutter e.g. with
pipx install cookiecutter
. - Go to a folder where you want the addon template to be generated.
- Run
cookiecutter gh:OSGeo/grass-addon-cookiecutter
. - It will prompt you with several questions (addon name, your name, ...)
- Done, your addon template is ready for development!
Example code structure for a generated addon:
r.myaddon
├── Makefile
├── r.myaddon.html
├── r.myaddon.ipynb
├── r.myaddon.py
└── testsuite
└── test_r_myaddon.py
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
SPDX-License-Identifier: GPL-2.0-or-later