@hcmai/cli 0.25.1 → 0.25.3
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/skills/manifest.json +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4695,7 +4695,7 @@ async function importCommand(path22, args) {
|
|
|
4695
4695
|
if (args.report) writeFileSync(args.report, JSON.stringify(result, null, 2));
|
|
4696
4696
|
const fmt = args.output ?? "json";
|
|
4697
4697
|
const tag = opts.dryRun ? "\u{1F50D} dry-run" : "\u{1F4E6} import";
|
|
4698
|
-
process.
|
|
4698
|
+
process.stderr.write(
|
|
4699
4699
|
`${tag}: created=${result.created} updated=${result.updated} skipped=${result.skipped} failed=${result.failed}
|
|
4700
4700
|
`
|
|
4701
4701
|
);
|
|
@@ -20694,7 +20694,7 @@ chiron.command("triage").description(
|
|
|
20694
20694
|
program.command("query <Model>").description("\u67E5\u8BE2 Model \u5217\u8868\u6570\u636E\uFF08\u901A\u8FC7 ModelQueryDsl JSON \u8868\u8FBE\u8FC7\u6EE4/\u6392\u5E8F/\u5173\u8054/\u5206\u9875\uFF09").option(
|
|
20695
20695
|
"--filter <JSON>",
|
|
20696
20696
|
`\u8FC7\u6EE4 AST\uFF08ModelQueryDsl\uFF09\uFF1A\u53F6\u5B50 '{"field":"status","op":"eq","value":"ACTIVE"}'\uFF0C\u591A\u6761\u4EF6\u7528 '{"and":[\u53F6\u5B50,\u2026]}'\u3002\u26A0\uFE0F \u4E0D\u63A5\u53D7 {"\u5B57\u6BB5":"\u503C"} \u7B80\u5199\uFF0Cschema \u5C42\u4F1A\u62D2`
|
|
20697
|
-
).option("--sort <JSON>", `\u6392\u5E8F\u6761\u4EF6 JSON\uFF0C\u4F8B\u5982 '[{"field":"hireDate","direction":"desc"}]'`).option(
|
|
20697
|
+
).option("--sort <JSON>", `\u6392\u5E8F\u6761\u4EF6 JSON\uFF08nulls \u53EF\u9009 FIRST/LAST\uFF09\uFF0C\u4F8B\u5982 '[{"field":"hireDate","direction":"desc"}]'`).option(
|
|
20698
20698
|
"--additions <JSON>",
|
|
20699
20699
|
`\u8DE8\u5173\u7CFB JOIN \u7684\u5BF9\u8C61\u6570\u7EC4 JSON\uFF0C\u4F8B\u5982 '[{"key":"employee","model":"Employee"}]'`
|
|
20700
20700
|
).option("--fields <list>", "\u8FD4\u56DE\u5B57\u6BB5\u5217\u8868\uFF08\u9017\u53F7\u5206\u9694\uFF09\uFF0C\u4F8B\u5982 name,code,email").option("--plugin <activation>", "\u5143\u6570\u636E\u63D2\u4EF6\u6FC0\u6D3B\u4E32\uFF0C\u4F8B\u5982 salaryByAssist:assistId=<uuid>").option("--keyword <text>", "\u5168\u6587\u68C0\u7D22\u5173\u952E\u5B57").option("--limit <n>", "\u6BCF\u9875\u5927\u5C0F", "20").option("--offset <n>", "\u504F\u79FB\u91CF\uFF08\u6309 limit \u81EA\u52A8\u6362\u7B97 page\uFF09").option("--env <name>", "\u672C\u6B21\u4F7F\u7528\u7684\u9879\u76EE\u73AF\u5883\u540D\u6216\u672C\u673A\u69FD\u540D").option("--as <identity>", "\u4E34\u65F6\u6362\u8EAB\u4EFD\uFF08\u8986\u76D6 env defaultIdentity\uFF0C\u672C\u6B21\u547D\u4EE4\uFF09").option("--profile <name>", "[deprecated] \u7528 --env \u66FF\u4EE3").option("--output <fmt>", "\u8F93\u51FA\u683C\u5F0F\uFF1Atable | json | yaml", "table").action((m, opts) => queryCommand(m, opts));
|