Repository navigation
Sphere v0.1.3 - Local Cache Management CLI
This release introduces a suite of commands for managing the local Sphere cache index (~/.sphere/cache/index.json), significantly improving the user experience for local dependency management.
New Features:
sphere cache list: Displays all Sphere IDs and their associated file paths currently registered in the local cache index.sphere cache add <ID> <FILEPATH>: Adds a new Sphere to the local cache index.- Maps the given
<ID>to the specified<FILEPATH>. - Includes an optional
--copy-to-cacheflag:- If true, the Sphere file is copied into the
~/.sphere/cache/directory with a sanitized filename derived from the ID. - If false (default), the index stores the absolute path to the original
<FILEPATH>.
- If true, the Sphere file is copied into the
- Maps the given
sphere cache remove <ID>: Removes the specified Sphere ID from the local cache index.- Note: This command only removes the entry from the
index.jsonfile. It does not delete the actual.spherefile from the cache directory or the original filesystem location.
- Note: This command only removes the entry from the
These commands provide users with greater control and visibility into their local Sphere environment, paving the way for more advanced dependency management features in the future.
Thanks to the founding team for their continued development efforts!