CLI
Use the Clock CLI to inspect component documentation and install owned blocks.
Run the CLI
The CLI ships with @comhora/clock and can run directly through npx:
npx @comhora/clock help
Blocks
Initialize a project, inspect available blocks, and install a block as source code you own:
# Create clock.json
npx @comhora/clock init
# List available blocks
npx @comhora/clock blocks
# Install a block
npx @comhora/clock add PageHeader
Older Kumo-based projects may still contain inherited kumo.json configuration or src/components/kumo/ paths. Treat those as compatibility names during migration; do not rename installed source blindly.
Component Registry
Access Clock’s generated component documentation from the terminal:
# List components and categories
npx @comhora/clock ls
# Show one component
npx @comhora/clock doc Button
# Show all component documentation
npx @comhora/clock docs
To compare with the upstream Kumo release line, run the same documentation commands against @cloudflare/kumo explicitly.
Try It
Type commands in the interactive terminal below to explore the CLI.
Clock CLI v1.0.0 - Type "clock help" for commands
$
Tip: Use arrow keys for command history, Ctrl+L to clear