sysand sync#

Sync .sysand to lockfile, creating a lockfile and .sysand if needed

Usage#

sysand sync [OPTIONS]

Description#

Installs all projects in the current projects lockfile sysand-lock.toml from the sources listed, into the local .sysand environment.

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

  • --default-index [<DEFAULT_INDEX>...]: Comma-delimited list of URLs to use as default index URLs. Default indexes are tried before other indexes (default https://sysand.com)

  • --no-index: Do not use any index when resolving project(s) and/or their dependencies

  • --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

  • --config-file <CONFIG_FILE>: Give path to ‘sysand.toml’ to use for configuration

  • -h, --help: Print help