Skip to content

feat: dynamic template categories with two-level menu#83

Merged
terchris merged 1 commit intomainfrom
feature/template-categories-dynamic
Apr 2, 2026
Merged

feat: dynamic template categories with two-level menu#83
terchris merged 1 commit intomainfrom
feature/template-categories-dynamic

Conversation

@terchris
Copy link
Copy Markdown
Collaborator

@terchris terchris commented Apr 2, 2026

Summary

  • Replace hardcoded categories with dynamic parsing of TEMPLATE_CATEGORIES file
  • Two-level menu: category → template → details → confirm (matching dev-setup UX)
  • Move scan_templates(), select_template(), menu functions to shared library
  • Both scripts simplified to script-specific logic only
  • Bump version to 1.7.12

Test plan

  • dev-template — two-level menu shows categories then templates
  • dev-template-ai — single category (WORKFLOW), category menu works
  • dev-template python-basic-webserver — direct selection bypasses menu
  • dev-template jalla — error lists available templates
  • ESC at category level exits cleanly
  • ESC at template level goes back to categories
  • --help works for both scripts

🤖 Generated with Claude Code

Replace hardcoded categories with dynamic parsing of TEMPLATE_CATEGORIES
file from dev-templates repo. Implement two-level menu matching dev-setup
UX: category → template → details → confirm.

- Move scan_templates(), select_template(), menu functions to shared library
- Categories loaded dynamically (BASIC_WEB_SERVER, WEB_APP, WORKFLOW)
- ESC navigation: category=exit, template=back, details No=back
- Both scripts simplified to ~200 lines (script-specific logic only)

Bump version to 1.7.12.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@terchris terchris merged commit a9ddad8 into main Apr 2, 2026
2 checks passed
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