Expand description
memstead install — two accepted input shapes:
memstead install <path/to/file.mem>— local-file install.memstead install <scope>/<name>— registry install. Downloads the archive from<registry>/api/mem/<scope>/<name>.meminto a tempfile, then funnels through the samemem_cache::install_read_memhelper the local path uses. No authentication required — registry downloads are public.
Both shapes:
- Copy (or re-validate) the archive into the global mem cache
(
<data_dir>/memstead/mems/<name>-<key>.mem) via the engine helper. - Add a
readMemsentry to the target mem’sconfig.jsonif the name isn’t already declared. Local installs writesource: { type: "local" }; registry installs writesource: { type: "url", url: "<registry>/api/mem/..." }.
Structs§
- Args
- Install a sealed mem archive into the global mem cache and register it
in the current project’s
readMems. Archives with non-slug-form body wiki-links refuse withINVALID_WIKI_LINK_TARGET— convert via search-and-replace before installing.