Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

sysand sync

Sync sysand_env to lockfile, creating a lockfile and sysand_env 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_env 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_env 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.

Dependency options

  • --index [<INDEX>...]: URLs for indexes to use when resolving dependencies, in addition to the default indexes.
  • --default-index [<DEFAULT_INDEX>...]: Set and override URL:s of the default indexes (by default ‘https://beta.sysand.org’)
  • --no-index: Do not use any index when resolving this usage
  • --include-std: Include usages of KerML/SysML v2 standard libraries if present

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