1 of 6 standards met
I thought long about this Hono CLI. You might think Hono CLI seems to have faded out, as it is. BUT make it completely for AI, especially an AI coding agent, Hono CLI will get brilliant. Make a skill to use Hono CLI; use it in your coding agent. The agent will debug your application, build it, and benchmark it with Hono CLI instead of a human. What's changed Default output is JSON Make the default output as JSON for AI. If humans want to see the result, use the option. Remove commands accessing remote resources Sometimes using the CLI to access remote resources can be dangerous. Current Hono CLI commands and access the remote . With them, for instance, a security scanner like Snyk may detect a security issue. As a result, the skill using the current Hono CLI is marked as having risk: https://www.skills.sh/yusukebe/hono-skill/hono/security/snyk Let's remove and . If you want an agent to read the docs, you can use the "Web Fetch" function in the agent. Remove is just for humans. We can remove it. Add option to It's not super related to this topic, but I want to add specifying the runtime environment to the command. Now the candidates are: Cloudflare Workers Bun Deno Node.js If an agent wants to request your application on Cloudflare Workers, the agent can run . to Change the thought to an AI agent to "build," not only optimization. If AI can deploy, AI should want to build. If so, it's not enough just "optimization". And we can add option to the command. New commands I propose the following new commands: Show all endpoints of the app like Generate static files for your application. Using SSG Helper inside. Measure the performance of your app without running the server, and just send to the app and get . And I want to add the command. This command is inspired by the command from Cloudflare. The subcommand shows a list of command usage in Markdown format. All commands We will have the following commands: Next The current Hono CLI version is . We can make with this new concept.
Repository: honojs/cli. Description: CLI for Humans and AI with Hono Stars: 350, Forks: 10. Primary language: TypeScript. Languages: TypeScript (99.9%), JavaScript (0.1%). Open PRs: 2, open issues: 4. Last activity: 1mo ago. Community health: 25%. Top contributors: yusukebe, usualoma, ysknsid25, robinsadeghpour, tommy-ish, koralle.