sysand sync#
Sync .sysand to lockfile, creating a lockfile and .sysand if needed
Usage#
sysand sync [OPTIONS]
Description#
Installs all projects in the current project’s lockfile sysand-lock.toml from
the sources listed, into the local .sysand environment.
An invalid or corrupt lockfile aborts the command with an invalid lockfile
error.
If a lockfile is not found, a new lockfile will be generated from the usages in the project information in the same way as sysand lock.
If no existing .sysand is found, a new one will be created in the same way
as sysand env.
Current project is determined as in sysand print-root and if none is found uses the current directory instead.
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