sysand include#

Include model interchange files in project metadata. This can be used multiple times for the same file to update its metadata, as the metadata will not be updated automatically

Usage#

sysand include [OPTIONS] [PATHS]...

Description#

Takes all files given by PATHS and adds them to project metadata index and checksum list in .meta.json for the current project. By default the checksum is not computed and is left blank (with algorithm as "NONE").

Current project is determined as in sysand print-root; the command errors when not run inside a project.

Each path must exist and be a regular file. Only .sysml and .kerml files are supported unless symbol indexing is disabled with --no-index-symbols.

Arguments#

  • [PATHS]...: File(s) to include in the project

Options#

  • --compute-checksum: Compute and add each file’s (current) SHA256 checksum

  • --no-index-symbols: Do not detect and add top level symbols to index

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