10000 Add Windows batch script for easier CLI startup · Issue #812 · doocs/md · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add Windows batch script for easier CLI startup #812
Open
@ikun245

Description

@ikun245

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:

  1. Automatically runs the md-cli command
  2. Provides a convenient way to start the service with a double-click
  3. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0