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 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 project root directory with exact versions and sources for all dependencies.

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