[Docs Site] Add WranglerCommand component
Summary
Add WranglerCommand components.
There is a scripts/wrangler-commands-json.ts file which parses the --help output of each Wrangler command, and creates a JSON file. This is hopefully a short term solution, as Wrangler moves towards providing it's own structured data: https://github.com/cloudflare/workers-sdk/pull/6526
The WranglerCommand component reads from this JSON file.
Deploying cloudflare-docs with
Cloudflare Pages
| Latest commit: |
a7c4c90
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b0e1e67e.cloudflare-docs-7ou.pages.dev |
| Branch Preview URL: | https://kian-pcx-14259.cloudflare-docs-7ou.pages.dev |
Files with changes (up to 15)
This is very cool. Who is reviewing?
@bllchmbrs FYI - Here's some work being done do improve Wrangler commands' docs you may want to be aware of.
Optional positionals are colored differently to required positionals. Is that intentional?
vs.