Expand description
Install routines from local projects, crates.io, or GitHub releases.
Parses path:, crate:, and gh: install specs, builds or downloads cdylibs, validates the
plugin ABI, writes descriptor.json, and optionally runs cotis_plugin_finish_installation.
§Version naming
| Source | Cache version directory | Routine name |
|---|---|---|
path: | Always "dev" | cdylib stem or alias |
crate: | Crate version string | cdylib stem (alias ignored) |
gh: | Release tag_name | repo name or alias |
§Overwrite
Unless overwrite is true, install fails if the target plugin file already exists.
Use -f / --overwrite / --fo on the CLI, or update / reinstall which always overwrite.
Enums§
- Install
Spec - Parsed install source for
install.
Functions§
- install
- Install a routine into the cotis-cli cache.
- normalize_
cdylib_ stem - Normalizes
--cdylib-name/--dll-name: trim and strip a trailing platform suffix if present. - parse_
install_ spec - Parse an install spec string into
InstallSpec.