News for hackers. Stuff that matters.
Re:Building a CLI for All of Cloudflare by 8cvor6j844qw_d6 on Monday April 13, 2026 @12:16PM (#47754283)
> Tell us your hopes and dreams for a Cloudflare-wide CLI

It'd be great if the Wrangler CLI could display the required API token permissions upfront during local dev, so you know exactly what to provision before deploying. Even better if there were something like a `cf permissions check` command that tells you what's missing or unneeded perms with an API key.

Re:Building a CLI for All of Cloudflare by contrahax on Monday April 13, 2026 @02:44PM (#47756263)
A doctor command that does this is always nice! Wish more services would have this
Re:Building a CLI for All of Cloudflare by jbethune on Monday April 13, 2026 @04:12PM (#47757234)
I would second this. Would be very helpful. Had a fat finger issue a while ago that this would have saved.
Re:Building a CLI for All of Cloudflare by LaurensBER on Monday April 13, 2026 @05:53PM (#47758330)
That would be glorious! If ChatGPT doesn't get the permissions right on the first try I know that I'm going to have to spend the next hours reading the documentation or trying random combinations to get a token that works.
Re:Building a CLI for All of Cloudflare by fragmede on Monday April 13, 2026 @11:06PM (#47760763)
Why is "on the first try" so important? What's wrong with telling it your end goal and letting it figure out the exact right combo while you go off and work on something else?
Re:Building a CLI for All of Cloudflare by duc_minh on Monday April 13, 2026 @11:42PM (#47760989)
That's also my experience. If it does not work on the first try, the model will likely continue to struggle with the problem, unless I babysit it.

So I prefer to dig through the source of truth, which also helps me build my mental model around the problem.

Re:Building a CLI for All of Cloudflare by martyz on Monday April 13, 2026 @11:14PM (#47760819)
Because I don’t want the earth to melt. Maybe if we’re all a bit more efficient we can postpone our doom for a bit.
Re:Building a CLI for All of Cloudflare by csomar on Monday April 13, 2026 @08:02PM (#47759549)
Maybe even better: create that key for you.
Re:Building a CLI for All of Cloudflare by tstrimple on Tuesday April 14, 2026 @12:35AM (#47761288)
I think this boils down to more discoverability of the entire API. While I'm not a fan of GraphQL necessarily, it does provide the tools for very robust LLM usage typically because of the discoverability and HATEOAS aspects they actually follow compared to most "REST" APIs. I would love if LLMs could learn everything they need to about an API just by following links from its root entry point. That drastically cuts down on the "ingested knowledge" and documentation reads (of the wrong version) it needs to perform. Outdated documentation can often be worse than no documentation if the tool has the capability of helping you "discover" its features and capabilities.