Skip to content
neuralSPOT-X
API reference
HELIA HUB

nsx lock

Resolve every module declared in nsx.yml to its current upstream commit and content hash, and write the resulting nsx.lock receipt. Does not modify the modules/ tree.

nsx lock [-h] [--app-dir APP_DIR] [--update] [--module MODULES]
[--check] [--timeout SECONDS]
Options for nsx lock
OptionValueDefaultDescription
--app-dir APP_DIRvalue.App directory containing nsx.yml
--updateflagoptionalRe-resolve constraints to current upstream tip (otherwise reuses prior SHAs)
--module MODULErepeatableoptionalOnly re-resolve the named module (may be repeated; implies --update)
--checkflagoptionalExit non-zero if nsx.lock is out of date with nsx.yml (do not write); useful in CI
--timeout SECONDSvalueoptionalWall-clock budget per subprocess (seconds). Kills the whole process group on timeout.

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