Recipes
Practical examples and patterns for common use cases.
Available Recipes
Quick Reference
Common Commands
# Initialize
moonbit-registry init [path] [--name <name>]
# Mirror packages
moonbit-registry mirror <patterns...> [--full] [--strict] [-s <source>]
# Serve registry
moonbit-registry serve [--port <port>] [--host <host>]
# Manage sources
moonbit-registry source list
moonbit-registry source add <name> [options]
moonbit-registry source remove <name>
moonbit-registry source default <name>
# Configuration
moonbit-registry config [key] [value]
# Sync with remote
moonbit-registry sync [--push] [--pull]
Environment Variables
| Variable |
Description |
MOONCAKES_REGISTRY |
URL of the registry for moon CLI |
PARTNER_REGISTRY_TOKEN |
Token for authenticated sources (example) |
Table of contents