Commit 9eed28a
chore(x): improve developer CLI with help, structure, and test filters (#32665)
## Summary
- Add per-command `--help`/`-h` with thorough descriptions (useful for
LLMs and AI agents)
- Extract CLI logic from `./x` into `tools/x/main.ts` for
maintainability
- Replace manual ANSI escapes with `@std/fmt/colors`
- Merge duplicate command/registry structures into a single
`buildCommands()`
- Test commands (`test-unit`, `test-node`, `test-compat`, `test-spec`)
now require a filter argument and support `--list` to discover available
tests
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent aa6ee7d commit 9eed28a
0 commit comments