st-registry-cli
v1.5.3
Published
A lightweight command-line interface for the Stoppedwumm Studios Registry. Easily list, download, and clone packages directly from the command line.
Downloads
145
Readme
st-registry-cli (spm)
A lightweight command-line interface for the Stoppedwumm Studios Registry. Easily list, download, and clone packages directly from the command line.
Installation
Since this is a CLI tool, it is recommended to install it globally via npm:
npm install -g st-registry-cliOnce installed, you can access the CLI using the spm command.
Usage
1. Install a Package
Download a specific package from the registry. You can optionally specify a destination folder and a target version.
Syntax:
spm install <name> [destination] [version]Examples:
# Download latest version to current directory
spm install my-package
# Download to a specific folder
spm install my-package ./downloads/
# Download a specific version
spm install my-package ./downloads/ v1.2.0Note: The CLI automatically handles file extensions (like .zip) based on the URL or GitHub API responses.
2. Clone the Entire Registry
Downloads all modules and all available versions from the registry. It automatically organizes them into their defined folder paths and applies executable permissions (chmod 755) to raw binaries on Mac/Linux systems.
Syntax:
spm clone3. List Available Packages
View a list of all currently available modules inside the Stoppedwumm Studios Registry.
Syntax:
spm lsLinks
- NPM: st-registry-cli
- Repository: Stoppedwumm-Studios/spm
- Registry: st-registry
License
ISC
