CLICommandsregistry
registry makeLast updated on
Last updated on
Create a new registry.json file
Create a new registry.json file for hosting your own artifact registry.
Usage
ofm registry make [directory] [options]Arguments
| Argument | Description |
|---|---|
directory | Directory to create registry in (default: current directory) |
Options
| Option | Description |
|---|---|
-n, --name <name> | Registry name |
--description <description> | Registry description |
--homepage <url> | Registry homepage URL |
--artifacts-path <path> | Path prefix for artifacts (default: /r) |
--no-telemetry | Disable usage telemetry for this registry |
--no-directory | Do not list this registry in the OpenForm Hub |
-y, --yes | Skip confirmation prompts |
Description
Creates a registry.json file that defines a new artifact registry. This is the first step in hosting your own OpenForm registry. The command prompts for a name and description interactively, or you can pass them via options.
Examples
Create a registry interactively:
ofm registry makeCreate in a specific directory with options:
ofm registry make ./my-registry \
--name "Acme Forms" \
--description "Internal form templates" \
--homepage https://acme.com/forms \
-yNext steps
After creating a registry:
- Add artifacts with
ofm registry catalog add <artifact> - Compile the registry with
ofm registry compile - Deploy the output directory to your hosting provider
See also
- registry catalog - Manage catalog items
- registry compile - Compile registry artifacts
- Creating registries - Full registry hosting guide