geonature.core.command.create_gn_module#
Functions#
|
Command definition to install a GeoNature module |
|
Module Contents#
- geonature.core.command.create_gn_module.install_gn_module(x_arg, module_path, module_code, build, upgrade_db)[source]#
Command definition to install a GeoNature module
Parameters#
- x_arglist
additional arguments
- module_pathstr
path of the module directory
- module_codestr
code of the module, deprecated in future release
- buildboolean
is the frontend rebuild
- upgrade_dbboolean
migrate the revision associated with the module
Raises#
- ClickException
No module found with the given module code
- ClickException
No module code was detected in the code