feat: 增加 SealAI 官方规则 CSV 导出

This commit is contained in:
gitea committed 2026-11-06 15:00:05 +08:00
1 parent 382fc1a7ae
commit f454d62be1
14 files changed
+143 -9

No files matched your search

+4
View File
@@ -27,6 +27,10 @@ describe("parseArgs flag handling", () => {
expect(parseArgs(["corps", "list", "--all"]).options.all).toBe(true);
});
test("rules pull official is parsed as a boolean flag", () => {
expect(parseArgs(["rules", "pull", "--official"]).options.official).toBe(true);
});
test("value flags consume exactly one token", () => {
const parsed = parseArgs(["approval-runs", "list", "--limit", "25", "--status", "completed"]);