@webring-kit/cli
v0.1.1
Published
Command-line tools for validating and maintaining Webring Kit manifests.
Readme
@webring-kit/cli
Command-line tools for validating and maintaining Webring Kit ring manifests.
Install
pnpm add -D @webring-kit/clinpm install --save-dev @webring-kit/cliCommands
Validate a ring manifest
webring validate rings/example.jsonExpected success output:
✓ rings/example.json: Indie Devs Webring (3 sites)Check sites
webring check-sites rings/example.jsonThis command checks that the sites in the manifest are reachable. Depending on your configuration, it may also check reciprocal links or related site-health conditions.
Build an index
webring build-index rings/example.json --out public/webring-index.jsonUse this when a project contains one or more ring manifests and you want to generate a static index for docs, examples, or a registry page.
Path behavior
The CLI resolves relative paths from the current working directory. Run it from your project root when using project-relative paths:
cd my-site
webring validate rings/example.jsonCI example
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm exec webring validate rings/example.jsonRelated packages
@webring-kit/corefor the validation and navigation logic used by the CLI.@webring-kit/schemasfor JSON Schema files.
