Go: rename ragflow_cli to ragflow-cli (#16270)

### What problem does this PR solve?

rename ragflow cli binary

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-06-23 19:20:49 +08:00
committed by GitHub
parent d89e29fba8
commit 49714865c1
9 changed files with 26 additions and 26 deletions

View File

@@ -32,7 +32,7 @@ The Unix installer:
- detects `linux` or `darwin`
- detects `amd64` or `arm64`
- downloads `ragflow_cli-{VERSION}-{OS}-{ARCH}`
- downloads `ragflow-cli-{VERSION}-{OS}-{ARCH}`
- verifies the file with the release `SHA256SUMS`
- installs to `/usr/local/bin` by default
@@ -59,7 +59,7 @@ Install to a custom directory:
The Windows installer:
- detects `windows/amd64` or `windows/arm64`
- downloads `ragflow_cli-{VERSION}-windows-{ARCH}.exe`
- downloads `ragflow-cli-{VERSION}-windows-{ARCH}.exe`
- verifies the file with the release `SHA256SUMS`
- installs to `$env:LOCALAPPDATA\Programs\RAGFlow` by default
- adds the install directory to the user `PATH`
@@ -69,12 +69,12 @@ The Windows installer:
The install scripts expect these names:
```text
ragflow_cli-v1.0.0-linux-amd64
ragflow_cli-v1.0.0-linux-arm64
ragflow_cli-v1.0.0-darwin-amd64
ragflow_cli-v1.0.0-darwin-arm64
ragflow_cli-v1.0.0-windows-amd64.exe
ragflow_cli-v1.0.0-windows-arm64.exe
ragflow-cli-v1.0.0-linux-amd64
ragflow-cli-v1.0.0-linux-arm64
ragflow-cli-v1.0.0-darwin-amd64
ragflow-cli-v1.0.0-darwin-arm64
ragflow-cli-v1.0.0-windows-amd64.exe
ragflow-cli-v1.0.0-windows-arm64.exe
SHA256SUMS
install.sh
install.ps1

View File

@@ -18,7 +18,7 @@ param(
[string]$Version = "latest",
[string]$InstallDir = "$env:LOCALAPPDATA\Programs\RAGFlow",
[string]$GitHubRepo = "infiniflow/ragflow",
[string]$CliName = "ragflow_cli"
[string]$CliName = "ragflow-cli"
)
$ErrorActionPreference = "Stop"

View File

@@ -19,7 +19,7 @@ set -eu
INSTALL_DIR="${INSTALL_DIR:-/usr/local/bin}"
GITHUB_REPO="${GITHUB_REPO:-infiniflow/ragflow}"
CLI_NAME="${CLI_NAME:-ragflow_cli}"
CLI_NAME="${CLI_NAME:-ragflow-cli}"
VERSION="${VERSION:-latest}"
RELEASE_API="https://api.github.com/repos/${GITHUB_REPO}/releases/latest"