nsx lock
Resolve module constraints from nsx.yml to commits and content hashes, and write nsx.lock. Matching Git pins, including branch commits, are preserved. Missing dependency metadata may be acquired during resolution.
Usage
nsx lock [-h] [--app-dir APP_DIR] [--update] [--module MODULES] [--check] [--timeout SECONDS]Options
| Option | Value | Default | Description |
|---|---|---|---|
--app-dir APP_DIR | value | . | App directory containing nsx.yml |
--update | flag | optional | Clear the resolve cache and refresh Git resolutions for the selected projects or all projects |
--module MODULE | repeatable | optional | Refresh the named module's Git project (repeatable; implies --update); preserve unrelated matching Git resolutions |
--check | flag | optional | Check manifest/resolution consistency without writing lock/build glue; may reuse prior branch SHAs, so does not guarantee upstream freshness |
--timeout SECONDS | value | optional | Wall-clock budget per subprocess (seconds). Kills the whole process group on timeout. |
--version, -v/--verbose, -q/--quiet are parsed by nsx itself, so they go before the command
name, as nsx -v lock.