sysand env install#

Install project in .sysand

Usage#

sysand env install [OPTIONS] <IRI> [VERSION]

Description#

Installs a given project and all its dependencies in .sysand for current project.

Current project is determined as in sysand print-root and if none is found uses the current directory instead.

If no existing .sysand is found, a new one will be created in the same way as sysand env.

Installing a known KerML/SysML v2 standard library IRI is skipped with a warning unless --include-std is passed.

Arguments#

  • <IRI>: IRI identifying the project to be installed

  • [VERSION]: Version to be installed. Defaults to the latest version according to SemVer 2.0, ignoring pre-releases

Options#

  • --path <PATH>: Local path to interchange project

  • --allow-overwrite: Allow overwriting existing installation

  • --allow-multiple: Install even if another version is already installed

  • --no-deps: Don’t install any dependencies

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 (default https://sysand.com) [env: SYSAND_DEFAULT_INDEX]

  • --no-index: Do not use any index when resolving project(s) and/or their dependencies. Conflicts with --index and --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 to sysand.toml to use for configuration [env: SYSAND_CONFIG_FILE]

  • -h, --help: Print help