The Link Loom CLI (@link-loom/cli) is the primary tool for scaffolding new services based on the official templates.
npm install -g @link-loom/cliCreates a new project based on the Link Loom boilerplate (loom-svc-js).
Usage:
link-loom create --name [project-name]Options:
| Option | Alias | Type | Description |
|---|---|---|---|
--name |
-n |
string |
Required. The name of the project folder to create. |
--help |
-h |
boolean |
Show help. |
What it does:
- Downloads the latest
loom-svc-jstemplate. - Replaces
%LOOM%placeholders with your project name. - Initializes a fresh git repository.
- Prepares the directory structure.
Example:
link-loom create --name payment-service
cd payment-service
npm install
npm run