sysand index add#
Add a KPAR to a local Sysand index
Usage#
sysand index add [OPTIONS] --kpar-path <KPAR_PATH> [IRI]
Description#
Adds a KPAR to a local Sysand index. The command errors when:
the index root is not an initialized index
the project’s publisher or name fails validation
the version carries SemVer build metadata
the project has been removed from the index
Arguments#
[IRI]: Project identifier. Default ispkg:sysand/<publisher>/<name>, if publisher is specified in.project.json. Omitting both publisher and IRI is an error
Options#
--kpar-path <KPAR_PATH>: Path to KPAR--index-root <INDEX_ROOT>: Path to the index directory. If not provided, current working directory is used
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 tosysand.tomlto use for configuration [env:SYSAND_CONFIG_FILE]-h,--help: Print help