spica-symlink
v1.1.1
Published
Symlink tool to replace folder IDs with readable titles in Spica.
Readme
spica-symlink
A CLI tool to create symbolic links for folders in the Spica project, allowing display of human-readable titles instead of raw MongoDB ObjectIDs.
Installation
npm install -g spica-symlinkUsage
spica-symlink create <path>
# Example:
spica-symlink create ./resources
# → Creates separate directories ./resources/bucket_link and ./resources/function_link
# and places symbolic links inside them for each subfolder of "bucket" and "function",
# using titles from schema.yaml in each subfolder.spica-symlink remove <path>
# Example:
spica-symlink remove ./resources
# → Removes previously created symbolic links in the given pathArguments
<path>— Relative path to the root of the Spica resources directory
Requirements
- Node.js v14 or newer
- Operating system that supports symbolic links (Linux/macOS or Windows with admin rights)
