Files
sp80/.planning/quick/1-create-start-sh-script-with-menu-for-tes/1-PLAN.md
admin b474f7067a docs(quick-1): Create start.sh with development menu
- Interactive menu for dev, test, build, preview, lint, clean, install
- Auto-installs dependencies if missing
- Supports direct command-line arguments
2026-03-13 11:01:25 +08:00

36 lines
818 B
Markdown

---
plan: 1
type: quick
files_modified:
- start.sh
---
<objective>
Create a start.sh script in project root with interactive menu for common npm commands (test, dev, build, etc.)
</objective>
<tasks>
<task>
<name>Create start.sh with menu</name>
<files>start.sh</files>
<action>
1. Create start.sh in project root with:
- Interactive menu using select/case
- Options: dev, test, build, preview, lint, clean
- Clear descriptions for each option
- Exit on any key to cancel
2. Make script executable: chmod +x start.sh
</action>
<verify>ls -la start.sh && head -30 start.sh</verify>
<done>start.sh created with executable permissions</done>
</task>
</tasks>
<success_criteria>
- start.sh exists and is executable
- Menu shows at least 5 options
- Running ./start.sh shows the menu
</success_criteria>