Open
Description
Feature Request
Problem
Currently users need to manually run md-cli
command each time they want to start the service. This could be simplified with a Windows batch script.
Solution
Create a Windows batch script (.bat file) that:
- Automatically runs the
md-cli
command - Provides a convenient way to start the service with a double-click
- Could include additional options like keeping the window open or handling errors
Example Implementation
@echo off
echo Starting doocs/md-cli...
md-cli
pause
Additional Features to Consider
- Error handling
- Option to open browser automatically after startup
- Configuration options
- Silent mode option
Use Case
Based on user feedback showing the current startup process:
C:\Users\12271>md-cli
doocs/md-cli v0.1.2
服务启动中...
服务已启动:
打开链接 http://127.0.0.1:8800/md/ 即刻使用吧~
A batch script would make this process more user-friendly for Windows users.
Metadata
Metadata
Assignees
Labels
No labels