The source code of [g.extension.py](https://github.com/OSGeo/grass/blob/6263ccbb37bfa71e379e5d2cd7ae85e97b1b989f/scripts/g.extension/g.extension.py) is too long. Long ago I started [refactoring g.extension.py](https://github.com/OSGeo/grass/compare/master...NikosAlexandris:g.extension.py). This attempt remained unfinished :-/. Maybe there is interest to move in more modular structures and easier to read and understand code.
The source code of g.extension.py is too long.
Long ago I started refactoring g.extension.py.
This attempt remained unfinished :-/.
Maybe there is interest to move in more modular structures and easier to read and understand code.