Unmold CLI
A command line tool to interact with Unmold registry programmatically.
The CLI can be used in both authenticated and unauthenticated modes.
- Authenticated mode: required for publishing, deleting, and changing module access.
- Unauthenticated mode: supported for listing and consuming public modules.
Authenticate using the environment variable UNMOLD_API_TOKEN or the login command when you need private module operations.
Installation
The CLI is available from npm.
npm install -g @unmold/cli
Docker Image
The CLI is also available with docker image
docker run quay.io/unmold/unmold-cli:latest module list
📄️ unmold login
unmold login authenticates your CLI session through browser OAuth and stores an access token for future commands.
📄️ unmold logout
unmold logout signs out your local CLI session by removing the stored authentication token from your local config file.
📄️ unmold module list
unmold module list returns available modules and versions from the Unmold registry.
📄️ unmold module make-public
unmold module make-public updates a published module version to be publicly readable.
📄️ unmold module make-private
unmold module make-private updates a published module version to be private.
📄️ unmold module publish
unmold module publish packages a module directory and uploads it to your Unmold namespace as a new version.