Skip to content

feat(ux): improve CLI usability across add, remove, compile, and list#54

Merged
gpolanco merged 2 commits intomainfrom
feat/ux-improvements
Mar 7, 2026
Merged

feat(ux): improve CLI usability across add, remove, compile, and list#54
gpolanco merged 2 commits intomainfrom
feat/ux-improvements

Conversation

@gpolanco
Copy link
Copy Markdown
Owner

@gpolanco gpolanco commented Mar 7, 2026

Summary

  • devw add --list now shows available assets (commands, templates, hooks, presets) from the registry in addition to rules
  • devw add interactive mode offers an initial prompt to choose between Rules or Assets (commands/templates/hooks/presets)
  • devw remove interactive mode shows rules and assets together in a single checkbox list with group separators
  • devw compile --verbose shows asset deployment paths separately from bridge output files
  • devw list assets now includes the output path for each installed asset type
  • Block format error messages suggest the category/name equivalent (e.g. typescript-stricttypescript/strict)
  • Template fallback warns when no output_path is defined and the default docs/specs/ is used
  • fetchRegistry now uses Promise.all for parallel API calls (faster --list)

Test plan

  • 280/280 tests pass (pnpm test)
  • Build clean (pnpm build)
  • New tests: updateConfigAssets (3), mixed config state (2), template fallback (2), block format hint e2e (2)

🤖 Generated with Claude Code

gpolanco added 2 commits March 7, 2026 12:22
- add: parallelize fetchRegistry with Promise.all (faster --list)
- add --list: show available assets (commands/templates/hooks/presets)
- add interactive: offer rules vs assets at startup
- add/remove: block format error now suggests category/name equivalent
- remove interactive: shows rules and assets together with separators
- compile --verbose: shows asset deployment separately from bridge files
- list assets: show output path for each installed asset
- assets: warn when template falls back to default output path
- docs: update remove.mdx to document asset removal
- add.test.ts: tests for updateConfigAssets (preserve, replace, multi-type)
- remove.test.ts: tests for mixed pulled+assets config state
- assets.test.ts: tests for deployTemplates fallback and custom output_path
- e2e/cli.test.ts: tests for block format hint in add/remove error messages
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
landing Ready Ready Preview, Comment Mar 7, 2026 11:44am

@gpolanco gpolanco merged commit 748a8fc into main Mar 7, 2026
4 checks passed
@gpolanco gpolanco deleted the feat/ux-improvements branch March 7, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant