Skip to content

feat(docs): expand CLI command builder suite - #21

Merged
vijaysingh2219 merged 1 commit into
mainfrom
feat/command-builder-expansion
Nov 24, 2026
Merged

vijaysingh2219 merged 1 commit into
mainfrom
feat/command-builder-expansion

Conversation

@vijaysingh2219

Copy link
Copy Markdown
Member

Problem

The interactive Command Builder in the documentation only supported project initialization (init), requiring users to manually look up syntax and flags for other CLI commands (add, doctor, upgrade). Additionally, Radix UI radio group indicators lacked sufficient contrast when checked.

Change

  • CLI Suite Expansion: Added interactive builders for all 4 Stackbase CLI commands:
    • init: Project name, template cards, and configuration flags (--git, --install, --docker, etc.)
    • add: Target app selection (auto, api, web, both), growth & core modules, and install flags
    • doctor: Workspace diagnostics and repair flags (--fix, --env-only, --ports, --verbose)
    • upgrade: Maintenance flags (--check, --all, --filter, --dry-run)
  • Interactive Terminal & Workspace Preview:
    • Live command terminal with syntax token highlighting and runner switching (pnpm, npm, bun).
    • Dynamic workspace tree preview reflecting active templates, modules, and app targets.
  • Configurator UX & Responsiveness:
    • Mode-scoped quick presets dropdown with tags and contextual descriptions.
    • Responsive layout optimized across screen sizes down to 320px viewports.
    • Modularized component architecture into single-purpose components under _components/ (builder-primitives, terminal-card, workspace-tree, mode-*).
  • UI Contrast: Updated RadioGroupItem styling in @workspace/ui to ensure contrast when selected.

Scope

  • Documentation interactive CLI configurator enhancement and related UI component contrast fix.

Verification

  • pnpm format:check — Passed
  • pnpm --filter docs lint — Passed
  • pnpm --filter docs build — Production build succeeded (126/126 routes generated)
  • Verified interactive behavior across all 4 modes (init, add, doctor, upgrade), runner switching, preset application, and mobile responsive layout.

- Support full CLI suite: init, add, doctor, and upgrade
- Add live terminal output with syntax tokens and workspace architecture preview
- Redesign configurator UX with quick presets, runner tabs, and responsive layout
@vijaysingh2219 vijaysingh2219 self-assigned this Nov 24, 2026
@vijaysingh2219 vijaysingh2219 added documentation Improvements or additions to documentation area:cli Stackbase CLI commands (stackbase add, init, list, upgrade) type:dx Developer experience improvement, tooling, or ergonomics labels Nov 24, 2026
@vercel

vercel Bot commented Nov 24, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
stackbase-docs Ready Ready Preview Nov 24, 2026 3:34pm UTC

@vijaysingh2219
vijaysingh2219 merged commit cffc10e into main Nov 24, 2026
10 checks passed

This branch was successfully deployed

1 active deployment
Preview — 2869c1fc Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cli Stackbase CLI commands (stackbase add, init, list, upgrade) documentation Improvements or additions to documentation type:dx Developer experience improvement, tooling, or ergonomics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant