Skip to content

@kehto/cli

Top-level Kehto command namespace for local tooling.

Alpha status: Kehto is an early runtime implementation for a draft NIP-5D protocol. CLI commands are not yet a stability guarantee for final NAP contracts.

Install

bash
pnpm add -D @kehto/cli

Manifest Facts

FieldValue
Sourcepackages/cli/package.json, packages/cli/src/index.ts
Version0.2.2
Runtime entry./dist/index.js
Binarykehto
Types entry./dist/index.d.ts
Dependencies@kehto/paja
Side effectsfalse

Commands

bash
kehto paja --target-url http://127.0.0.1:5173 -- pnpm vite --host 127.0.0.1

kehto paja delegates to the Paja implementation package. Keeping the binary in @kehto/cli leaves room for future top-level commands without causing package-bin collisions across @kehto/* packages.

Primary APIs

AreaExports
Command runnerrunKehtoCli, RunKehtoCliOptions

Scope Boundaries

  • Owns the top-level kehto binary and command routing.
  • Delegates kehto paja to @kehto/paja instead of reimplementing runtime hosting behavior.
  • Does not own Paja's option schema, server lifecycle, browser host, or service simulation adapters.
  • Should be the only @kehto/* package that claims the kehto binary.

API Reference