bfi-cli 0.1.80 → 0.1.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +6 -2
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -8243,7 +8243,11 @@ async function runYmc(args, globalOpts) {
|
|
|
8243
8243
|
return;
|
|
8244
8244
|
}
|
|
8245
8245
|
if (sub === "help") {
|
|
8246
|
-
|
|
8246
|
+
if (!rest[0]) {
|
|
8247
|
+
printHelp$2();
|
|
8248
|
+
return;
|
|
8249
|
+
}
|
|
8250
|
+
printCommandHelp(rest[0]);
|
|
8247
8251
|
return;
|
|
8248
8252
|
}
|
|
8249
8253
|
if (flag(rest, "--help") || flag(rest, "-h")) {
|
|
@@ -8854,7 +8858,7 @@ const HELP = {
|
|
|
8854
8858
|
注意:业务关键词检索必须 applicationname: 限定目标服务(共享路径 URL 全平台都有);
|
|
8855
8859
|
traceid/spanid 检索例外(全局唯一)。非索引字段(logger/requesturl)不能进检索语法,只能在 SELECT 里引用。`,
|
|
8856
8860
|
"sls-grep": `bfi ymc sls-grep "<关键词>" -e <env> -t <time> [--json]
|
|
8857
|
-
SLS
|
|
8861
|
+
SLS 全文检索聚合(每组计数精确不封顶;组数上限 500——实测 2026-09-17:计数不受限,仅组数受 SLS 默认 LIMIT 约束,服务端已放宽)。`,
|
|
8858
8862
|
slowsql: `bfi ymc slowsql -t <time> -e <env> [--sql-str <表名或片段>] [--md5 <指纹>] [--trace-id <id>] [--app <appCode>] [--no-profiler] [--page N] [--page-size N] [--json]
|
|
8859
8863
|
慢 SQL 告警明细(耗时降序;摘要含 服务/耗时/行数/SQL 前段/指纹/调用栈首帧)。
|
|
8860
8864
|
参数:
|