sysand add
Add usage to project information
Usage
sysand add [OPTIONS] <IRI> [VERSION_CONSTRAINT]
Description
Adds IRI and optional version constraint to list of usages in the project
information file .project.json. By default this will also update the lockfile
and sync the local environment (creating one if not already present).
Arguments
<IRI>: IRI/URI/URL identifying the project to be used. Seeusagefield for details.[VERSION_CONSTRAINT]: A constraint on the allowable versions of a used project. Assumes that the project uses Semantic Versioning. SeeversionConstraintfor details
Options
--no-lock: Do not automatically resolve usages (and generate lockfile)--no-sync: Do not automatically install 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--default-index [<DEFAULT_INDEX>...]: Comma-delimited list of URLs to use as default index URLs. Default indexes are tried before other indexes (defaulthttps://beta.sysand.org)--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