sysand lock#
Create or update lockfile
Usage#
sysand lock [OPTIONS]
Description#
Resolves all usages in project information for current project and generates a
lockfile sysand-lock.toml in the current directory with exact versions and
sources for all dependencies. Run the command from the project root so the
lockfile is written next to .project.json.
Current project is determined as in sysand print-root; the command errors when not run inside a project.
Resolution options#
--index [<INDEX>...]: Comma-delimited list of index URLs to use when resolving project(s) and/or their dependencies, in addition to the default indexes [env:SYSAND_INDEX]--default-index [<DEFAULT_INDEX>...]: Comma-delimited list of URLs to use as default index URLs. Default indexes are tried after other indexes (defaulthttps://sysand.com) [env:SYSAND_DEFAULT_INDEX]--no-index: Do not use any index when resolving project(s) and/or their dependencies. Conflicts with--indexand--default-index--include-std: Don’t ignore KerML/SysML v2 standard libraries if specified as dependencies
Global options#
-v,--verbose: Use verbose output-q,--quiet: Do not output log messages--no-config: Disable discovery of configuration files [env:SYSAND_NO_CONFIG]--config-file <CONFIG_FILE>: Give path tosysand.tomlto use for configuration [env:SYSAND_CONFIG_FILE]-h,--help: Print help