CLI
Overview
Command-line interface for UCD.js
CLI
The @ucdjs/cli package provides a command-line interface for working with the Unicode Character Database. Use it to manage local UCD stores, browse remote files, run pipelines, and generate code.
Installation
npm install -g @ucdjs/cliRun any command with --help to see available options:
ucd --help
ucd store --helpCommands
store
Initialize, mirror, sync, verify, and analyze local UCD stores.
files
Browse and download files from the remote UCD API.
lockfile
Inspect, validate, and hash UCD store lockfiles.
pipelines
Run pipelines locally or from remote repositories, manage the pipeline cache.
codegen
Generate TypeScript field definitions from UCD data files.
Global Flags
These flags are available on all commands:
| Flag | Description |
|---|---|
--help, -h | Show help for the current command |
--version | Print the CLI version and exit |
--json | Output results as JSON (supported per-command) |
--force | Force the operation (behavior varies per command) |