Efficiently develop Hono applications using Hono CLI. Supports documentation search, API reference lookup, request testing, and bundle optimization.
Develop Hono applications efficiently using Hono CLI (@hono/cli).
You can use Hono CLI:
npx hono <command>
hono search "<query>" --pretty
Search for Hono APIs and features. Use --pretty for human-readable output.
hono docs [path]
Display detailed documentation for a specific path found in search results.
Examples:
hono docs /docs/api/context
hono docs /docs/api/hono
hono docs /docs/helpers/factory
# GET request
hono request [file] -P /path
# POST request
hono request [file] -X POST -P /api/users -d '{"name": "test"}'
# Request with headers
hono request [file] -H "Authorization: Bearer token" -P /api/protected
Uses app.request() internally, so no server startup required for testing.
# Bundle optimization
hono optimize [entry] -o dist/index.js
# With minification
hono optimize [entry] -o dist/index.js --minify
# Specify target (cloudflare-workers, deno, etc.)
hono optimize [entry] -t cloudflare-workers
hono search → hono docs to investigate APIs and featureshono request to test endpointshono optimize for production builds when neededhono search before implementing unfamiliar APIshono request works without starting an HTTP serverhono search "middleware name"Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer