I don't understand why this is written in Typescript. This is a great example of how agents can write code (I'm sure they wrote `cf`), yet having fundamental computer science knowledge is still critical. Do not force your users to manage the dependencies of your cli. Do write your cli in a compiled language. Understand the reason for those decisions and tell your agents to use the correct architecture.
Counterpoint: many cloud CLIs are thinnish wrappers around APIs, so looking under the covers can actually be useful in figuring out how to do something in the API when documentation is unclear.
slowin · · focus · HN ↗
kelchm · · focus · HN ↗
IMO -- it makes total sense within the existing Cloudflare tooling ecosystem.
xtajv · · focus · HN ↗
locknitpicker · · focus · HN ↗
Yes, and the user wants to use a command line app, regardless of what's running underneath.
jasomill · · focus · HN ↗