Skip to content
neuralSPOT-X
API reference
HELIA HUB

nsx module register

Register an external module override for a single app and vendor it into that app.

nsx module register [-h] --metadata METADATA --project PROJECT
[--project-url PROJECT_URL]
[--project-revision PROJECT_REVISION]
[--project-path PROJECT_PATH]
[--project-local-path PROJECT_LOCAL_PATH]
[--app-dir APP_DIR] [--override] [--dry-run]
module
Positional arguments
OptionValueDefaultDescription
modulevaluerequiredModule name
Options for nsx module register
OptionValueDefaultDescription
--metadata METADATAvaluerequiredPath to the module's nsx-module.yaml
--project PROJECTvaluerequiredRegistry project key for this module
--project-url PROJECT_URLvalueoptionalOverride git project URL
--project-revision PROJECT_REVISIONvalueoptionalOverride git project revision
--project-path PROJECT_PATHvalueoptionalOverride git project path
--project-local-path PROJECT_LOCAL_PATHvalueoptionalLocal filesystem path to vendor from
--app-dir APP_DIRvalue.App directory containing nsx.yml
--overrideflagoptionalOverride existing module entry
--dry-runflagoptionalShow changes without writing

Use this to register an external module for one app without editing the packaged registry, for local filesystem modules and custom git repos that are not part of the built-in NSX catalog. register writes an app-local override into nsx.yml and then vendors the registered module into that app.

Local filesystem example:

Terminal window
cd <app-dir>
nsx module register my-custom-module \
--metadata /path/to/my-custom-module/nsx-module.yaml \
--project my_custom_repo \
--project-local-path /path/to/my-custom-module

Git-backed example:

Terminal window
cd <app-dir>
nsx module register my-custom-module \
--metadata /path/to/my-custom-module/nsx-module.yaml \
--project my_custom_repo \
--project-url https://github.com/myorg/my_custom_repo.git \
--project-revision main \
--project-path modules/my_custom_repo

-v/--verbose, -q/--quiet are parsed by nsx itself, so they go before the command name, as nsx -v module register.