feat: make development builds visibly identifiable

This commit is contained in:
gitea committed 2026-09-13 14:24:27 +08:00
1 parent 0554f41d12
commit 2ed9bf0236
13 files changed
+285 -35

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { writeFileSync } from "node:fs";
import { VERSION } from "../version.js";
import { formatVersionLabel } from "../version.js";
import type { OutputOptions } from "./types.js";
import { PayloadTooLargeError } from "./errors.js";
import { renderScopedHelp } from "./help.js";
@@ -115,7 +115,7 @@ export function printTable(
export function printHelp(target: string[] = []): string {
if (target.length) return renderScopedHelp(target);
return `
合思/易快报企业级 CLI 工具 (hose-use) v${VERSION}
合思/易快报企业级 CLI 工具 (${formatVersionLabel("hose-use")})
用法:
hose-use <命令域> <子命令> [参数] [选项]