spl:fetch
Download an SPL model from UVLHub into the local cache.
Usage
splent spl:fetch <spl_name> [--force]
Requires detached mode.
Options
| Option | Description |
|---|---|
--force |
Re-download even if the model is already cached. |
Description
Reading a model needs no account and no key. The file is fetched
straight from UVLHub by DOI. Only publishing goes through the marketplace,
see spl:publish.
The DOI comes from whatever records it, most authoritative first.
- The product that pins the model, under
[tool.splent.spl_model]in its ownpyproject.toml. - The working copy at
splent_spl_<name>/, if you are editing the model here. - Any other product in the workspace that pins the same SPL.
- A previous fetch, from the
metadata.tomlleft in the cache.
The file lands under .splent_cache/spls/<name>@<version or DOI>/ and
nowhere else. A working copy you are editing is never overwritten, and
deleting the cache costs one download. When you do have a working copy the
command says so, because that copy is what wins when the model is read.
Without a DOI anywhere there is nothing to download, so the command lists every path it looked in plus how to record one.
UVLHUB_URL points the download at another UVLHub instance and defaults
to https://www.uvlhub.io.
See also
spl:pin. Where the DOI is recordedspl:info. What is on disk right nowspl:publish. The other direction