@memberjunction/cli 6.1.0-edge.4 → 6.1.0-edge.5
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/README.md +81 -0
- package/dist/commands/ai/actions/list.d.ts +2 -1
- package/dist/commands/ai/actions/list.d.ts.map +1 -1
- package/dist/commands/ai/actions/list.js +12 -3
- package/dist/commands/ai/actions/list.js.map +1 -1
- package/dist/commands/ai/actions/run.d.ts +7 -6
- package/dist/commands/ai/actions/run.d.ts.map +1 -1
- package/dist/commands/ai/actions/run.js +15 -16
- package/dist/commands/ai/actions/run.js.map +1 -1
- package/dist/commands/ai/agents/list.d.ts +2 -1
- package/dist/commands/ai/agents/list.d.ts.map +1 -1
- package/dist/commands/ai/agents/list.js +12 -3
- package/dist/commands/ai/agents/list.js.map +1 -1
- package/dist/commands/ai/agents/run.d.ts +7 -6
- package/dist/commands/ai/agents/run.d.ts.map +1 -1
- package/dist/commands/ai/agents/run.js +27 -5
- package/dist/commands/ai/agents/run.js.map +1 -1
- package/dist/commands/ai/audit/agent-run.d.ts +15 -14
- package/dist/commands/ai/audit/agent-run.d.ts.map +1 -1
- package/dist/commands/ai/audit/agent-run.js +18 -6
- package/dist/commands/ai/audit/agent-run.js.map +1 -1
- package/dist/commands/ai/prompts/run.d.ts +10 -9
- package/dist/commands/ai/prompts/run.d.ts.map +1 -1
- package/dist/commands/ai/prompts/run.js +12 -3
- package/dist/commands/ai/prompts/run.js.map +1 -1
- package/dist/commands/ai/usage.d.ts +7 -0
- package/dist/commands/ai/usage.d.ts.map +1 -0
- package/dist/commands/ai/usage.js +10 -0
- package/dist/commands/ai/usage.js.map +1 -0
- package/dist/commands/app/check-updates.d.ts.map +1 -1
- package/dist/commands/app/check-updates.js +55 -17
- package/dist/commands/app/check-updates.js.map +1 -1
- package/dist/commands/app/remove.d.ts.map +1 -1
- package/dist/commands/app/remove.js +12 -4
- package/dist/commands/app/remove.js.map +1 -1
- package/dist/commands/app/usage.d.ts +7 -0
- package/dist/commands/app/usage.d.ts.map +1 -0
- package/dist/commands/app/usage.js +10 -0
- package/dist/commands/app/usage.js.map +1 -0
- package/dist/commands/artifacts/usage.d.ts +7 -0
- package/dist/commands/artifacts/usage.d.ts.map +1 -0
- package/dist/commands/artifacts/usage.js +10 -0
- package/dist/commands/artifacts/usage.js.map +1 -0
- package/dist/commands/baseline/usage.d.ts +7 -0
- package/dist/commands/baseline/usage.d.ts.map +1 -0
- package/dist/commands/baseline/usage.js +10 -0
- package/dist/commands/baseline/usage.js.map +1 -0
- package/dist/commands/bump/usage.d.ts +7 -0
- package/dist/commands/bump/usage.d.ts.map +1 -0
- package/dist/commands/bump/usage.js +10 -0
- package/dist/commands/bump/usage.js.map +1 -0
- package/dist/commands/bundle/usage.d.ts +7 -0
- package/dist/commands/bundle/usage.d.ts.map +1 -0
- package/dist/commands/bundle/usage.js +10 -0
- package/dist/commands/bundle/usage.js.map +1 -0
- package/dist/commands/clean/usage.d.ts +7 -0
- package/dist/commands/clean/usage.d.ts.map +1 -0
- package/dist/commands/clean/usage.js +10 -0
- package/dist/commands/clean/usage.js.map +1 -0
- package/dist/commands/dbdoc/usage.d.ts +7 -0
- package/dist/commands/dbdoc/usage.d.ts.map +1 -0
- package/dist/commands/dbdoc/usage.js +10 -0
- package/dist/commands/dbdoc/usage.js.map +1 -0
- package/dist/commands/dev/workspace/index.d.ts.map +1 -1
- package/dist/commands/dev/workspace/index.js +7 -2
- package/dist/commands/dev/workspace/index.js.map +1 -1
- package/dist/commands/doctor/usage.d.ts +7 -0
- package/dist/commands/doctor/usage.d.ts.map +1 -0
- package/dist/commands/doctor/usage.js +10 -0
- package/dist/commands/doctor/usage.js.map +1 -0
- package/dist/commands/install/index.d.ts +20 -0
- package/dist/commands/install/index.d.ts.map +1 -1
- package/dist/commands/install/index.js +80 -10
- package/dist/commands/install/index.js.map +1 -1
- package/dist/commands/install/usage.d.ts +7 -0
- package/dist/commands/install/usage.d.ts.map +1 -0
- package/dist/commands/install/usage.js +10 -0
- package/dist/commands/install/usage.js.map +1 -0
- package/dist/commands/migrate/convert.d.ts +1 -0
- package/dist/commands/migrate/convert.d.ts.map +1 -1
- package/dist/commands/migrate/convert.js +54 -5
- package/dist/commands/migrate/convert.js.map +1 -1
- package/dist/commands/migrate/rebake.d.ts +1 -0
- package/dist/commands/migrate/rebake.d.ts.map +1 -1
- package/dist/commands/migrate/rebake.js +16 -6
- package/dist/commands/migrate/rebake.js.map +1 -1
- package/dist/commands/migrate/usage.d.ts +7 -0
- package/dist/commands/migrate/usage.d.ts.map +1 -0
- package/dist/commands/migrate/usage.js +10 -0
- package/dist/commands/migrate/usage.js.map +1 -0
- package/dist/commands/plugin/usage.d.ts +7 -0
- package/dist/commands/plugin/usage.d.ts.map +1 -0
- package/dist/commands/plugin/usage.js +10 -0
- package/dist/commands/plugin/usage.js.map +1 -0
- package/dist/commands/querygen/usage.d.ts +7 -0
- package/dist/commands/querygen/usage.d.ts.map +1 -0
- package/dist/commands/querygen/usage.js +10 -0
- package/dist/commands/querygen/usage.js.map +1 -0
- package/dist/commands/sql-audit/usage.d.ts +7 -0
- package/dist/commands/sql-audit/usage.d.ts.map +1 -0
- package/dist/commands/sql-audit/usage.js +10 -0
- package/dist/commands/sql-audit/usage.js.map +1 -0
- package/dist/commands/sql-convert/usage.d.ts +7 -0
- package/dist/commands/sql-convert/usage.d.ts.map +1 -0
- package/dist/commands/sql-convert/usage.js +10 -0
- package/dist/commands/sql-convert/usage.js.map +1 -0
- package/dist/commands/standards/usage.d.ts +7 -0
- package/dist/commands/standards/usage.d.ts.map +1 -0
- package/dist/commands/standards/usage.js +10 -0
- package/dist/commands/standards/usage.js.map +1 -0
- package/dist/commands/sync/file-reset.d.ts +6 -6
- package/dist/commands/sync/file-reset.d.ts.map +1 -1
- package/dist/commands/sync/file-reset.js +151 -127
- package/dist/commands/sync/file-reset.js.map +1 -1
- package/dist/commands/sync/init.d.ts +10 -1
- package/dist/commands/sync/init.d.ts.map +1 -1
- package/dist/commands/sync/init.js +127 -78
- package/dist/commands/sync/init.js.map +1 -1
- package/dist/commands/test/compare.d.ts +11 -11
- package/dist/commands/test/compare.d.ts.map +1 -1
- package/dist/commands/test/compare.js +8 -7
- package/dist/commands/test/compare.js.map +1 -1
- package/dist/commands/test/history.d.ts +7 -7
- package/dist/commands/test/history.d.ts.map +1 -1
- package/dist/commands/test/history.js +8 -7
- package/dist/commands/test/history.js.map +1 -1
- package/dist/commands/test/list.d.ts +8 -8
- package/dist/commands/test/list.d.ts.map +1 -1
- package/dist/commands/test/list.js +8 -7
- package/dist/commands/test/list.js.map +1 -1
- package/dist/commands/test/regression/compare.d.ts.map +1 -1
- package/dist/commands/test/regression/compare.js +5 -7
- package/dist/commands/test/regression/compare.js.map +1 -1
- package/dist/commands/test/run.d.ts +9 -9
- package/dist/commands/test/run.d.ts.map +1 -1
- package/dist/commands/test/run.js +8 -7
- package/dist/commands/test/run.js.map +1 -1
- package/dist/commands/test/suite.d.ts +11 -11
- package/dist/commands/test/suite.d.ts.map +1 -1
- package/dist/commands/test/suite.js +8 -7
- package/dist/commands/test/suite.js.map +1 -1
- package/dist/commands/test/usage.d.ts +7 -0
- package/dist/commands/test/usage.d.ts.map +1 -0
- package/dist/commands/test/usage.js +10 -0
- package/dist/commands/test/usage.js.map +1 -0
- package/dist/commands/test/validate.d.ts +7 -7
- package/dist/commands/test/validate.d.ts.map +1 -1
- package/dist/commands/test/validate.js +8 -7
- package/dist/commands/test/validate.js.map +1 -1
- package/dist/commands/translate-sql/usage.d.ts +7 -0
- package/dist/commands/translate-sql/usage.d.ts.map +1 -0
- package/dist/commands/translate-sql/usage.js +10 -0
- package/dist/commands/translate-sql/usage.js.map +1 -0
- package/dist/commands/update/usage.d.ts +7 -0
- package/dist/commands/update/usage.d.ts.map +1 -0
- package/dist/commands/update/usage.js +10 -0
- package/dist/commands/update/usage.js.map +1 -0
- package/dist/commands/usage.d.ts.map +1 -1
- package/dist/commands/usage.js +9 -4
- package/dist/commands/usage.js.map +1 -1
- package/dist/hooks/prerun.d.ts.map +1 -1
- package/dist/hooks/prerun.js +63 -30
- package/dist/hooks/prerun.js.map +1 -1
- package/dist/lib/cli-plugins.d.ts +8 -1
- package/dist/lib/cli-plugins.d.ts.map +1 -1
- package/dist/lib/cli-plugins.js +17 -1
- package/dist/lib/cli-plugins.js.map +1 -1
- package/dist/lib/derived-usage.d.ts +68 -0
- package/dist/lib/derived-usage.d.ts.map +1 -0
- package/dist/lib/derived-usage.js +121 -0
- package/dist/lib/derived-usage.js.map +1 -0
- package/dist/lib/domain-profiles.d.ts +42 -0
- package/dist/lib/domain-profiles.d.ts.map +1 -0
- package/dist/lib/domain-profiles.js +118 -0
- package/dist/lib/domain-profiles.js.map +1 -0
- package/dist/lib/domain-usage-command.d.ts.map +1 -1
- package/dist/lib/domain-usage-command.js +9 -4
- package/dist/lib/domain-usage-command.js.map +1 -1
- package/dist/lib/format-compat.d.ts +68 -0
- package/dist/lib/format-compat.d.ts.map +1 -0
- package/dist/lib/format-compat.js +111 -0
- package/dist/lib/format-compat.js.map +1 -0
- package/dist/lib/interactive-guard.d.ts +56 -0
- package/dist/lib/interactive-guard.d.ts.map +1 -0
- package/dist/lib/interactive-guard.js +60 -0
- package/dist/lib/interactive-guard.js.map +1 -0
- package/dist/lib/legacy-install.d.ts.map +1 -1
- package/dist/lib/legacy-install.js +4 -0
- package/dist/lib/legacy-install.js.map +1 -1
- package/dist/lib/usage-render.d.ts +2 -2
- package/dist/lib/usage-render.d.ts.map +1 -1
- package/dist/lib/usage-render.js +2 -1
- package/dist/lib/usage-render.js.map +1 -1
- package/dist/light-commands.d.ts.map +1 -1
- package/dist/light-commands.js +43 -0
- package/dist/light-commands.js.map +1 -1
- package/dist/utils/open-app-context.d.ts +24 -0
- package/dist/utils/open-app-context.d.ts.map +1 -1
- package/dist/utils/open-app-context.js +21 -6
- package/dist/utils/open-app-context.js.map +1 -1
- package/dist/utils/update-check.d.ts +86 -0
- package/dist/utils/update-check.d.ts.map +1 -0
- package/dist/utils/update-check.js +98 -0
- package/dist/utils/update-check.js.map +1 -0
- package/oclif.manifest.json +1860 -1000
- package/package.json +21 -21
package/oclif.manifest.json
CHANGED
|
@@ -10,9 +10,8 @@
|
|
|
10
10
|
],
|
|
11
11
|
"flags": {
|
|
12
12
|
"format": {
|
|
13
|
-
"description": "Output format",
|
|
13
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
14
14
|
"name": "format",
|
|
15
|
-
"default": "text",
|
|
16
15
|
"hasDynamicHelp": false,
|
|
17
16
|
"multiple": false,
|
|
18
17
|
"options": [
|
|
@@ -60,6 +59,40 @@
|
|
|
60
59
|
"index.js"
|
|
61
60
|
]
|
|
62
61
|
},
|
|
62
|
+
"ai:usage": {
|
|
63
|
+
"aliases": [],
|
|
64
|
+
"args": {},
|
|
65
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj ai` command.",
|
|
66
|
+
"flags": {
|
|
67
|
+
"format": {
|
|
68
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
69
|
+
"name": "format",
|
|
70
|
+
"hasDynamicHelp": false,
|
|
71
|
+
"multiple": false,
|
|
72
|
+
"options": [
|
|
73
|
+
"text",
|
|
74
|
+
"json",
|
|
75
|
+
"md"
|
|
76
|
+
],
|
|
77
|
+
"type": "option"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"hasDynamicHelp": false,
|
|
81
|
+
"hiddenAliases": [],
|
|
82
|
+
"id": "ai:usage",
|
|
83
|
+
"pluginAlias": "@memberjunction/cli",
|
|
84
|
+
"pluginName": "@memberjunction/cli",
|
|
85
|
+
"pluginType": "core",
|
|
86
|
+
"strict": true,
|
|
87
|
+
"enableJsonFlag": false,
|
|
88
|
+
"isESM": true,
|
|
89
|
+
"relativePath": [
|
|
90
|
+
"dist",
|
|
91
|
+
"commands",
|
|
92
|
+
"ai",
|
|
93
|
+
"usage.js"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
63
96
|
"app:check-updates": {
|
|
64
97
|
"aliases": [],
|
|
65
98
|
"args": {},
|
|
@@ -390,54 +423,27 @@
|
|
|
390
423
|
"upgrade.js"
|
|
391
424
|
]
|
|
392
425
|
},
|
|
393
|
-
"
|
|
426
|
+
"app:usage": {
|
|
394
427
|
"aliases": [],
|
|
395
428
|
"args": {},
|
|
396
|
-
"description": "
|
|
397
|
-
"examples": [
|
|
398
|
-
"<%= config.bin %> <%= command.id %>",
|
|
399
|
-
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
400
|
-
],
|
|
429
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj app` command.",
|
|
401
430
|
"flags": {
|
|
402
|
-
"
|
|
403
|
-
"description": "
|
|
404
|
-
"name": "
|
|
405
|
-
"hasDynamicHelp": false,
|
|
406
|
-
"multiple": false,
|
|
407
|
-
"type": "option"
|
|
408
|
-
},
|
|
409
|
-
"since": {
|
|
410
|
-
"description": "Scope to artifacts created on/after this ISO date.",
|
|
411
|
-
"name": "since",
|
|
412
|
-
"hasDynamicHelp": false,
|
|
413
|
-
"multiple": false,
|
|
414
|
-
"type": "option"
|
|
415
|
-
},
|
|
416
|
-
"limit": {
|
|
417
|
-
"description": "Maximum number of rows to inspect.",
|
|
418
|
-
"name": "limit",
|
|
419
|
-
"default": 100,
|
|
431
|
+
"format": {
|
|
432
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
433
|
+
"name": "format",
|
|
420
434
|
"hasDynamicHelp": false,
|
|
421
435
|
"multiple": false,
|
|
436
|
+
"options": [
|
|
437
|
+
"text",
|
|
438
|
+
"json",
|
|
439
|
+
"md"
|
|
440
|
+
],
|
|
422
441
|
"type": "option"
|
|
423
|
-
},
|
|
424
|
-
"apply": {
|
|
425
|
-
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
426
|
-
"name": "apply",
|
|
427
|
-
"allowNo": false,
|
|
428
|
-
"type": "boolean"
|
|
429
|
-
},
|
|
430
|
-
"verbose": {
|
|
431
|
-
"char": "v",
|
|
432
|
-
"description": "Print every candidate row, not just the summary.",
|
|
433
|
-
"name": "verbose",
|
|
434
|
-
"allowNo": false,
|
|
435
|
-
"type": "boolean"
|
|
436
442
|
}
|
|
437
443
|
},
|
|
438
444
|
"hasDynamicHelp": false,
|
|
439
445
|
"hiddenAliases": [],
|
|
440
|
-
"id": "
|
|
446
|
+
"id": "app:usage",
|
|
441
447
|
"pluginAlias": "@memberjunction/cli",
|
|
442
448
|
"pluginName": "@memberjunction/cli",
|
|
443
449
|
"pluginType": "core",
|
|
@@ -447,8 +453,8 @@
|
|
|
447
453
|
"relativePath": [
|
|
448
454
|
"dist",
|
|
449
455
|
"commands",
|
|
450
|
-
"
|
|
451
|
-
"
|
|
456
|
+
"app",
|
|
457
|
+
"usage.js"
|
|
452
458
|
]
|
|
453
459
|
},
|
|
454
460
|
"baseline:build": {
|
|
@@ -789,6 +795,135 @@
|
|
|
789
795
|
"roundtrip.js"
|
|
790
796
|
]
|
|
791
797
|
},
|
|
798
|
+
"baseline:usage": {
|
|
799
|
+
"aliases": [],
|
|
800
|
+
"args": {},
|
|
801
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj baseline` command.",
|
|
802
|
+
"flags": {
|
|
803
|
+
"format": {
|
|
804
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
805
|
+
"name": "format",
|
|
806
|
+
"hasDynamicHelp": false,
|
|
807
|
+
"multiple": false,
|
|
808
|
+
"options": [
|
|
809
|
+
"text",
|
|
810
|
+
"json",
|
|
811
|
+
"md"
|
|
812
|
+
],
|
|
813
|
+
"type": "option"
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
"hasDynamicHelp": false,
|
|
817
|
+
"hiddenAliases": [],
|
|
818
|
+
"id": "baseline:usage",
|
|
819
|
+
"pluginAlias": "@memberjunction/cli",
|
|
820
|
+
"pluginName": "@memberjunction/cli",
|
|
821
|
+
"pluginType": "core",
|
|
822
|
+
"strict": true,
|
|
823
|
+
"enableJsonFlag": false,
|
|
824
|
+
"isESM": true,
|
|
825
|
+
"relativePath": [
|
|
826
|
+
"dist",
|
|
827
|
+
"commands",
|
|
828
|
+
"baseline",
|
|
829
|
+
"usage.js"
|
|
830
|
+
]
|
|
831
|
+
},
|
|
832
|
+
"artifacts:reclassify": {
|
|
833
|
+
"aliases": [],
|
|
834
|
+
"args": {},
|
|
835
|
+
"description": "Upgrade-recovery utility for v5.35 artifact unification. Re-evaluates rows whose TypeID is the deleted JSON fallback but whose actual content does not parse as JSON. Normally a no-op: the v5.35 backfill migration handles this automatically. This command is only relevant when the migration ran BEFORE the artifact-type metadata (Generic Text / Generic Binary) was pushed via `mj sync push`, in which case the migration prints a notice telling you to run this. Reports \"no candidates\" once everything is reconciled. Dry-run by default; --apply writes through Record Changes.",
|
|
836
|
+
"examples": [
|
|
837
|
+
"<%= config.bin %> <%= command.id %>",
|
|
838
|
+
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
839
|
+
],
|
|
840
|
+
"flags": {
|
|
841
|
+
"conversation-id": {
|
|
842
|
+
"description": "Scope to artifacts attached to the given conversation.",
|
|
843
|
+
"name": "conversation-id",
|
|
844
|
+
"hasDynamicHelp": false,
|
|
845
|
+
"multiple": false,
|
|
846
|
+
"type": "option"
|
|
847
|
+
},
|
|
848
|
+
"since": {
|
|
849
|
+
"description": "Scope to artifacts created on/after this ISO date.",
|
|
850
|
+
"name": "since",
|
|
851
|
+
"hasDynamicHelp": false,
|
|
852
|
+
"multiple": false,
|
|
853
|
+
"type": "option"
|
|
854
|
+
},
|
|
855
|
+
"limit": {
|
|
856
|
+
"description": "Maximum number of rows to inspect.",
|
|
857
|
+
"name": "limit",
|
|
858
|
+
"default": 100,
|
|
859
|
+
"hasDynamicHelp": false,
|
|
860
|
+
"multiple": false,
|
|
861
|
+
"type": "option"
|
|
862
|
+
},
|
|
863
|
+
"apply": {
|
|
864
|
+
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
865
|
+
"name": "apply",
|
|
866
|
+
"allowNo": false,
|
|
867
|
+
"type": "boolean"
|
|
868
|
+
},
|
|
869
|
+
"verbose": {
|
|
870
|
+
"char": "v",
|
|
871
|
+
"description": "Print every candidate row, not just the summary.",
|
|
872
|
+
"name": "verbose",
|
|
873
|
+
"allowNo": false,
|
|
874
|
+
"type": "boolean"
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
"hasDynamicHelp": false,
|
|
878
|
+
"hiddenAliases": [],
|
|
879
|
+
"id": "artifacts:reclassify",
|
|
880
|
+
"pluginAlias": "@memberjunction/cli",
|
|
881
|
+
"pluginName": "@memberjunction/cli",
|
|
882
|
+
"pluginType": "core",
|
|
883
|
+
"strict": true,
|
|
884
|
+
"enableJsonFlag": false,
|
|
885
|
+
"isESM": true,
|
|
886
|
+
"relativePath": [
|
|
887
|
+
"dist",
|
|
888
|
+
"commands",
|
|
889
|
+
"artifacts",
|
|
890
|
+
"reclassify.js"
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
"artifacts:usage": {
|
|
894
|
+
"aliases": [],
|
|
895
|
+
"args": {},
|
|
896
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj artifacts` command.",
|
|
897
|
+
"flags": {
|
|
898
|
+
"format": {
|
|
899
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
900
|
+
"name": "format",
|
|
901
|
+
"hasDynamicHelp": false,
|
|
902
|
+
"multiple": false,
|
|
903
|
+
"options": [
|
|
904
|
+
"text",
|
|
905
|
+
"json",
|
|
906
|
+
"md"
|
|
907
|
+
],
|
|
908
|
+
"type": "option"
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
"hasDynamicHelp": false,
|
|
912
|
+
"hiddenAliases": [],
|
|
913
|
+
"id": "artifacts:usage",
|
|
914
|
+
"pluginAlias": "@memberjunction/cli",
|
|
915
|
+
"pluginName": "@memberjunction/cli",
|
|
916
|
+
"pluginType": "core",
|
|
917
|
+
"strict": true,
|
|
918
|
+
"enableJsonFlag": false,
|
|
919
|
+
"isESM": true,
|
|
920
|
+
"relativePath": [
|
|
921
|
+
"dist",
|
|
922
|
+
"commands",
|
|
923
|
+
"artifacts",
|
|
924
|
+
"usage.js"
|
|
925
|
+
]
|
|
926
|
+
},
|
|
792
927
|
"bump": {
|
|
793
928
|
"aliases": [],
|
|
794
929
|
"args": {},
|
|
@@ -861,6 +996,40 @@
|
|
|
861
996
|
"index.js"
|
|
862
997
|
]
|
|
863
998
|
},
|
|
999
|
+
"bump:usage": {
|
|
1000
|
+
"aliases": [],
|
|
1001
|
+
"args": {},
|
|
1002
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj bump` command.",
|
|
1003
|
+
"flags": {
|
|
1004
|
+
"format": {
|
|
1005
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
1006
|
+
"name": "format",
|
|
1007
|
+
"hasDynamicHelp": false,
|
|
1008
|
+
"multiple": false,
|
|
1009
|
+
"options": [
|
|
1010
|
+
"text",
|
|
1011
|
+
"json",
|
|
1012
|
+
"md"
|
|
1013
|
+
],
|
|
1014
|
+
"type": "option"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
"hasDynamicHelp": false,
|
|
1018
|
+
"hiddenAliases": [],
|
|
1019
|
+
"id": "bump:usage",
|
|
1020
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1021
|
+
"pluginName": "@memberjunction/cli",
|
|
1022
|
+
"pluginType": "core",
|
|
1023
|
+
"strict": true,
|
|
1024
|
+
"enableJsonFlag": false,
|
|
1025
|
+
"isESM": true,
|
|
1026
|
+
"relativePath": [
|
|
1027
|
+
"dist",
|
|
1028
|
+
"commands",
|
|
1029
|
+
"bump",
|
|
1030
|
+
"usage.js"
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
864
1033
|
"bundle": {
|
|
865
1034
|
"aliases": [],
|
|
866
1035
|
"args": {},
|
|
@@ -947,25 +1116,27 @@
|
|
|
947
1116
|
"index.js"
|
|
948
1117
|
]
|
|
949
1118
|
},
|
|
950
|
-
"
|
|
1119
|
+
"bundle:usage": {
|
|
951
1120
|
"aliases": [],
|
|
952
1121
|
"args": {},
|
|
953
|
-
"description": "
|
|
954
|
-
"examples": [
|
|
955
|
-
"<%= config.bin %> <%= command.id %>\n"
|
|
956
|
-
],
|
|
1122
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj bundle` command.",
|
|
957
1123
|
"flags": {
|
|
958
|
-
"
|
|
959
|
-
"
|
|
960
|
-
"
|
|
961
|
-
"
|
|
962
|
-
"
|
|
963
|
-
"
|
|
1124
|
+
"format": {
|
|
1125
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
1126
|
+
"name": "format",
|
|
1127
|
+
"hasDynamicHelp": false,
|
|
1128
|
+
"multiple": false,
|
|
1129
|
+
"options": [
|
|
1130
|
+
"text",
|
|
1131
|
+
"json",
|
|
1132
|
+
"md"
|
|
1133
|
+
],
|
|
1134
|
+
"type": "option"
|
|
964
1135
|
}
|
|
965
1136
|
},
|
|
966
1137
|
"hasDynamicHelp": false,
|
|
967
1138
|
"hiddenAliases": [],
|
|
968
|
-
"id": "
|
|
1139
|
+
"id": "bundle:usage",
|
|
969
1140
|
"pluginAlias": "@memberjunction/cli",
|
|
970
1141
|
"pluginName": "@memberjunction/cli",
|
|
971
1142
|
"pluginType": "core",
|
|
@@ -975,8 +1146,74 @@
|
|
|
975
1146
|
"relativePath": [
|
|
976
1147
|
"dist",
|
|
977
1148
|
"commands",
|
|
978
|
-
"
|
|
979
|
-
"
|
|
1149
|
+
"bundle",
|
|
1150
|
+
"usage.js"
|
|
1151
|
+
]
|
|
1152
|
+
},
|
|
1153
|
+
"clean": {
|
|
1154
|
+
"aliases": [],
|
|
1155
|
+
"args": {},
|
|
1156
|
+
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
1157
|
+
"examples": [
|
|
1158
|
+
"<%= config.bin %> <%= command.id %>\n"
|
|
1159
|
+
],
|
|
1160
|
+
"flags": {
|
|
1161
|
+
"verbose": {
|
|
1162
|
+
"char": "v",
|
|
1163
|
+
"description": "Enable additional logging",
|
|
1164
|
+
"name": "verbose",
|
|
1165
|
+
"allowNo": false,
|
|
1166
|
+
"type": "boolean"
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
"hasDynamicHelp": false,
|
|
1170
|
+
"hiddenAliases": [],
|
|
1171
|
+
"id": "clean",
|
|
1172
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1173
|
+
"pluginName": "@memberjunction/cli",
|
|
1174
|
+
"pluginType": "core",
|
|
1175
|
+
"strict": true,
|
|
1176
|
+
"enableJsonFlag": false,
|
|
1177
|
+
"isESM": true,
|
|
1178
|
+
"relativePath": [
|
|
1179
|
+
"dist",
|
|
1180
|
+
"commands",
|
|
1181
|
+
"clean",
|
|
1182
|
+
"index.js"
|
|
1183
|
+
]
|
|
1184
|
+
},
|
|
1185
|
+
"clean:usage": {
|
|
1186
|
+
"aliases": [],
|
|
1187
|
+
"args": {},
|
|
1188
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj clean` command.",
|
|
1189
|
+
"flags": {
|
|
1190
|
+
"format": {
|
|
1191
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
1192
|
+
"name": "format",
|
|
1193
|
+
"hasDynamicHelp": false,
|
|
1194
|
+
"multiple": false,
|
|
1195
|
+
"options": [
|
|
1196
|
+
"text",
|
|
1197
|
+
"json",
|
|
1198
|
+
"md"
|
|
1199
|
+
],
|
|
1200
|
+
"type": "option"
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
"hasDynamicHelp": false,
|
|
1204
|
+
"hiddenAliases": [],
|
|
1205
|
+
"id": "clean:usage",
|
|
1206
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1207
|
+
"pluginName": "@memberjunction/cli",
|
|
1208
|
+
"pluginType": "core",
|
|
1209
|
+
"strict": true,
|
|
1210
|
+
"enableJsonFlag": false,
|
|
1211
|
+
"isESM": true,
|
|
1212
|
+
"relativePath": [
|
|
1213
|
+
"dist",
|
|
1214
|
+
"commands",
|
|
1215
|
+
"clean",
|
|
1216
|
+
"usage.js"
|
|
980
1217
|
]
|
|
981
1218
|
},
|
|
982
1219
|
"codegen:5-0-fix-entity-names": {
|
|
@@ -1224,15 +1461,17 @@
|
|
|
1224
1461
|
],
|
|
1225
1462
|
"flags": {
|
|
1226
1463
|
"format": {
|
|
1227
|
-
"description": "Output format: text (human), json (machine-readable), md (Markdown-fenced)",
|
|
1464
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown-fenced). Defaults to text on a terminal and json when stdout is piped.",
|
|
1228
1465
|
"name": "format",
|
|
1229
|
-
"default": "text",
|
|
1230
1466
|
"hasDynamicHelp": false,
|
|
1231
1467
|
"multiple": false,
|
|
1232
1468
|
"options": [
|
|
1233
1469
|
"text",
|
|
1234
1470
|
"json",
|
|
1235
|
-
"md"
|
|
1471
|
+
"md",
|
|
1472
|
+
"human",
|
|
1473
|
+
"console",
|
|
1474
|
+
"markdown"
|
|
1236
1475
|
],
|
|
1237
1476
|
"type": "option"
|
|
1238
1477
|
},
|
|
@@ -1249,6 +1488,12 @@
|
|
|
1249
1488
|
"allowNo": false,
|
|
1250
1489
|
"type": "boolean"
|
|
1251
1490
|
},
|
|
1491
|
+
"interactive": {
|
|
1492
|
+
"description": "Allow interactive prompts. Defaults to on at a terminal and off when piped, spawned, or in CI, so an agent never hangs on a question. Use --no-interactive to force it off.",
|
|
1493
|
+
"name": "interactive",
|
|
1494
|
+
"allowNo": true,
|
|
1495
|
+
"type": "boolean"
|
|
1496
|
+
},
|
|
1252
1497
|
"skipdb": {
|
|
1253
1498
|
"description": "Skip database operations. Only regenerate TypeScript entities, Angular components, and GraphQL resolvers from existing metadata.",
|
|
1254
1499
|
"name": "skipdb",
|
|
@@ -1454,9 +1699,8 @@
|
|
|
1454
1699
|
"description": "Show usage, flags, examples, and runtime hints for `mj codegen`.",
|
|
1455
1700
|
"flags": {
|
|
1456
1701
|
"format": {
|
|
1457
|
-
"description": "Output format",
|
|
1702
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
1458
1703
|
"name": "format",
|
|
1459
|
-
"default": "text",
|
|
1460
1704
|
"hasDynamicHelp": false,
|
|
1461
1705
|
"multiple": false,
|
|
1462
1706
|
"options": [
|
|
@@ -1920,6 +2164,40 @@
|
|
|
1920
2164
|
"status.js"
|
|
1921
2165
|
]
|
|
1922
2166
|
},
|
|
2167
|
+
"dbdoc:usage": {
|
|
2168
|
+
"aliases": [],
|
|
2169
|
+
"args": {},
|
|
2170
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj dbdoc` command.",
|
|
2171
|
+
"flags": {
|
|
2172
|
+
"format": {
|
|
2173
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2174
|
+
"name": "format",
|
|
2175
|
+
"hasDynamicHelp": false,
|
|
2176
|
+
"multiple": false,
|
|
2177
|
+
"options": [
|
|
2178
|
+
"text",
|
|
2179
|
+
"json",
|
|
2180
|
+
"md"
|
|
2181
|
+
],
|
|
2182
|
+
"type": "option"
|
|
2183
|
+
}
|
|
2184
|
+
},
|
|
2185
|
+
"hasDynamicHelp": false,
|
|
2186
|
+
"hiddenAliases": [],
|
|
2187
|
+
"id": "dbdoc:usage",
|
|
2188
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2189
|
+
"pluginName": "@memberjunction/cli",
|
|
2190
|
+
"pluginType": "core",
|
|
2191
|
+
"strict": true,
|
|
2192
|
+
"enableJsonFlag": false,
|
|
2193
|
+
"isESM": true,
|
|
2194
|
+
"relativePath": [
|
|
2195
|
+
"dist",
|
|
2196
|
+
"commands",
|
|
2197
|
+
"dbdoc",
|
|
2198
|
+
"usage.js"
|
|
2199
|
+
]
|
|
2200
|
+
},
|
|
1923
2201
|
"dev": {
|
|
1924
2202
|
"aliases": [],
|
|
1925
2203
|
"args": {},
|
|
@@ -1948,9 +2226,8 @@
|
|
|
1948
2226
|
"description": "Show usage, flags, examples, and runtime hints for every `mj dev` command.",
|
|
1949
2227
|
"flags": {
|
|
1950
2228
|
"format": {
|
|
1951
|
-
"description": "Output format",
|
|
2229
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
1952
2230
|
"name": "format",
|
|
1953
|
-
"default": "text",
|
|
1954
2231
|
"hasDynamicHelp": false,
|
|
1955
2232
|
"multiple": false,
|
|
1956
2233
|
"options": [
|
|
@@ -2034,6 +2311,40 @@
|
|
|
2034
2311
|
"index.js"
|
|
2035
2312
|
]
|
|
2036
2313
|
},
|
|
2314
|
+
"doctor:usage": {
|
|
2315
|
+
"aliases": [],
|
|
2316
|
+
"args": {},
|
|
2317
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj doctor` command.",
|
|
2318
|
+
"flags": {
|
|
2319
|
+
"format": {
|
|
2320
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2321
|
+
"name": "format",
|
|
2322
|
+
"hasDynamicHelp": false,
|
|
2323
|
+
"multiple": false,
|
|
2324
|
+
"options": [
|
|
2325
|
+
"text",
|
|
2326
|
+
"json",
|
|
2327
|
+
"md"
|
|
2328
|
+
],
|
|
2329
|
+
"type": "option"
|
|
2330
|
+
}
|
|
2331
|
+
},
|
|
2332
|
+
"hasDynamicHelp": false,
|
|
2333
|
+
"hiddenAliases": [],
|
|
2334
|
+
"id": "doctor:usage",
|
|
2335
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2336
|
+
"pluginName": "@memberjunction/cli",
|
|
2337
|
+
"pluginType": "core",
|
|
2338
|
+
"strict": true,
|
|
2339
|
+
"enableJsonFlag": false,
|
|
2340
|
+
"isESM": true,
|
|
2341
|
+
"relativePath": [
|
|
2342
|
+
"dist",
|
|
2343
|
+
"commands",
|
|
2344
|
+
"doctor",
|
|
2345
|
+
"usage.js"
|
|
2346
|
+
]
|
|
2347
|
+
},
|
|
2037
2348
|
"install:claude": {
|
|
2038
2349
|
"aliases": [],
|
|
2039
2350
|
"args": {},
|
|
@@ -2268,6 +2579,118 @@
|
|
|
2268
2579
|
"index.js"
|
|
2269
2580
|
]
|
|
2270
2581
|
},
|
|
2582
|
+
"install:usage": {
|
|
2583
|
+
"aliases": [],
|
|
2584
|
+
"args": {},
|
|
2585
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj install` command.",
|
|
2586
|
+
"flags": {
|
|
2587
|
+
"format": {
|
|
2588
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2589
|
+
"name": "format",
|
|
2590
|
+
"hasDynamicHelp": false,
|
|
2591
|
+
"multiple": false,
|
|
2592
|
+
"options": [
|
|
2593
|
+
"text",
|
|
2594
|
+
"json",
|
|
2595
|
+
"md"
|
|
2596
|
+
],
|
|
2597
|
+
"type": "option"
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
"hasDynamicHelp": false,
|
|
2601
|
+
"hiddenAliases": [],
|
|
2602
|
+
"id": "install:usage",
|
|
2603
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2604
|
+
"pluginName": "@memberjunction/cli",
|
|
2605
|
+
"pluginType": "core",
|
|
2606
|
+
"strict": true,
|
|
2607
|
+
"enableJsonFlag": false,
|
|
2608
|
+
"isESM": true,
|
|
2609
|
+
"relativePath": [
|
|
2610
|
+
"dist",
|
|
2611
|
+
"commands",
|
|
2612
|
+
"install",
|
|
2613
|
+
"usage.js"
|
|
2614
|
+
]
|
|
2615
|
+
},
|
|
2616
|
+
"plugin:add": {
|
|
2617
|
+
"aliases": [],
|
|
2618
|
+
"args": {
|
|
2619
|
+
"package": {
|
|
2620
|
+
"description": "Plugin entry-point specifier (package name, subpath, or relative path)",
|
|
2621
|
+
"name": "package",
|
|
2622
|
+
"required": true
|
|
2623
|
+
}
|
|
2624
|
+
},
|
|
2625
|
+
"description": "Register a CLI plugin package in mj-cli-plugins.json so `mj` loads it at startup.",
|
|
2626
|
+
"examples": [
|
|
2627
|
+
"<%= config.bin %> <%= command.id %> @my-org/mj-plugin/plugins",
|
|
2628
|
+
"<%= config.bin %> <%= command.id %> ./local-plugins/my-tool"
|
|
2629
|
+
],
|
|
2630
|
+
"flags": {
|
|
2631
|
+
"format": {
|
|
2632
|
+
"description": "Output format",
|
|
2633
|
+
"name": "format",
|
|
2634
|
+
"default": "text",
|
|
2635
|
+
"hasDynamicHelp": false,
|
|
2636
|
+
"multiple": false,
|
|
2637
|
+
"options": [
|
|
2638
|
+
"text",
|
|
2639
|
+
"json"
|
|
2640
|
+
],
|
|
2641
|
+
"type": "option"
|
|
2642
|
+
}
|
|
2643
|
+
},
|
|
2644
|
+
"hasDynamicHelp": false,
|
|
2645
|
+
"hiddenAliases": [],
|
|
2646
|
+
"id": "plugin:add",
|
|
2647
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2648
|
+
"pluginName": "@memberjunction/cli",
|
|
2649
|
+
"pluginType": "core",
|
|
2650
|
+
"strict": true,
|
|
2651
|
+
"enableJsonFlag": false,
|
|
2652
|
+
"isESM": true,
|
|
2653
|
+
"relativePath": [
|
|
2654
|
+
"dist",
|
|
2655
|
+
"commands",
|
|
2656
|
+
"plugin",
|
|
2657
|
+
"add.js"
|
|
2658
|
+
]
|
|
2659
|
+
},
|
|
2660
|
+
"plugin:usage": {
|
|
2661
|
+
"aliases": [],
|
|
2662
|
+
"args": {},
|
|
2663
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj plugin` command.",
|
|
2664
|
+
"flags": {
|
|
2665
|
+
"format": {
|
|
2666
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2667
|
+
"name": "format",
|
|
2668
|
+
"hasDynamicHelp": false,
|
|
2669
|
+
"multiple": false,
|
|
2670
|
+
"options": [
|
|
2671
|
+
"text",
|
|
2672
|
+
"json",
|
|
2673
|
+
"md"
|
|
2674
|
+
],
|
|
2675
|
+
"type": "option"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
"hasDynamicHelp": false,
|
|
2679
|
+
"hiddenAliases": [],
|
|
2680
|
+
"id": "plugin:usage",
|
|
2681
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2682
|
+
"pluginName": "@memberjunction/cli",
|
|
2683
|
+
"pluginType": "core",
|
|
2684
|
+
"strict": true,
|
|
2685
|
+
"enableJsonFlag": false,
|
|
2686
|
+
"isESM": true,
|
|
2687
|
+
"relativePath": [
|
|
2688
|
+
"dist",
|
|
2689
|
+
"commands",
|
|
2690
|
+
"plugin",
|
|
2691
|
+
"usage.js"
|
|
2692
|
+
]
|
|
2693
|
+
},
|
|
2271
2694
|
"migrate:convert": {
|
|
2272
2695
|
"aliases": [],
|
|
2273
2696
|
"args": {},
|
|
@@ -2311,6 +2734,14 @@
|
|
|
2311
2734
|
"multiple": false,
|
|
2312
2735
|
"type": "option"
|
|
2313
2736
|
},
|
|
2737
|
+
"core-schema": {
|
|
2738
|
+
"description": "MJ core schema substituted for ${mjSchema} (default __mj). Distinct from --schema, which is the app's OWN schema: an Open App migration references core as ${mjSchema} and itself as ${flyway:defaultSchema}, and for every app those differ.",
|
|
2739
|
+
"name": "core-schema",
|
|
2740
|
+
"default": "__mj",
|
|
2741
|
+
"hasDynamicHelp": false,
|
|
2742
|
+
"multiple": false,
|
|
2743
|
+
"type": "option"
|
|
2744
|
+
},
|
|
2314
2745
|
"dry-run": {
|
|
2315
2746
|
"description": "Show what would be converted without writing files",
|
|
2316
2747
|
"name": "dry-run",
|
|
@@ -2527,6 +2958,14 @@
|
|
|
2527
2958
|
"multiple": false,
|
|
2528
2959
|
"type": "option"
|
|
2529
2960
|
},
|
|
2961
|
+
"core-schema": {
|
|
2962
|
+
"description": "MJ core schema substituted for ${mjSchema} (default __mj). Distinct from --schema, which is the app's OWN schema: an Open App migration references core as ${mjSchema} and itself as ${flyway:defaultSchema}, and for every app those differ.",
|
|
2963
|
+
"name": "core-schema",
|
|
2964
|
+
"default": "__mj",
|
|
2965
|
+
"hasDynamicHelp": false,
|
|
2966
|
+
"multiple": false,
|
|
2967
|
+
"type": "option"
|
|
2968
|
+
},
|
|
2530
2969
|
"baseline-floor": {
|
|
2531
2970
|
"description": "Re-bake migrations strictly AFTER this version key (default: the latest B* in output-dir)",
|
|
2532
2971
|
"name": "baseline-floor",
|
|
@@ -2557,37 +2996,27 @@
|
|
|
2557
2996
|
"rebake.js"
|
|
2558
2997
|
]
|
|
2559
2998
|
},
|
|
2560
|
-
"
|
|
2999
|
+
"migrate:usage": {
|
|
2561
3000
|
"aliases": [],
|
|
2562
|
-
"args": {
|
|
2563
|
-
|
|
2564
|
-
"description": "Plugin entry-point specifier (package name, subpath, or relative path)",
|
|
2565
|
-
"name": "package",
|
|
2566
|
-
"required": true
|
|
2567
|
-
}
|
|
2568
|
-
},
|
|
2569
|
-
"description": "Register a CLI plugin package in mj-cli-plugins.json so `mj` loads it at startup.",
|
|
2570
|
-
"examples": [
|
|
2571
|
-
"<%= config.bin %> <%= command.id %> @my-org/mj-plugin/plugins",
|
|
2572
|
-
"<%= config.bin %> <%= command.id %> ./local-plugins/my-tool"
|
|
2573
|
-
],
|
|
3001
|
+
"args": {},
|
|
3002
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj migrate` command.",
|
|
2574
3003
|
"flags": {
|
|
2575
3004
|
"format": {
|
|
2576
|
-
"description": "Output format",
|
|
3005
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2577
3006
|
"name": "format",
|
|
2578
|
-
"default": "text",
|
|
2579
3007
|
"hasDynamicHelp": false,
|
|
2580
3008
|
"multiple": false,
|
|
2581
3009
|
"options": [
|
|
2582
3010
|
"text",
|
|
2583
|
-
"json"
|
|
3011
|
+
"json",
|
|
3012
|
+
"md"
|
|
2584
3013
|
],
|
|
2585
3014
|
"type": "option"
|
|
2586
3015
|
}
|
|
2587
3016
|
},
|
|
2588
3017
|
"hasDynamicHelp": false,
|
|
2589
3018
|
"hiddenAliases": [],
|
|
2590
|
-
"id": "
|
|
3019
|
+
"id": "migrate:usage",
|
|
2591
3020
|
"pluginAlias": "@memberjunction/cli",
|
|
2592
3021
|
"pluginName": "@memberjunction/cli",
|
|
2593
3022
|
"pluginType": "core",
|
|
@@ -2597,8 +3026,8 @@
|
|
|
2597
3026
|
"relativePath": [
|
|
2598
3027
|
"dist",
|
|
2599
3028
|
"commands",
|
|
2600
|
-
"
|
|
2601
|
-
"
|
|
3029
|
+
"migrate",
|
|
3030
|
+
"usage.js"
|
|
2602
3031
|
]
|
|
2603
3032
|
},
|
|
2604
3033
|
"querygen:export": {
|
|
@@ -2773,6 +3202,40 @@
|
|
|
2773
3202
|
"generate.js"
|
|
2774
3203
|
]
|
|
2775
3204
|
},
|
|
3205
|
+
"querygen:usage": {
|
|
3206
|
+
"aliases": [],
|
|
3207
|
+
"args": {},
|
|
3208
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj querygen` command.",
|
|
3209
|
+
"flags": {
|
|
3210
|
+
"format": {
|
|
3211
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3212
|
+
"name": "format",
|
|
3213
|
+
"hasDynamicHelp": false,
|
|
3214
|
+
"multiple": false,
|
|
3215
|
+
"options": [
|
|
3216
|
+
"text",
|
|
3217
|
+
"json",
|
|
3218
|
+
"md"
|
|
3219
|
+
],
|
|
3220
|
+
"type": "option"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
"hasDynamicHelp": false,
|
|
3224
|
+
"hiddenAliases": [],
|
|
3225
|
+
"id": "querygen:usage",
|
|
3226
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3227
|
+
"pluginName": "@memberjunction/cli",
|
|
3228
|
+
"pluginType": "core",
|
|
3229
|
+
"strict": true,
|
|
3230
|
+
"enableJsonFlag": false,
|
|
3231
|
+
"isESM": true,
|
|
3232
|
+
"relativePath": [
|
|
3233
|
+
"dist",
|
|
3234
|
+
"commands",
|
|
3235
|
+
"querygen",
|
|
3236
|
+
"usage.js"
|
|
3237
|
+
]
|
|
3238
|
+
},
|
|
2776
3239
|
"querygen:validate": {
|
|
2777
3240
|
"aliases": [],
|
|
2778
3241
|
"args": {},
|
|
@@ -2883,6 +3346,40 @@
|
|
|
2883
3346
|
"index.js"
|
|
2884
3347
|
]
|
|
2885
3348
|
},
|
|
3349
|
+
"sql-audit:usage": {
|
|
3350
|
+
"aliases": [],
|
|
3351
|
+
"args": {},
|
|
3352
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj sql-audit` command.",
|
|
3353
|
+
"flags": {
|
|
3354
|
+
"format": {
|
|
3355
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3356
|
+
"name": "format",
|
|
3357
|
+
"hasDynamicHelp": false,
|
|
3358
|
+
"multiple": false,
|
|
3359
|
+
"options": [
|
|
3360
|
+
"text",
|
|
3361
|
+
"json",
|
|
3362
|
+
"md"
|
|
3363
|
+
],
|
|
3364
|
+
"type": "option"
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
"hasDynamicHelp": false,
|
|
3368
|
+
"hiddenAliases": [],
|
|
3369
|
+
"id": "sql-audit:usage",
|
|
3370
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3371
|
+
"pluginName": "@memberjunction/cli",
|
|
3372
|
+
"pluginType": "core",
|
|
3373
|
+
"strict": true,
|
|
3374
|
+
"enableJsonFlag": false,
|
|
3375
|
+
"isESM": true,
|
|
3376
|
+
"relativePath": [
|
|
3377
|
+
"dist",
|
|
3378
|
+
"commands",
|
|
3379
|
+
"sql-audit",
|
|
3380
|
+
"usage.js"
|
|
3381
|
+
]
|
|
3382
|
+
},
|
|
2886
3383
|
"sql-convert": {
|
|
2887
3384
|
"aliases": [],
|
|
2888
3385
|
"args": {
|
|
@@ -2968,6 +3465,40 @@
|
|
|
2968
3465
|
"index.js"
|
|
2969
3466
|
]
|
|
2970
3467
|
},
|
|
3468
|
+
"sql-convert:usage": {
|
|
3469
|
+
"aliases": [],
|
|
3470
|
+
"args": {},
|
|
3471
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj sql-convert` command.",
|
|
3472
|
+
"flags": {
|
|
3473
|
+
"format": {
|
|
3474
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3475
|
+
"name": "format",
|
|
3476
|
+
"hasDynamicHelp": false,
|
|
3477
|
+
"multiple": false,
|
|
3478
|
+
"options": [
|
|
3479
|
+
"text",
|
|
3480
|
+
"json",
|
|
3481
|
+
"md"
|
|
3482
|
+
],
|
|
3483
|
+
"type": "option"
|
|
3484
|
+
}
|
|
3485
|
+
},
|
|
3486
|
+
"hasDynamicHelp": false,
|
|
3487
|
+
"hiddenAliases": [],
|
|
3488
|
+
"id": "sql-convert:usage",
|
|
3489
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3490
|
+
"pluginName": "@memberjunction/cli",
|
|
3491
|
+
"pluginType": "core",
|
|
3492
|
+
"strict": true,
|
|
3493
|
+
"enableJsonFlag": false,
|
|
3494
|
+
"isESM": true,
|
|
3495
|
+
"relativePath": [
|
|
3496
|
+
"dist",
|
|
3497
|
+
"commands",
|
|
3498
|
+
"sql-convert",
|
|
3499
|
+
"usage.js"
|
|
3500
|
+
]
|
|
3501
|
+
},
|
|
2971
3502
|
"standards:adopt": {
|
|
2972
3503
|
"aliases": [],
|
|
2973
3504
|
"args": {},
|
|
@@ -3156,60 +3687,144 @@
|
|
|
3156
3687
|
"list.js"
|
|
3157
3688
|
]
|
|
3158
3689
|
},
|
|
3159
|
-
"
|
|
3690
|
+
"standards:usage": {
|
|
3160
3691
|
"aliases": [],
|
|
3161
3692
|
"args": {},
|
|
3162
|
-
"description": "
|
|
3693
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj standards` command.",
|
|
3694
|
+
"flags": {
|
|
3695
|
+
"format": {
|
|
3696
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3697
|
+
"name": "format",
|
|
3698
|
+
"hasDynamicHelp": false,
|
|
3699
|
+
"multiple": false,
|
|
3700
|
+
"options": [
|
|
3701
|
+
"text",
|
|
3702
|
+
"json",
|
|
3703
|
+
"md"
|
|
3704
|
+
],
|
|
3705
|
+
"type": "option"
|
|
3706
|
+
}
|
|
3707
|
+
},
|
|
3708
|
+
"hasDynamicHelp": false,
|
|
3709
|
+
"hiddenAliases": [],
|
|
3710
|
+
"id": "standards:usage",
|
|
3711
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3712
|
+
"pluginName": "@memberjunction/cli",
|
|
3713
|
+
"pluginType": "core",
|
|
3714
|
+
"strict": true,
|
|
3715
|
+
"enableJsonFlag": false,
|
|
3716
|
+
"isESM": true,
|
|
3717
|
+
"relativePath": [
|
|
3718
|
+
"dist",
|
|
3719
|
+
"commands",
|
|
3720
|
+
"standards",
|
|
3721
|
+
"usage.js"
|
|
3722
|
+
]
|
|
3723
|
+
},
|
|
3724
|
+
"test:compare": {
|
|
3725
|
+
"aliases": [],
|
|
3726
|
+
"args": {
|
|
3727
|
+
"runId1": {
|
|
3728
|
+
"description": "First test run ID to compare",
|
|
3729
|
+
"name": "runId1",
|
|
3730
|
+
"required": false
|
|
3731
|
+
},
|
|
3732
|
+
"runId2": {
|
|
3733
|
+
"description": "Second test run ID to compare",
|
|
3734
|
+
"name": "runId2",
|
|
3735
|
+
"required": false
|
|
3736
|
+
}
|
|
3737
|
+
},
|
|
3738
|
+
"description": "Compare test runs for regression detection",
|
|
3163
3739
|
"examples": [
|
|
3164
3740
|
"<%= config.bin %> <%= command.id %>",
|
|
3165
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3166
|
-
"<%= config.bin %> <%= command.id %>
|
|
3167
|
-
"<%= config.bin %> <%= command.id %>
|
|
3741
|
+
"<%= config.bin %> <%= command.id %> --latest",
|
|
3742
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
3743
|
+
"<%= config.bin %> <%= command.id %> -v 5.17.0 -v 5.18.0",
|
|
3744
|
+
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
3745
|
+
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
3746
|
+
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
3168
3747
|
],
|
|
3169
3748
|
"flags": {
|
|
3170
|
-
"
|
|
3171
|
-
"
|
|
3172
|
-
"
|
|
3749
|
+
"version": {
|
|
3750
|
+
"char": "v",
|
|
3751
|
+
"description": "Compare runs by version",
|
|
3752
|
+
"name": "version",
|
|
3173
3753
|
"hasDynamicHelp": false,
|
|
3174
|
-
"multiple":
|
|
3754
|
+
"multiple": true,
|
|
3175
3755
|
"type": "option"
|
|
3176
3756
|
},
|
|
3177
|
-
"
|
|
3178
|
-
"
|
|
3179
|
-
"
|
|
3757
|
+
"commit": {
|
|
3758
|
+
"char": "c",
|
|
3759
|
+
"description": "Compare runs by git commit",
|
|
3760
|
+
"name": "commit",
|
|
3180
3761
|
"hasDynamicHelp": false,
|
|
3181
|
-
"multiple":
|
|
3762
|
+
"multiple": true,
|
|
3182
3763
|
"type": "option"
|
|
3183
3764
|
},
|
|
3184
|
-
"
|
|
3185
|
-
"description": "
|
|
3186
|
-
"name": "
|
|
3765
|
+
"diff-only": {
|
|
3766
|
+
"description": "Show only differences",
|
|
3767
|
+
"name": "diff-only",
|
|
3187
3768
|
"allowNo": false,
|
|
3188
3769
|
"type": "boolean"
|
|
3189
3770
|
},
|
|
3190
|
-
"
|
|
3191
|
-
"
|
|
3192
|
-
"
|
|
3771
|
+
"latest": {
|
|
3772
|
+
"char": "l",
|
|
3773
|
+
"description": "Compare the two most recent completed suite runs",
|
|
3774
|
+
"name": "latest",
|
|
3193
3775
|
"allowNo": false,
|
|
3194
3776
|
"type": "boolean"
|
|
3195
3777
|
},
|
|
3196
|
-
"
|
|
3197
|
-
"description": "
|
|
3198
|
-
"name": "
|
|
3199
|
-
"
|
|
3200
|
-
"
|
|
3778
|
+
"from-json": {
|
|
3779
|
+
"description": "Compare two results.json files directly (no DB). Pass twice: --from-json PREV --from-json CURR",
|
|
3780
|
+
"name": "from-json",
|
|
3781
|
+
"hasDynamicHelp": false,
|
|
3782
|
+
"multiple": true,
|
|
3783
|
+
"type": "option"
|
|
3784
|
+
},
|
|
3785
|
+
"format": {
|
|
3786
|
+
"char": "f",
|
|
3787
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
3788
|
+
"name": "format",
|
|
3789
|
+
"hasDynamicHelp": false,
|
|
3790
|
+
"multiple": false,
|
|
3791
|
+
"options": [
|
|
3792
|
+
"text",
|
|
3793
|
+
"json",
|
|
3794
|
+
"md",
|
|
3795
|
+
"human",
|
|
3796
|
+
"console",
|
|
3797
|
+
"markdown",
|
|
3798
|
+
"compact",
|
|
3799
|
+
"table"
|
|
3800
|
+
],
|
|
3801
|
+
"type": "option"
|
|
3802
|
+
},
|
|
3803
|
+
"output": {
|
|
3804
|
+
"char": "o",
|
|
3805
|
+
"description": "Output file path",
|
|
3806
|
+
"name": "output",
|
|
3807
|
+
"hasDynamicHelp": false,
|
|
3808
|
+
"multiple": false,
|
|
3809
|
+
"type": "option"
|
|
3201
3810
|
},
|
|
3202
3811
|
"verbose": {
|
|
3203
|
-
"
|
|
3204
|
-
"description": "Show detailed output",
|
|
3812
|
+
"description": "Show detailed information",
|
|
3205
3813
|
"name": "verbose",
|
|
3206
3814
|
"allowNo": false,
|
|
3207
3815
|
"type": "boolean"
|
|
3816
|
+
},
|
|
3817
|
+
"tag": {
|
|
3818
|
+
"description": "Filter suite runs by tag (matches against MJTestSuiteRunEntity.Tags). Useful for isolating runs from a specific source environment in an archive MJ. DB mode only — --from-json ignores this flag.",
|
|
3819
|
+
"name": "tag",
|
|
3820
|
+
"hasDynamicHelp": false,
|
|
3821
|
+
"multiple": false,
|
|
3822
|
+
"type": "option"
|
|
3208
3823
|
}
|
|
3209
3824
|
},
|
|
3210
3825
|
"hasDynamicHelp": false,
|
|
3211
3826
|
"hiddenAliases": [],
|
|
3212
|
-
"id": "
|
|
3827
|
+
"id": "test:compare",
|
|
3213
3828
|
"pluginAlias": "@memberjunction/cli",
|
|
3214
3829
|
"pluginName": "@memberjunction/cli",
|
|
3215
3830
|
"pluginType": "core",
|
|
@@ -3219,443 +3834,564 @@
|
|
|
3219
3834
|
"relativePath": [
|
|
3220
3835
|
"dist",
|
|
3221
3836
|
"commands",
|
|
3222
|
-
"
|
|
3223
|
-
"
|
|
3837
|
+
"test",
|
|
3838
|
+
"compare.js"
|
|
3224
3839
|
]
|
|
3225
3840
|
},
|
|
3226
|
-
"
|
|
3841
|
+
"test:history": {
|
|
3227
3842
|
"aliases": [],
|
|
3228
3843
|
"args": {},
|
|
3229
|
-
"description": "
|
|
3844
|
+
"description": "View test execution history",
|
|
3230
3845
|
"examples": [
|
|
3231
|
-
"<%= config.bin %> <%= command.id %>"
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
"id": "sync:init",
|
|
3237
|
-
"pluginAlias": "@memberjunction/cli",
|
|
3238
|
-
"pluginName": "@memberjunction/cli",
|
|
3239
|
-
"pluginType": "core",
|
|
3240
|
-
"strict": true,
|
|
3241
|
-
"enableJsonFlag": false,
|
|
3242
|
-
"isESM": true,
|
|
3243
|
-
"relativePath": [
|
|
3244
|
-
"dist",
|
|
3245
|
-
"commands",
|
|
3246
|
-
"sync",
|
|
3247
|
-
"init.js"
|
|
3248
|
-
]
|
|
3249
|
-
},
|
|
3250
|
-
"sync:pull": {
|
|
3251
|
-
"aliases": [],
|
|
3252
|
-
"args": {},
|
|
3253
|
-
"description": "Pull metadata from database to local files",
|
|
3254
|
-
"examples": [
|
|
3255
|
-
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\"",
|
|
3256
|
-
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Agents\" --merge-strategy=overwrite",
|
|
3257
|
-
"<%= config.bin %> <%= command.id %> --entity=\"Templates\" --dry-run --verbose"
|
|
3846
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3847
|
+
"<%= config.bin %> <%= command.id %> --test=<test-id>",
|
|
3848
|
+
"<%= config.bin %> <%= command.id %> --suite=<suite-id>",
|
|
3849
|
+
"<%= config.bin %> <%= command.id %> --since=\"2024-01-01\"",
|
|
3850
|
+
"<%= config.bin %> <%= command.id %> --limit=50"
|
|
3258
3851
|
],
|
|
3259
3852
|
"flags": {
|
|
3260
|
-
"
|
|
3261
|
-
"
|
|
3262
|
-
"
|
|
3263
|
-
"
|
|
3853
|
+
"test": {
|
|
3854
|
+
"char": "t",
|
|
3855
|
+
"description": "Filter by test ID",
|
|
3856
|
+
"name": "test",
|
|
3264
3857
|
"hasDynamicHelp": false,
|
|
3265
3858
|
"multiple": false,
|
|
3266
|
-
"options": [
|
|
3267
|
-
"text",
|
|
3268
|
-
"json",
|
|
3269
|
-
"md"
|
|
3270
|
-
],
|
|
3271
3859
|
"type": "option"
|
|
3272
3860
|
},
|
|
3273
|
-
"
|
|
3274
|
-
"char": "
|
|
3275
|
-
"description": "
|
|
3276
|
-
"name": "
|
|
3277
|
-
"allowNo": false,
|
|
3278
|
-
"type": "boolean"
|
|
3279
|
-
},
|
|
3280
|
-
"no-banner": {
|
|
3281
|
-
"description": "Suppress the startup banner and runtime advisory",
|
|
3282
|
-
"name": "no-banner",
|
|
3283
|
-
"allowNo": false,
|
|
3284
|
-
"type": "boolean"
|
|
3285
|
-
},
|
|
3286
|
-
"entity": {
|
|
3287
|
-
"description": "Entity name to pull",
|
|
3288
|
-
"name": "entity",
|
|
3289
|
-
"required": true,
|
|
3861
|
+
"recent": {
|
|
3862
|
+
"char": "r",
|
|
3863
|
+
"description": "Number of recent runs to show",
|
|
3864
|
+
"name": "recent",
|
|
3290
3865
|
"hasDynamicHelp": false,
|
|
3291
3866
|
"multiple": false,
|
|
3292
3867
|
"type": "option"
|
|
3293
3868
|
},
|
|
3294
|
-
"
|
|
3295
|
-
"description": "
|
|
3296
|
-
"name": "
|
|
3869
|
+
"from": {
|
|
3870
|
+
"description": "Show history from date (YYYY-MM-DD)",
|
|
3871
|
+
"name": "from",
|
|
3297
3872
|
"hasDynamicHelp": false,
|
|
3298
3873
|
"multiple": false,
|
|
3299
3874
|
"type": "option"
|
|
3300
3875
|
},
|
|
3301
|
-
"
|
|
3302
|
-
"
|
|
3303
|
-
"
|
|
3304
|
-
"
|
|
3305
|
-
"
|
|
3876
|
+
"status": {
|
|
3877
|
+
"char": "s",
|
|
3878
|
+
"description": "Filter by status",
|
|
3879
|
+
"name": "status",
|
|
3880
|
+
"hasDynamicHelp": false,
|
|
3881
|
+
"multiple": false,
|
|
3882
|
+
"type": "option"
|
|
3306
3883
|
},
|
|
3307
|
-
"
|
|
3308
|
-
"
|
|
3309
|
-
"
|
|
3884
|
+
"format": {
|
|
3885
|
+
"char": "f",
|
|
3886
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
3887
|
+
"name": "format",
|
|
3310
3888
|
"hasDynamicHelp": false,
|
|
3311
3889
|
"multiple": false,
|
|
3890
|
+
"options": [
|
|
3891
|
+
"text",
|
|
3892
|
+
"json",
|
|
3893
|
+
"md",
|
|
3894
|
+
"human",
|
|
3895
|
+
"console",
|
|
3896
|
+
"markdown",
|
|
3897
|
+
"compact",
|
|
3898
|
+
"table"
|
|
3899
|
+
],
|
|
3312
3900
|
"type": "option"
|
|
3313
3901
|
},
|
|
3314
|
-
"
|
|
3315
|
-
"
|
|
3316
|
-
"
|
|
3317
|
-
"
|
|
3318
|
-
"
|
|
3902
|
+
"output": {
|
|
3903
|
+
"char": "o",
|
|
3904
|
+
"description": "Output file path",
|
|
3905
|
+
"name": "output",
|
|
3906
|
+
"hasDynamicHelp": false,
|
|
3907
|
+
"multiple": false,
|
|
3908
|
+
"type": "option"
|
|
3319
3909
|
},
|
|
3320
|
-
"
|
|
3321
|
-
"
|
|
3322
|
-
"
|
|
3910
|
+
"verbose": {
|
|
3911
|
+
"char": "v",
|
|
3912
|
+
"description": "Show detailed information",
|
|
3913
|
+
"name": "verbose",
|
|
3323
3914
|
"allowNo": false,
|
|
3324
3915
|
"type": "boolean"
|
|
3325
|
-
}
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3916
|
+
}
|
|
3917
|
+
},
|
|
3918
|
+
"hasDynamicHelp": false,
|
|
3919
|
+
"hiddenAliases": [],
|
|
3920
|
+
"id": "test:history",
|
|
3921
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3922
|
+
"pluginName": "@memberjunction/cli",
|
|
3923
|
+
"pluginType": "core",
|
|
3924
|
+
"strict": true,
|
|
3925
|
+
"enableJsonFlag": false,
|
|
3926
|
+
"isESM": true,
|
|
3927
|
+
"relativePath": [
|
|
3928
|
+
"dist",
|
|
3929
|
+
"commands",
|
|
3930
|
+
"test",
|
|
3931
|
+
"history.js"
|
|
3932
|
+
]
|
|
3933
|
+
},
|
|
3934
|
+
"test": {
|
|
3935
|
+
"aliases": [],
|
|
3936
|
+
"args": {},
|
|
3937
|
+
"description": "MemberJunction Testing Framework - Execute and manage tests",
|
|
3938
|
+
"examples": [
|
|
3939
|
+
"<%= config.bin %> <%= command.id %> run <test-id>",
|
|
3940
|
+
"<%= config.bin %> <%= command.id %> run --name=\"Active Members Count\"",
|
|
3941
|
+
"<%= config.bin %> <%= command.id %> suite <suite-id>",
|
|
3942
|
+
"<%= config.bin %> <%= command.id %> list",
|
|
3943
|
+
"<%= config.bin %> <%= command.id %> list --suites",
|
|
3944
|
+
"<%= config.bin %> <%= command.id %> validate --all"
|
|
3945
|
+
],
|
|
3946
|
+
"flags": {},
|
|
3947
|
+
"hasDynamicHelp": false,
|
|
3948
|
+
"hiddenAliases": [],
|
|
3949
|
+
"id": "test",
|
|
3950
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3951
|
+
"pluginName": "@memberjunction/cli",
|
|
3952
|
+
"pluginType": "core",
|
|
3953
|
+
"strict": true,
|
|
3954
|
+
"enableJsonFlag": false,
|
|
3955
|
+
"isESM": true,
|
|
3956
|
+
"relativePath": [
|
|
3957
|
+
"dist",
|
|
3958
|
+
"commands",
|
|
3959
|
+
"test",
|
|
3960
|
+
"index.js"
|
|
3961
|
+
]
|
|
3962
|
+
},
|
|
3963
|
+
"test:list": {
|
|
3964
|
+
"aliases": [],
|
|
3965
|
+
"args": {},
|
|
3966
|
+
"description": "List available tests, suites, and types",
|
|
3967
|
+
"examples": [
|
|
3968
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3969
|
+
"<%= config.bin %> <%= command.id %> --suites",
|
|
3970
|
+
"<%= config.bin %> <%= command.id %> --types",
|
|
3971
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
3972
|
+
"<%= config.bin %> <%= command.id %> --tag=smoke",
|
|
3973
|
+
"<%= config.bin %> <%= command.id %> --status=active --verbose"
|
|
3974
|
+
],
|
|
3975
|
+
"flags": {
|
|
3976
|
+
"suites": {
|
|
3977
|
+
"description": "List test suites instead of tests",
|
|
3978
|
+
"name": "suites",
|
|
3329
3979
|
"allowNo": false,
|
|
3330
3980
|
"type": "boolean"
|
|
3331
3981
|
},
|
|
3332
|
-
"
|
|
3333
|
-
"description": "
|
|
3334
|
-
"name": "
|
|
3982
|
+
"types": {
|
|
3983
|
+
"description": "List test types",
|
|
3984
|
+
"name": "types",
|
|
3335
3985
|
"allowNo": false,
|
|
3336
3986
|
"type": "boolean"
|
|
3337
3987
|
},
|
|
3338
|
-
"
|
|
3339
|
-
"
|
|
3340
|
-
"
|
|
3341
|
-
"
|
|
3988
|
+
"type": {
|
|
3989
|
+
"char": "t",
|
|
3990
|
+
"description": "Filter by test type",
|
|
3991
|
+
"name": "type",
|
|
3342
3992
|
"hasDynamicHelp": false,
|
|
3343
3993
|
"multiple": false,
|
|
3344
|
-
"options": [
|
|
3345
|
-
"merge",
|
|
3346
|
-
"overwrite",
|
|
3347
|
-
"skip"
|
|
3348
|
-
],
|
|
3349
3994
|
"type": "option"
|
|
3350
3995
|
},
|
|
3351
|
-
"
|
|
3352
|
-
"description": "
|
|
3353
|
-
"name": "
|
|
3996
|
+
"tag": {
|
|
3997
|
+
"description": "Filter by tag",
|
|
3998
|
+
"name": "tag",
|
|
3354
3999
|
"hasDynamicHelp": false,
|
|
3355
4000
|
"multiple": false,
|
|
3356
4001
|
"type": "option"
|
|
3357
4002
|
},
|
|
3358
|
-
"
|
|
3359
|
-
"
|
|
3360
|
-
"
|
|
4003
|
+
"status": {
|
|
4004
|
+
"char": "s",
|
|
4005
|
+
"description": "Filter by status",
|
|
4006
|
+
"name": "status",
|
|
3361
4007
|
"hasDynamicHelp": false,
|
|
3362
|
-
"multiple":
|
|
4008
|
+
"multiple": false,
|
|
3363
4009
|
"type": "option"
|
|
3364
4010
|
},
|
|
3365
|
-
"
|
|
3366
|
-
"
|
|
3367
|
-
"
|
|
4011
|
+
"format": {
|
|
4012
|
+
"char": "f",
|
|
4013
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
4014
|
+
"name": "format",
|
|
3368
4015
|
"hasDynamicHelp": false,
|
|
3369
|
-
"multiple":
|
|
4016
|
+
"multiple": false,
|
|
4017
|
+
"options": [
|
|
4018
|
+
"text",
|
|
4019
|
+
"json",
|
|
4020
|
+
"md",
|
|
4021
|
+
"human",
|
|
4022
|
+
"console",
|
|
4023
|
+
"markdown",
|
|
4024
|
+
"compact",
|
|
4025
|
+
"table"
|
|
4026
|
+
],
|
|
3370
4027
|
"type": "option"
|
|
3371
4028
|
},
|
|
3372
|
-
"
|
|
3373
|
-
"
|
|
3374
|
-
"
|
|
4029
|
+
"output": {
|
|
4030
|
+
"char": "o",
|
|
4031
|
+
"description": "Output file path",
|
|
4032
|
+
"name": "output",
|
|
3375
4033
|
"hasDynamicHelp": false,
|
|
3376
4034
|
"multiple": false,
|
|
3377
4035
|
"type": "option"
|
|
3378
4036
|
},
|
|
3379
|
-
"
|
|
3380
|
-
"
|
|
3381
|
-
"
|
|
4037
|
+
"verbose": {
|
|
4038
|
+
"char": "v",
|
|
4039
|
+
"description": "Show detailed information",
|
|
4040
|
+
"name": "verbose",
|
|
3382
4041
|
"allowNo": false,
|
|
3383
4042
|
"type": "boolean"
|
|
3384
|
-
},
|
|
3385
|
-
"since": {
|
|
3386
|
-
"description": "Only pull records updated after this ISO 8601 timestamp",
|
|
3387
|
-
"name": "since",
|
|
3388
|
-
"hasDynamicHelp": false,
|
|
3389
|
-
"multiple": false,
|
|
3390
|
-
"type": "option"
|
|
3391
4043
|
}
|
|
3392
4044
|
},
|
|
3393
4045
|
"hasDynamicHelp": false,
|
|
3394
4046
|
"hiddenAliases": [],
|
|
3395
|
-
"id": "
|
|
4047
|
+
"id": "test:list",
|
|
3396
4048
|
"pluginAlias": "@memberjunction/cli",
|
|
3397
4049
|
"pluginName": "@memberjunction/cli",
|
|
3398
4050
|
"pluginType": "core",
|
|
3399
4051
|
"strict": true,
|
|
3400
4052
|
"enableJsonFlag": false,
|
|
3401
|
-
"
|
|
3402
|
-
|
|
3403
|
-
"
|
|
3404
|
-
"
|
|
3405
|
-
"
|
|
3406
|
-
"
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
"
|
|
3439
|
-
"
|
|
3440
|
-
"
|
|
4053
|
+
"isESM": true,
|
|
4054
|
+
"relativePath": [
|
|
4055
|
+
"dist",
|
|
4056
|
+
"commands",
|
|
4057
|
+
"test",
|
|
4058
|
+
"list.js"
|
|
4059
|
+
]
|
|
4060
|
+
},
|
|
4061
|
+
"test:run": {
|
|
4062
|
+
"aliases": [],
|
|
4063
|
+
"args": {
|
|
4064
|
+
"testId": {
|
|
4065
|
+
"description": "Test ID to execute",
|
|
4066
|
+
"name": "testId",
|
|
4067
|
+
"required": false
|
|
4068
|
+
}
|
|
4069
|
+
},
|
|
4070
|
+
"description": "Execute a single test by ID or name",
|
|
4071
|
+
"examples": [
|
|
4072
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
4073
|
+
"<%= config.bin %> <%= command.id %> --name=\"Active Members Count\"",
|
|
4074
|
+
"<%= config.bin %> <%= command.id %> <test-id> --environment=staging",
|
|
4075
|
+
"<%= config.bin %> <%= command.id %> <test-id> --format=json --output=results.json",
|
|
4076
|
+
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
4077
|
+
],
|
|
4078
|
+
"flags": {
|
|
4079
|
+
"name": {
|
|
4080
|
+
"char": "n",
|
|
4081
|
+
"description": "Test name to execute",
|
|
4082
|
+
"name": "name",
|
|
4083
|
+
"hasDynamicHelp": false,
|
|
4084
|
+
"multiple": false,
|
|
4085
|
+
"type": "option"
|
|
4086
|
+
},
|
|
4087
|
+
"environment": {
|
|
4088
|
+
"char": "e",
|
|
4089
|
+
"description": "Environment context (dev, staging, prod)",
|
|
4090
|
+
"name": "environment",
|
|
4091
|
+
"hasDynamicHelp": false,
|
|
4092
|
+
"multiple": false,
|
|
4093
|
+
"type": "option"
|
|
4094
|
+
},
|
|
4095
|
+
"format": {
|
|
4096
|
+
"char": "f",
|
|
4097
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
4098
|
+
"name": "format",
|
|
4099
|
+
"hasDynamicHelp": false,
|
|
4100
|
+
"multiple": false,
|
|
4101
|
+
"options": [
|
|
4102
|
+
"text",
|
|
4103
|
+
"json",
|
|
4104
|
+
"md",
|
|
4105
|
+
"human",
|
|
4106
|
+
"console",
|
|
4107
|
+
"markdown",
|
|
4108
|
+
"compact",
|
|
4109
|
+
"table"
|
|
4110
|
+
],
|
|
4111
|
+
"type": "option"
|
|
4112
|
+
},
|
|
4113
|
+
"output": {
|
|
4114
|
+
"char": "o",
|
|
4115
|
+
"description": "Output file path",
|
|
4116
|
+
"name": "output",
|
|
4117
|
+
"hasDynamicHelp": false,
|
|
4118
|
+
"multiple": false,
|
|
4119
|
+
"type": "option"
|
|
4120
|
+
},
|
|
4121
|
+
"dry-run": {
|
|
4122
|
+
"description": "Validate without executing",
|
|
4123
|
+
"name": "dry-run",
|
|
4124
|
+
"allowNo": false,
|
|
4125
|
+
"type": "boolean"
|
|
4126
|
+
},
|
|
4127
|
+
"verbose": {
|
|
4128
|
+
"char": "v",
|
|
4129
|
+
"description": "Show detailed execution information",
|
|
4130
|
+
"name": "verbose",
|
|
4131
|
+
"allowNo": false,
|
|
4132
|
+
"type": "boolean"
|
|
4133
|
+
},
|
|
4134
|
+
"checks-module": {
|
|
4135
|
+
"description": "Module specifier (package name or path) side-effect-imported before the run so its integration check bundles register on the IntegrationCheckRegistry. Durable form: mj.config.cjs `testing.checkModules` (this repo loads '@memberjunction/integration-test-suite' that way).",
|
|
4136
|
+
"name": "checks-module",
|
|
4137
|
+
"hasDynamicHelp": false,
|
|
4138
|
+
"multiple": false,
|
|
4139
|
+
"type": "option"
|
|
4140
|
+
},
|
|
4141
|
+
"oracles-module": {
|
|
4142
|
+
"description": "Path to a JS/TS module that exports custom IOracle classes or instances. Each export is registered on the engine before the test runs — used by non-MJ adopters to plug app-specific oracle types without modifying TestingFramework.",
|
|
4143
|
+
"name": "oracles-module",
|
|
4144
|
+
"hasDynamicHelp": false,
|
|
4145
|
+
"multiple": false,
|
|
4146
|
+
"type": "option"
|
|
3441
4147
|
}
|
|
3442
4148
|
},
|
|
4149
|
+
"hasDynamicHelp": false,
|
|
4150
|
+
"hiddenAliases": [],
|
|
4151
|
+
"id": "test:run",
|
|
4152
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4153
|
+
"pluginName": "@memberjunction/cli",
|
|
4154
|
+
"pluginType": "core",
|
|
4155
|
+
"strict": true,
|
|
4156
|
+
"enableJsonFlag": false,
|
|
3443
4157
|
"isESM": true,
|
|
3444
4158
|
"relativePath": [
|
|
3445
4159
|
"dist",
|
|
3446
4160
|
"commands",
|
|
3447
|
-
"
|
|
3448
|
-
"
|
|
4161
|
+
"test",
|
|
4162
|
+
"run.js"
|
|
3449
4163
|
]
|
|
3450
4164
|
},
|
|
3451
|
-
"
|
|
4165
|
+
"test:suite": {
|
|
3452
4166
|
"aliases": [],
|
|
3453
|
-
"args": {
|
|
3454
|
-
|
|
4167
|
+
"args": {
|
|
4168
|
+
"suiteId": {
|
|
4169
|
+
"description": "Test suite ID to execute",
|
|
4170
|
+
"name": "suiteId",
|
|
4171
|
+
"required": false
|
|
4172
|
+
}
|
|
4173
|
+
},
|
|
4174
|
+
"description": "Execute a test suite",
|
|
3455
4175
|
"examples": [
|
|
3456
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3457
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3458
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3459
|
-
"<%= config.bin %> <%= command.id %>
|
|
4176
|
+
"<%= config.bin %> <%= command.id %> <suite-id>",
|
|
4177
|
+
"<%= config.bin %> <%= command.id %> --name=\"Agent Quality Suite\"",
|
|
4178
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --format=json",
|
|
4179
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
3460
4180
|
],
|
|
3461
4181
|
"flags": {
|
|
4182
|
+
"name": {
|
|
4183
|
+
"char": "n",
|
|
4184
|
+
"description": "Test suite name to execute",
|
|
4185
|
+
"name": "name",
|
|
4186
|
+
"hasDynamicHelp": false,
|
|
4187
|
+
"multiple": false,
|
|
4188
|
+
"type": "option"
|
|
4189
|
+
},
|
|
3462
4190
|
"format": {
|
|
3463
|
-
"
|
|
4191
|
+
"char": "f",
|
|
4192
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
3464
4193
|
"name": "format",
|
|
3465
|
-
"default": "text",
|
|
3466
4194
|
"hasDynamicHelp": false,
|
|
3467
4195
|
"multiple": false,
|
|
3468
4196
|
"options": [
|
|
3469
4197
|
"text",
|
|
3470
4198
|
"json",
|
|
3471
|
-
"md"
|
|
4199
|
+
"md",
|
|
4200
|
+
"human",
|
|
4201
|
+
"console",
|
|
4202
|
+
"markdown",
|
|
4203
|
+
"compact",
|
|
4204
|
+
"table"
|
|
3472
4205
|
],
|
|
3473
4206
|
"type": "option"
|
|
3474
4207
|
},
|
|
4208
|
+
"output": {
|
|
4209
|
+
"char": "o",
|
|
4210
|
+
"description": "Output file path",
|
|
4211
|
+
"name": "output",
|
|
4212
|
+
"hasDynamicHelp": false,
|
|
4213
|
+
"multiple": false,
|
|
4214
|
+
"type": "option"
|
|
4215
|
+
},
|
|
3475
4216
|
"verbose": {
|
|
3476
4217
|
"char": "v",
|
|
3477
|
-
"description": "Show detailed
|
|
4218
|
+
"description": "Show detailed execution information",
|
|
3478
4219
|
"name": "verbose",
|
|
3479
4220
|
"allowNo": false,
|
|
3480
4221
|
"type": "boolean"
|
|
3481
4222
|
},
|
|
3482
|
-
"
|
|
3483
|
-
"
|
|
3484
|
-
"
|
|
3485
|
-
"
|
|
3486
|
-
"
|
|
3487
|
-
},
|
|
3488
|
-
"dir": {
|
|
3489
|
-
"description": "Specific entity directory to push",
|
|
3490
|
-
"name": "dir",
|
|
4223
|
+
"delay": {
|
|
4224
|
+
"char": "d",
|
|
4225
|
+
"description": "Delay in milliseconds between test executions (avoids Auth0 rate limits)",
|
|
4226
|
+
"name": "delay",
|
|
4227
|
+
"default": 0,
|
|
3491
4228
|
"hasDynamicHelp": false,
|
|
3492
4229
|
"multiple": false,
|
|
3493
4230
|
"type": "option"
|
|
3494
4231
|
},
|
|
3495
|
-
"
|
|
3496
|
-
"
|
|
3497
|
-
"
|
|
3498
|
-
"
|
|
3499
|
-
"type": "boolean"
|
|
3500
|
-
},
|
|
3501
|
-
"ci": {
|
|
3502
|
-
"description": "CI mode - no prompts, fail on issues",
|
|
3503
|
-
"name": "ci",
|
|
3504
|
-
"allowNo": false,
|
|
3505
|
-
"type": "boolean"
|
|
3506
|
-
},
|
|
3507
|
-
"no-validate": {
|
|
3508
|
-
"description": "Skip validation before push",
|
|
3509
|
-
"name": "no-validate",
|
|
3510
|
-
"allowNo": false,
|
|
3511
|
-
"type": "boolean"
|
|
3512
|
-
},
|
|
3513
|
-
"delete-db-only": {
|
|
3514
|
-
"description": "Delete database-only records that reference records being deleted (prevents FK errors)",
|
|
3515
|
-
"name": "delete-db-only",
|
|
4232
|
+
"parallel": {
|
|
4233
|
+
"char": "p",
|
|
4234
|
+
"description": "Run tests in parallel with shared browser sessions",
|
|
4235
|
+
"name": "parallel",
|
|
3516
4236
|
"allowNo": false,
|
|
3517
4237
|
"type": "boolean"
|
|
3518
4238
|
},
|
|
3519
|
-
"parallel
|
|
3520
|
-
"description": "
|
|
3521
|
-
"name": "parallel
|
|
3522
|
-
"default":
|
|
4239
|
+
"max-parallel": {
|
|
4240
|
+
"description": "Maximum number of parallel workers (default 4)",
|
|
4241
|
+
"name": "max-parallel",
|
|
4242
|
+
"default": 4,
|
|
3523
4243
|
"hasDynamicHelp": false,
|
|
3524
4244
|
"multiple": false,
|
|
3525
4245
|
"type": "option"
|
|
3526
4246
|
},
|
|
3527
|
-
"
|
|
3528
|
-
"description": "
|
|
3529
|
-
"name": "
|
|
4247
|
+
"flaky-check": {
|
|
4248
|
+
"description": "Run each test N times to detect flakiness (variance > 0.3 or mixed pass/fail = flaky). Recommended: 3 or 5",
|
|
4249
|
+
"name": "flaky-check",
|
|
3530
4250
|
"hasDynamicHelp": false,
|
|
3531
4251
|
"multiple": false,
|
|
3532
4252
|
"type": "option"
|
|
3533
4253
|
},
|
|
3534
|
-
"
|
|
3535
|
-
"description": "
|
|
3536
|
-
"name": "
|
|
4254
|
+
"checks-module": {
|
|
4255
|
+
"description": "Module specifier (package name or path) side-effect-imported before the run so its integration check bundles register on the IntegrationCheckRegistry. Durable form: mj.config.cjs `testing.checkModules` (this repo loads '@memberjunction/integration-test-suite' that way).",
|
|
4256
|
+
"name": "checks-module",
|
|
3537
4257
|
"hasDynamicHelp": false,
|
|
3538
4258
|
"multiple": false,
|
|
3539
4259
|
"type": "option"
|
|
3540
4260
|
},
|
|
3541
|
-
"
|
|
3542
|
-
"description": "
|
|
3543
|
-
"name": "
|
|
3544
|
-
"
|
|
3545
|
-
"
|
|
3546
|
-
|
|
3547
|
-
"change-detail": {
|
|
3548
|
-
"description": "Write a detailed per-record change report (primary keys + field diffs) to a file",
|
|
3549
|
-
"name": "change-detail",
|
|
3550
|
-
"allowNo": false,
|
|
3551
|
-
"type": "boolean"
|
|
4261
|
+
"oracles-module": {
|
|
4262
|
+
"description": "Path to a JS/TS module that exports custom IOracle classes or instances. Each export is registered on the engine before the suite runs — used by non-MJ adopters to plug app-specific oracle types without modifying TestingFramework.",
|
|
4263
|
+
"name": "oracles-module",
|
|
4264
|
+
"hasDynamicHelp": false,
|
|
4265
|
+
"multiple": false,
|
|
4266
|
+
"type": "option"
|
|
3552
4267
|
}
|
|
3553
4268
|
},
|
|
3554
4269
|
"hasDynamicHelp": false,
|
|
3555
4270
|
"hiddenAliases": [],
|
|
3556
|
-
"id": "
|
|
4271
|
+
"id": "test:suite",
|
|
3557
4272
|
"pluginAlias": "@memberjunction/cli",
|
|
3558
4273
|
"pluginName": "@memberjunction/cli",
|
|
3559
4274
|
"pluginType": "core",
|
|
3560
4275
|
"strict": true,
|
|
3561
4276
|
"enableJsonFlag": false,
|
|
3562
|
-
"
|
|
3563
|
-
|
|
3564
|
-
"
|
|
3565
|
-
"
|
|
3566
|
-
"
|
|
3567
|
-
"
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
"
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
"description": "Skip pre-push validation"
|
|
3587
|
-
},
|
|
3588
|
-
{
|
|
3589
|
-
"name": "--incremental",
|
|
3590
|
-
"type": "boolean",
|
|
3591
|
-
"description": "Skip unchanged files using stored checksums"
|
|
3592
|
-
},
|
|
3593
|
-
{
|
|
3594
|
-
"name": "--format",
|
|
3595
|
-
"type": "text|json|md",
|
|
3596
|
-
"description": "Output format (json for machine-readable result)"
|
|
3597
|
-
}
|
|
3598
|
-
],
|
|
3599
|
-
"examples": [
|
|
3600
|
-
"mj sync push --dir=ai-agents",
|
|
3601
|
-
"mj sync push --ci --format=json"
|
|
3602
|
-
],
|
|
3603
|
-
"runtime": {
|
|
3604
|
-
"class": "variable",
|
|
3605
|
-
"typicalSeconds": 20,
|
|
3606
|
-
"note": "scales with number of records in --dir"
|
|
4277
|
+
"isESM": true,
|
|
4278
|
+
"relativePath": [
|
|
4279
|
+
"dist",
|
|
4280
|
+
"commands",
|
|
4281
|
+
"test",
|
|
4282
|
+
"suite.js"
|
|
4283
|
+
]
|
|
4284
|
+
},
|
|
4285
|
+
"test:usage": {
|
|
4286
|
+
"aliases": [],
|
|
4287
|
+
"args": {},
|
|
4288
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj test` command.",
|
|
4289
|
+
"flags": {
|
|
4290
|
+
"format": {
|
|
4291
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4292
|
+
"name": "format",
|
|
4293
|
+
"hasDynamicHelp": false,
|
|
4294
|
+
"multiple": false,
|
|
4295
|
+
"options": [
|
|
4296
|
+
"text",
|
|
4297
|
+
"json",
|
|
4298
|
+
"md"
|
|
4299
|
+
],
|
|
4300
|
+
"type": "option"
|
|
3607
4301
|
}
|
|
3608
4302
|
},
|
|
4303
|
+
"hasDynamicHelp": false,
|
|
4304
|
+
"hiddenAliases": [],
|
|
4305
|
+
"id": "test:usage",
|
|
4306
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4307
|
+
"pluginName": "@memberjunction/cli",
|
|
4308
|
+
"pluginType": "core",
|
|
4309
|
+
"strict": true,
|
|
4310
|
+
"enableJsonFlag": false,
|
|
3609
4311
|
"isESM": true,
|
|
3610
4312
|
"relativePath": [
|
|
3611
4313
|
"dist",
|
|
3612
4314
|
"commands",
|
|
3613
|
-
"
|
|
3614
|
-
"
|
|
4315
|
+
"test",
|
|
4316
|
+
"usage.js"
|
|
3615
4317
|
]
|
|
3616
4318
|
},
|
|
3617
|
-
"
|
|
4319
|
+
"test:validate": {
|
|
3618
4320
|
"aliases": [],
|
|
3619
|
-
"args": {
|
|
3620
|
-
|
|
4321
|
+
"args": {
|
|
4322
|
+
"testId": {
|
|
4323
|
+
"description": "Test ID to validate",
|
|
4324
|
+
"name": "testId",
|
|
4325
|
+
"required": false
|
|
4326
|
+
}
|
|
4327
|
+
},
|
|
4328
|
+
"description": "Validate test definitions without executing",
|
|
3621
4329
|
"examples": [
|
|
3622
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3623
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3624
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4330
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
4331
|
+
"<%= config.bin %> <%= command.id %> --all",
|
|
4332
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
4333
|
+
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
4334
|
+
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
3625
4335
|
],
|
|
3626
4336
|
"flags": {
|
|
3627
|
-
"
|
|
3628
|
-
"
|
|
3629
|
-
"
|
|
4337
|
+
"all": {
|
|
4338
|
+
"char": "a",
|
|
4339
|
+
"description": "Validate all tests",
|
|
4340
|
+
"name": "all",
|
|
4341
|
+
"allowNo": false,
|
|
4342
|
+
"type": "boolean"
|
|
4343
|
+
},
|
|
4344
|
+
"type": {
|
|
4345
|
+
"char": "t",
|
|
4346
|
+
"description": "Validate tests by type",
|
|
4347
|
+
"name": "type",
|
|
3630
4348
|
"hasDynamicHelp": false,
|
|
3631
4349
|
"multiple": false,
|
|
3632
4350
|
"type": "option"
|
|
3633
4351
|
},
|
|
3634
|
-
"
|
|
3635
|
-
"
|
|
3636
|
-
"
|
|
3637
|
-
"name": "verbose",
|
|
4352
|
+
"save-report": {
|
|
4353
|
+
"description": "Save validation report to file",
|
|
4354
|
+
"name": "save-report",
|
|
3638
4355
|
"allowNo": false,
|
|
3639
4356
|
"type": "boolean"
|
|
3640
4357
|
},
|
|
3641
|
-
"
|
|
3642
|
-
"
|
|
3643
|
-
"
|
|
4358
|
+
"format": {
|
|
4359
|
+
"char": "f",
|
|
4360
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
4361
|
+
"name": "format",
|
|
3644
4362
|
"hasDynamicHelp": false,
|
|
3645
4363
|
"multiple": false,
|
|
4364
|
+
"options": [
|
|
4365
|
+
"text",
|
|
4366
|
+
"json",
|
|
4367
|
+
"md",
|
|
4368
|
+
"human",
|
|
4369
|
+
"console",
|
|
4370
|
+
"markdown",
|
|
4371
|
+
"compact",
|
|
4372
|
+
"table"
|
|
4373
|
+
],
|
|
3646
4374
|
"type": "option"
|
|
3647
4375
|
},
|
|
3648
|
-
"
|
|
3649
|
-
"
|
|
3650
|
-
"
|
|
4376
|
+
"output": {
|
|
4377
|
+
"char": "o",
|
|
4378
|
+
"description": "Output file path",
|
|
4379
|
+
"name": "output",
|
|
3651
4380
|
"hasDynamicHelp": false,
|
|
3652
4381
|
"multiple": false,
|
|
3653
4382
|
"type": "option"
|
|
4383
|
+
},
|
|
4384
|
+
"verbose": {
|
|
4385
|
+
"char": "v",
|
|
4386
|
+
"description": "Show detailed information",
|
|
4387
|
+
"name": "verbose",
|
|
4388
|
+
"allowNo": false,
|
|
4389
|
+
"type": "boolean"
|
|
3654
4390
|
}
|
|
3655
4391
|
},
|
|
3656
4392
|
"hasDynamicHelp": false,
|
|
3657
4393
|
"hiddenAliases": [],
|
|
3658
|
-
"id": "
|
|
4394
|
+
"id": "test:validate",
|
|
3659
4395
|
"pluginAlias": "@memberjunction/cli",
|
|
3660
4396
|
"pluginName": "@memberjunction/cli",
|
|
3661
4397
|
"pluginType": "core",
|
|
@@ -3665,32 +4401,96 @@
|
|
|
3665
4401
|
"relativePath": [
|
|
3666
4402
|
"dist",
|
|
3667
4403
|
"commands",
|
|
3668
|
-
"
|
|
3669
|
-
"
|
|
4404
|
+
"test",
|
|
4405
|
+
"validate.js"
|
|
3670
4406
|
]
|
|
3671
4407
|
},
|
|
3672
|
-
"
|
|
4408
|
+
"translate-sql": {
|
|
3673
4409
|
"aliases": [],
|
|
3674
4410
|
"args": {},
|
|
3675
|
-
"description": "
|
|
4411
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
4412
|
+
"examples": [
|
|
4413
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
4414
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
4415
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
4416
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
4417
|
+
],
|
|
3676
4418
|
"flags": {
|
|
3677
|
-
"
|
|
3678
|
-
"description": "
|
|
3679
|
-
"name": "
|
|
3680
|
-
"
|
|
4419
|
+
"from": {
|
|
4420
|
+
"description": "Source SQL dialect",
|
|
4421
|
+
"name": "from",
|
|
4422
|
+
"required": true,
|
|
3681
4423
|
"hasDynamicHelp": false,
|
|
3682
4424
|
"multiple": false,
|
|
3683
4425
|
"options": [
|
|
3684
|
-
"
|
|
3685
|
-
"
|
|
3686
|
-
"md"
|
|
4426
|
+
"sqlserver",
|
|
4427
|
+
"postgresql"
|
|
3687
4428
|
],
|
|
3688
4429
|
"type": "option"
|
|
4430
|
+
},
|
|
4431
|
+
"to": {
|
|
4432
|
+
"description": "Target SQL dialect",
|
|
4433
|
+
"name": "to",
|
|
4434
|
+
"required": true,
|
|
4435
|
+
"hasDynamicHelp": false,
|
|
4436
|
+
"multiple": false,
|
|
4437
|
+
"options": [
|
|
4438
|
+
"sqlserver",
|
|
4439
|
+
"postgresql"
|
|
4440
|
+
],
|
|
4441
|
+
"type": "option"
|
|
4442
|
+
},
|
|
4443
|
+
"scope": {
|
|
4444
|
+
"description": "What to scan for translation",
|
|
4445
|
+
"name": "scope",
|
|
4446
|
+
"default": "all",
|
|
4447
|
+
"hasDynamicHelp": false,
|
|
4448
|
+
"multiple": false,
|
|
4449
|
+
"options": [
|
|
4450
|
+
"queries",
|
|
4451
|
+
"views",
|
|
4452
|
+
"filters",
|
|
4453
|
+
"all"
|
|
4454
|
+
],
|
|
4455
|
+
"type": "option"
|
|
4456
|
+
},
|
|
4457
|
+
"sql": {
|
|
4458
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
4459
|
+
"name": "sql",
|
|
4460
|
+
"hasDynamicHelp": false,
|
|
4461
|
+
"multiple": false,
|
|
4462
|
+
"type": "option"
|
|
4463
|
+
},
|
|
4464
|
+
"dry-run": {
|
|
4465
|
+
"description": "Show what would be translated without making changes",
|
|
4466
|
+
"name": "dry-run",
|
|
4467
|
+
"allowNo": false,
|
|
4468
|
+
"type": "boolean"
|
|
4469
|
+
},
|
|
4470
|
+
"review": {
|
|
4471
|
+
"description": "Generate review report only (no writes to database)",
|
|
4472
|
+
"name": "review",
|
|
4473
|
+
"allowNo": false,
|
|
4474
|
+
"type": "boolean"
|
|
4475
|
+
},
|
|
4476
|
+
"output": {
|
|
4477
|
+
"char": "o",
|
|
4478
|
+
"description": "Output directory for the translation report",
|
|
4479
|
+
"name": "output",
|
|
4480
|
+
"hasDynamicHelp": false,
|
|
4481
|
+
"multiple": false,
|
|
4482
|
+
"type": "option"
|
|
4483
|
+
},
|
|
4484
|
+
"force": {
|
|
4485
|
+
"description": "Re-translate even if platform variants already exist",
|
|
4486
|
+
"name": "force",
|
|
4487
|
+
"allowNo": false,
|
|
4488
|
+
"type": "boolean"
|
|
3689
4489
|
}
|
|
3690
4490
|
},
|
|
3691
4491
|
"hasDynamicHelp": false,
|
|
3692
4492
|
"hiddenAliases": [],
|
|
3693
|
-
"id": "
|
|
4493
|
+
"id": "translate-sql",
|
|
3694
4494
|
"pluginAlias": "@memberjunction/cli",
|
|
3695
4495
|
"pluginName": "@memberjunction/cli",
|
|
3696
4496
|
"pluginType": "core",
|
|
@@ -3700,52 +4500,31 @@
|
|
|
3700
4500
|
"relativePath": [
|
|
3701
4501
|
"dist",
|
|
3702
4502
|
"commands",
|
|
3703
|
-
"
|
|
3704
|
-
"
|
|
4503
|
+
"translate-sql",
|
|
4504
|
+
"index.js"
|
|
3705
4505
|
]
|
|
3706
4506
|
},
|
|
3707
|
-
"
|
|
4507
|
+
"translate-sql:usage": {
|
|
3708
4508
|
"aliases": [],
|
|
3709
4509
|
"args": {},
|
|
3710
|
-
"description": "
|
|
3711
|
-
"examples": [
|
|
3712
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3713
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
3714
|
-
"<%= config.bin %> <%= command.id %> --save-report",
|
|
3715
|
-
"<%= config.bin %> <%= command.id %> --verbose"
|
|
3716
|
-
],
|
|
4510
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj translate-sql` command.",
|
|
3717
4511
|
"flags": {
|
|
3718
|
-
"
|
|
3719
|
-
"description": "
|
|
3720
|
-
"name": "
|
|
3721
|
-
"hasDynamicHelp": false,
|
|
3722
|
-
"multiple": false,
|
|
3723
|
-
"type": "option"
|
|
3724
|
-
},
|
|
3725
|
-
"verbose": {
|
|
3726
|
-
"char": "v",
|
|
3727
|
-
"description": "Show detailed validation output",
|
|
3728
|
-
"name": "verbose",
|
|
3729
|
-
"allowNo": false,
|
|
3730
|
-
"type": "boolean"
|
|
3731
|
-
},
|
|
3732
|
-
"save-report": {
|
|
3733
|
-
"description": "Save validation report as markdown file",
|
|
3734
|
-
"name": "save-report",
|
|
3735
|
-
"allowNo": false,
|
|
3736
|
-
"type": "boolean"
|
|
3737
|
-
},
|
|
3738
|
-
"output": {
|
|
3739
|
-
"description": "Output file path for validation report (default: validation-report.md)",
|
|
3740
|
-
"name": "output",
|
|
4512
|
+
"format": {
|
|
4513
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4514
|
+
"name": "format",
|
|
3741
4515
|
"hasDynamicHelp": false,
|
|
3742
4516
|
"multiple": false,
|
|
4517
|
+
"options": [
|
|
4518
|
+
"text",
|
|
4519
|
+
"json",
|
|
4520
|
+
"md"
|
|
4521
|
+
],
|
|
3743
4522
|
"type": "option"
|
|
3744
4523
|
}
|
|
3745
4524
|
},
|
|
3746
4525
|
"hasDynamicHelp": false,
|
|
3747
4526
|
"hiddenAliases": [],
|
|
3748
|
-
"id": "
|
|
4527
|
+
"id": "translate-sql:usage",
|
|
3749
4528
|
"pluginAlias": "@memberjunction/cli",
|
|
3750
4529
|
"pluginName": "@memberjunction/cli",
|
|
3751
4530
|
"pluginType": "core",
|
|
@@ -3755,38 +4534,50 @@
|
|
|
3755
4534
|
"relativePath": [
|
|
3756
4535
|
"dist",
|
|
3757
4536
|
"commands",
|
|
3758
|
-
"
|
|
3759
|
-
"
|
|
4537
|
+
"translate-sql",
|
|
4538
|
+
"usage.js"
|
|
3760
4539
|
]
|
|
3761
4540
|
},
|
|
3762
|
-
"sync:
|
|
4541
|
+
"sync:file-reset": {
|
|
3763
4542
|
"aliases": [],
|
|
3764
4543
|
"args": {},
|
|
3765
|
-
"description": "
|
|
4544
|
+
"description": "Reset file metadata sections",
|
|
3766
4545
|
"examples": [
|
|
3767
4546
|
"<%= config.bin %> <%= command.id %>",
|
|
3768
4547
|
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
3769
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3770
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4548
|
+
"<%= config.bin %> <%= command.id %> --sections=\"dependencies,references\"",
|
|
4549
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
3771
4550
|
],
|
|
3772
4551
|
"flags": {
|
|
3773
4552
|
"dir": {
|
|
3774
|
-
"description": "Specific entity directory to
|
|
4553
|
+
"description": "Specific entity directory to reset",
|
|
3775
4554
|
"name": "dir",
|
|
3776
4555
|
"hasDynamicHelp": false,
|
|
3777
4556
|
"multiple": false,
|
|
3778
4557
|
"type": "option"
|
|
3779
4558
|
},
|
|
3780
|
-
"
|
|
3781
|
-
"description": "
|
|
3782
|
-
"name": "
|
|
4559
|
+
"sections": {
|
|
4560
|
+
"description": "Comma-separated list of sections to reset (dependencies,references,related,lookup)",
|
|
4561
|
+
"name": "sections",
|
|
3783
4562
|
"hasDynamicHelp": false,
|
|
3784
4563
|
"multiple": false,
|
|
3785
4564
|
"type": "option"
|
|
3786
4565
|
},
|
|
3787
|
-
"
|
|
3788
|
-
"description": "
|
|
3789
|
-
"name": "
|
|
4566
|
+
"all": {
|
|
4567
|
+
"description": "Reset all metadata sections",
|
|
4568
|
+
"name": "all",
|
|
4569
|
+
"allowNo": false,
|
|
4570
|
+
"type": "boolean"
|
|
4571
|
+
},
|
|
4572
|
+
"dry-run": {
|
|
4573
|
+
"description": "Show what would be reset without actually resetting",
|
|
4574
|
+
"name": "dry-run",
|
|
4575
|
+
"allowNo": false,
|
|
4576
|
+
"type": "boolean"
|
|
4577
|
+
},
|
|
4578
|
+
"force": {
|
|
4579
|
+
"description": "Skip confirmation prompts",
|
|
4580
|
+
"name": "force",
|
|
3790
4581
|
"allowNo": false,
|
|
3791
4582
|
"type": "boolean"
|
|
3792
4583
|
},
|
|
@@ -3800,7 +4591,7 @@
|
|
|
3800
4591
|
},
|
|
3801
4592
|
"hasDynamicHelp": false,
|
|
3802
4593
|
"hiddenAliases": [],
|
|
3803
|
-
"id": "sync:
|
|
4594
|
+
"id": "sync:file-reset",
|
|
3804
4595
|
"pluginAlias": "@memberjunction/cli",
|
|
3805
4596
|
"pluginName": "@memberjunction/cli",
|
|
3806
4597
|
"pluginType": "core",
|
|
@@ -3811,109 +4602,68 @@
|
|
|
3811
4602
|
"dist",
|
|
3812
4603
|
"commands",
|
|
3813
4604
|
"sync",
|
|
3814
|
-
"
|
|
4605
|
+
"file-reset.js"
|
|
3815
4606
|
]
|
|
3816
4607
|
},
|
|
3817
|
-
"
|
|
3818
|
-
"aliases": [],
|
|
3819
|
-
"args": {
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
"
|
|
3824
|
-
|
|
3825
|
-
"runId2": {
|
|
3826
|
-
"description": "Second test run ID to compare",
|
|
3827
|
-
"name": "runId2",
|
|
3828
|
-
"required": false
|
|
3829
|
-
}
|
|
3830
|
-
},
|
|
3831
|
-
"description": "Compare test runs for regression detection",
|
|
3832
|
-
"examples": [
|
|
3833
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3834
|
-
"<%= config.bin %> <%= command.id %> --latest",
|
|
3835
|
-
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
3836
|
-
"<%= config.bin %> <%= command.id %> -v 5.17.0 -v 5.18.0",
|
|
3837
|
-
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
3838
|
-
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
3839
|
-
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
3840
|
-
],
|
|
3841
|
-
"flags": {
|
|
3842
|
-
"version": {
|
|
3843
|
-
"char": "v",
|
|
3844
|
-
"description": "Compare runs by version",
|
|
3845
|
-
"name": "version",
|
|
3846
|
-
"hasDynamicHelp": false,
|
|
3847
|
-
"multiple": true,
|
|
3848
|
-
"type": "option"
|
|
3849
|
-
},
|
|
3850
|
-
"commit": {
|
|
3851
|
-
"char": "c",
|
|
3852
|
-
"description": "Compare runs by git commit",
|
|
3853
|
-
"name": "commit",
|
|
3854
|
-
"hasDynamicHelp": false,
|
|
3855
|
-
"multiple": true,
|
|
3856
|
-
"type": "option"
|
|
3857
|
-
},
|
|
3858
|
-
"diff-only": {
|
|
3859
|
-
"description": "Show only differences",
|
|
3860
|
-
"name": "diff-only",
|
|
3861
|
-
"allowNo": false,
|
|
3862
|
-
"type": "boolean"
|
|
4608
|
+
"sync:init": {
|
|
4609
|
+
"aliases": [],
|
|
4610
|
+
"args": {},
|
|
4611
|
+
"description": "Initialize a directory for metadata synchronization.\n\nPrompts at a terminal; runs unattended when piped, spawned, or in CI. To script it,\npass --setup-entity (and --entity/--dir when setting up \"other\").",
|
|
4612
|
+
"examples": [
|
|
4613
|
+
{
|
|
4614
|
+
"command": "<%= config.bin %> <%= command.id %> --setup-entity=no",
|
|
4615
|
+
"description": "Initialize with no entity directory"
|
|
3863
4616
|
},
|
|
3864
|
-
|
|
3865
|
-
"
|
|
3866
|
-
"description": "
|
|
3867
|
-
"name": "latest",
|
|
3868
|
-
"allowNo": false,
|
|
3869
|
-
"type": "boolean"
|
|
4617
|
+
{
|
|
4618
|
+
"command": "<%= config.bin %> <%= command.id %> --setup-entity=ai-prompts",
|
|
4619
|
+
"description": "Initialize and set up the AI Prompts directory"
|
|
3870
4620
|
},
|
|
3871
|
-
|
|
3872
|
-
"
|
|
3873
|
-
"
|
|
3874
|
-
"hasDynamicHelp": false,
|
|
3875
|
-
"multiple": true,
|
|
3876
|
-
"type": "option"
|
|
4621
|
+
{
|
|
4622
|
+
"command": "<%= config.bin %> <%= command.id %> --setup-entity=other --entity=\"MJ: AI Models\" --dir=ai-models",
|
|
4623
|
+
"description": "Initialize for an arbitrary entity"
|
|
3877
4624
|
},
|
|
3878
|
-
|
|
3879
|
-
"
|
|
3880
|
-
"description": "
|
|
3881
|
-
|
|
3882
|
-
|
|
4625
|
+
{
|
|
4626
|
+
"command": "<%= config.bin %> <%= command.id %> --no-interactive --setup-entity=no",
|
|
4627
|
+
"description": "Never prompt, even at a terminal"
|
|
4628
|
+
}
|
|
4629
|
+
],
|
|
4630
|
+
"flags": {
|
|
4631
|
+
"setup-entity": {
|
|
4632
|
+
"description": "Which entity directory to set up. Use \"no\" to skip.",
|
|
4633
|
+
"name": "setup-entity",
|
|
3883
4634
|
"hasDynamicHelp": false,
|
|
3884
4635
|
"multiple": false,
|
|
3885
4636
|
"options": [
|
|
3886
|
-
"
|
|
3887
|
-
"
|
|
3888
|
-
"
|
|
4637
|
+
"ai-prompts",
|
|
4638
|
+
"other",
|
|
4639
|
+
"no"
|
|
3889
4640
|
],
|
|
3890
4641
|
"type": "option"
|
|
3891
4642
|
},
|
|
3892
|
-
"
|
|
3893
|
-
"
|
|
3894
|
-
"
|
|
3895
|
-
"name": "output",
|
|
4643
|
+
"entity": {
|
|
4644
|
+
"description": "Entity name when --setup-entity=other (e.g. \"MJ: AI Models\").",
|
|
4645
|
+
"name": "entity",
|
|
3896
4646
|
"hasDynamicHelp": false,
|
|
3897
4647
|
"multiple": false,
|
|
3898
4648
|
"type": "option"
|
|
3899
4649
|
},
|
|
3900
|
-
"
|
|
3901
|
-
"description": "
|
|
3902
|
-
"name": "
|
|
3903
|
-
"allowNo": false,
|
|
3904
|
-
"type": "boolean"
|
|
3905
|
-
},
|
|
3906
|
-
"tag": {
|
|
3907
|
-
"description": "Filter suite runs by tag (matches against MJTestSuiteRunEntity.Tags). Useful for isolating runs from a specific source environment in an archive MJ. DB mode only — --from-json ignores this flag.",
|
|
3908
|
-
"name": "tag",
|
|
4650
|
+
"dir": {
|
|
4651
|
+
"description": "Directory name when --setup-entity=other. Defaults to a slug of --entity.",
|
|
4652
|
+
"name": "dir",
|
|
3909
4653
|
"hasDynamicHelp": false,
|
|
3910
4654
|
"multiple": false,
|
|
3911
4655
|
"type": "option"
|
|
4656
|
+
},
|
|
4657
|
+
"overwrite": {
|
|
4658
|
+
"description": "Overwrite an existing configuration. Without this, an initialized directory is left untouched.",
|
|
4659
|
+
"name": "overwrite",
|
|
4660
|
+
"allowNo": true,
|
|
4661
|
+
"type": "boolean"
|
|
3912
4662
|
}
|
|
3913
4663
|
},
|
|
3914
4664
|
"hasDynamicHelp": false,
|
|
3915
4665
|
"hiddenAliases": [],
|
|
3916
|
-
"id": "
|
|
4666
|
+
"id": "sync:init",
|
|
3917
4667
|
"pluginAlias": "@memberjunction/cli",
|
|
3918
4668
|
"pluginName": "@memberjunction/cli",
|
|
3919
4669
|
"pluginType": "core",
|
|
@@ -3923,301 +4673,427 @@
|
|
|
3923
4673
|
"relativePath": [
|
|
3924
4674
|
"dist",
|
|
3925
4675
|
"commands",
|
|
3926
|
-
"
|
|
3927
|
-
"
|
|
4676
|
+
"sync",
|
|
4677
|
+
"init.js"
|
|
3928
4678
|
]
|
|
3929
4679
|
},
|
|
3930
|
-
"
|
|
4680
|
+
"sync:pull": {
|
|
3931
4681
|
"aliases": [],
|
|
3932
4682
|
"args": {},
|
|
3933
|
-
"description": "
|
|
4683
|
+
"description": "Pull metadata from database to local files",
|
|
3934
4684
|
"examples": [
|
|
3935
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3936
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3937
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3938
|
-
"<%= config.bin %> <%= command.id %> --since=\"2024-01-01\"",
|
|
3939
|
-
"<%= config.bin %> <%= command.id %> --limit=50"
|
|
4685
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\"",
|
|
4686
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Agents\" --merge-strategy=overwrite",
|
|
4687
|
+
"<%= config.bin %> <%= command.id %> --entity=\"Templates\" --dry-run --verbose"
|
|
3940
4688
|
],
|
|
3941
4689
|
"flags": {
|
|
3942
|
-
"
|
|
3943
|
-
"
|
|
3944
|
-
"
|
|
3945
|
-
"name": "test",
|
|
4690
|
+
"format": {
|
|
4691
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown-fenced). Defaults to text on a terminal and json when stdout is piped.",
|
|
4692
|
+
"name": "format",
|
|
3946
4693
|
"hasDynamicHelp": false,
|
|
3947
4694
|
"multiple": false,
|
|
4695
|
+
"options": [
|
|
4696
|
+
"text",
|
|
4697
|
+
"json",
|
|
4698
|
+
"md",
|
|
4699
|
+
"human",
|
|
4700
|
+
"console",
|
|
4701
|
+
"markdown"
|
|
4702
|
+
],
|
|
3948
4703
|
"type": "option"
|
|
3949
4704
|
},
|
|
3950
|
-
"
|
|
3951
|
-
"char": "
|
|
3952
|
-
"description": "
|
|
3953
|
-
"name": "
|
|
4705
|
+
"verbose": {
|
|
4706
|
+
"char": "v",
|
|
4707
|
+
"description": "Show detailed output",
|
|
4708
|
+
"name": "verbose",
|
|
4709
|
+
"allowNo": false,
|
|
4710
|
+
"type": "boolean"
|
|
4711
|
+
},
|
|
4712
|
+
"no-banner": {
|
|
4713
|
+
"description": "Suppress the startup banner and runtime advisory",
|
|
4714
|
+
"name": "no-banner",
|
|
4715
|
+
"allowNo": false,
|
|
4716
|
+
"type": "boolean"
|
|
4717
|
+
},
|
|
4718
|
+
"interactive": {
|
|
4719
|
+
"description": "Allow interactive prompts. Defaults to on at a terminal and off when piped, spawned, or in CI, so an agent never hangs on a question. Use --no-interactive to force it off.",
|
|
4720
|
+
"name": "interactive",
|
|
4721
|
+
"allowNo": true,
|
|
4722
|
+
"type": "boolean"
|
|
4723
|
+
},
|
|
4724
|
+
"entity": {
|
|
4725
|
+
"description": "Entity name to pull",
|
|
4726
|
+
"name": "entity",
|
|
4727
|
+
"required": true,
|
|
3954
4728
|
"hasDynamicHelp": false,
|
|
3955
4729
|
"multiple": false,
|
|
3956
4730
|
"type": "option"
|
|
3957
4731
|
},
|
|
3958
|
-
"
|
|
3959
|
-
"description": "
|
|
3960
|
-
"name": "
|
|
4732
|
+
"filter": {
|
|
4733
|
+
"description": "Additional filter for pulling specific records",
|
|
4734
|
+
"name": "filter",
|
|
3961
4735
|
"hasDynamicHelp": false,
|
|
3962
4736
|
"multiple": false,
|
|
3963
4737
|
"type": "option"
|
|
3964
4738
|
},
|
|
3965
|
-
"
|
|
3966
|
-
"
|
|
3967
|
-
"
|
|
3968
|
-
"
|
|
4739
|
+
"dry-run": {
|
|
4740
|
+
"description": "Show what would be pulled without actually pulling",
|
|
4741
|
+
"name": "dry-run",
|
|
4742
|
+
"allowNo": false,
|
|
4743
|
+
"type": "boolean"
|
|
4744
|
+
},
|
|
4745
|
+
"multi-file": {
|
|
4746
|
+
"description": "Create a single file with multiple records (provide filename)",
|
|
4747
|
+
"name": "multi-file",
|
|
3969
4748
|
"hasDynamicHelp": false,
|
|
3970
4749
|
"multiple": false,
|
|
3971
4750
|
"type": "option"
|
|
3972
4751
|
},
|
|
3973
|
-
"
|
|
3974
|
-
"
|
|
3975
|
-
"
|
|
3976
|
-
"
|
|
3977
|
-
"
|
|
4752
|
+
"no-validate": {
|
|
4753
|
+
"description": "Skip validation before pull",
|
|
4754
|
+
"name": "no-validate",
|
|
4755
|
+
"allowNo": false,
|
|
4756
|
+
"type": "boolean"
|
|
4757
|
+
},
|
|
4758
|
+
"update-existing": {
|
|
4759
|
+
"description": "Update existing records during pull",
|
|
4760
|
+
"name": "update-existing",
|
|
4761
|
+
"allowNo": false,
|
|
4762
|
+
"type": "boolean"
|
|
4763
|
+
},
|
|
4764
|
+
"create-new": {
|
|
4765
|
+
"description": "Create new files for records not found locally",
|
|
4766
|
+
"name": "create-new",
|
|
4767
|
+
"allowNo": false,
|
|
4768
|
+
"type": "boolean"
|
|
4769
|
+
},
|
|
4770
|
+
"backup-before-update": {
|
|
4771
|
+
"description": "Create backups before updating files",
|
|
4772
|
+
"name": "backup-before-update",
|
|
4773
|
+
"allowNo": false,
|
|
4774
|
+
"type": "boolean"
|
|
4775
|
+
},
|
|
4776
|
+
"merge-strategy": {
|
|
4777
|
+
"description": "Merge strategy for updates",
|
|
4778
|
+
"name": "merge-strategy",
|
|
4779
|
+
"default": "merge",
|
|
3978
4780
|
"hasDynamicHelp": false,
|
|
3979
4781
|
"multiple": false,
|
|
3980
4782
|
"options": [
|
|
3981
|
-
"
|
|
3982
|
-
"
|
|
3983
|
-
"
|
|
4783
|
+
"merge",
|
|
4784
|
+
"overwrite",
|
|
4785
|
+
"skip"
|
|
3984
4786
|
],
|
|
3985
4787
|
"type": "option"
|
|
3986
4788
|
},
|
|
3987
|
-
"
|
|
3988
|
-
"
|
|
3989
|
-
"
|
|
3990
|
-
"name": "output",
|
|
4789
|
+
"backup-directory": {
|
|
4790
|
+
"description": "Custom backup directory (default: .backups)",
|
|
4791
|
+
"name": "backup-directory",
|
|
3991
4792
|
"hasDynamicHelp": false,
|
|
3992
4793
|
"multiple": false,
|
|
3993
4794
|
"type": "option"
|
|
3994
4795
|
},
|
|
3995
|
-
"
|
|
3996
|
-
"
|
|
3997
|
-
"
|
|
3998
|
-
"
|
|
4796
|
+
"preserve-fields": {
|
|
4797
|
+
"description": "Comma-separated list of fields to preserve during updates",
|
|
4798
|
+
"name": "preserve-fields",
|
|
4799
|
+
"hasDynamicHelp": false,
|
|
4800
|
+
"multiple": true,
|
|
4801
|
+
"type": "option"
|
|
4802
|
+
},
|
|
4803
|
+
"exclude-fields": {
|
|
4804
|
+
"description": "Comma-separated list of fields to exclude from pull",
|
|
4805
|
+
"name": "exclude-fields",
|
|
4806
|
+
"hasDynamicHelp": false,
|
|
4807
|
+
"multiple": true,
|
|
4808
|
+
"type": "option"
|
|
4809
|
+
},
|
|
4810
|
+
"target-dir": {
|
|
4811
|
+
"description": "Specific target directory (overrides auto-discovery)",
|
|
4812
|
+
"name": "target-dir",
|
|
4813
|
+
"hasDynamicHelp": false,
|
|
4814
|
+
"multiple": false,
|
|
4815
|
+
"type": "option"
|
|
4816
|
+
},
|
|
4817
|
+
"incremental": {
|
|
4818
|
+
"description": "Only pull records updated since last successful pull",
|
|
4819
|
+
"name": "incremental",
|
|
3999
4820
|
"allowNo": false,
|
|
4000
4821
|
"type": "boolean"
|
|
4822
|
+
},
|
|
4823
|
+
"since": {
|
|
4824
|
+
"description": "Only pull records updated after this ISO 8601 timestamp",
|
|
4825
|
+
"name": "since",
|
|
4826
|
+
"hasDynamicHelp": false,
|
|
4827
|
+
"multiple": false,
|
|
4828
|
+
"type": "option"
|
|
4001
4829
|
}
|
|
4002
4830
|
},
|
|
4003
4831
|
"hasDynamicHelp": false,
|
|
4004
4832
|
"hiddenAliases": [],
|
|
4005
|
-
"id": "
|
|
4006
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4007
|
-
"pluginName": "@memberjunction/cli",
|
|
4008
|
-
"pluginType": "core",
|
|
4009
|
-
"strict": true,
|
|
4010
|
-
"enableJsonFlag": false,
|
|
4011
|
-
"isESM": true,
|
|
4012
|
-
"relativePath": [
|
|
4013
|
-
"dist",
|
|
4014
|
-
"commands",
|
|
4015
|
-
"test",
|
|
4016
|
-
"history.js"
|
|
4017
|
-
]
|
|
4018
|
-
},
|
|
4019
|
-
"test": {
|
|
4020
|
-
"aliases": [],
|
|
4021
|
-
"args": {},
|
|
4022
|
-
"description": "MemberJunction Testing Framework - Execute and manage tests",
|
|
4023
|
-
"examples": [
|
|
4024
|
-
"<%= config.bin %> <%= command.id %> run <test-id>",
|
|
4025
|
-
"<%= config.bin %> <%= command.id %> run --name=\"Active Members Count\"",
|
|
4026
|
-
"<%= config.bin %> <%= command.id %> suite <suite-id>",
|
|
4027
|
-
"<%= config.bin %> <%= command.id %> list",
|
|
4028
|
-
"<%= config.bin %> <%= command.id %> list --suites",
|
|
4029
|
-
"<%= config.bin %> <%= command.id %> validate --all"
|
|
4030
|
-
],
|
|
4031
|
-
"flags": {},
|
|
4032
|
-
"hasDynamicHelp": false,
|
|
4033
|
-
"hiddenAliases": [],
|
|
4034
|
-
"id": "test",
|
|
4833
|
+
"id": "sync:pull",
|
|
4035
4834
|
"pluginAlias": "@memberjunction/cli",
|
|
4036
4835
|
"pluginName": "@memberjunction/cli",
|
|
4037
4836
|
"pluginType": "core",
|
|
4038
4837
|
"strict": true,
|
|
4039
4838
|
"enableJsonFlag": false,
|
|
4839
|
+
"Usage": {
|
|
4840
|
+
"domain": "sync",
|
|
4841
|
+
"command": "sync:pull",
|
|
4842
|
+
"summary": "Pull database records into local metadata files.",
|
|
4843
|
+
"description": "Writes records of --entity into the matching entity directory, creating or updating files per the merge strategy.",
|
|
4844
|
+
"flags": [
|
|
4845
|
+
{
|
|
4846
|
+
"name": "--entity",
|
|
4847
|
+
"type": "string",
|
|
4848
|
+
"description": "Entity name to pull (required)"
|
|
4849
|
+
},
|
|
4850
|
+
{
|
|
4851
|
+
"name": "--filter",
|
|
4852
|
+
"type": "string",
|
|
4853
|
+
"description": "Extra SQL filter for which records to pull"
|
|
4854
|
+
},
|
|
4855
|
+
{
|
|
4856
|
+
"name": "--merge-strategy",
|
|
4857
|
+
"type": "merge|overwrite|skip",
|
|
4858
|
+
"description": "How to reconcile existing files"
|
|
4859
|
+
},
|
|
4860
|
+
{
|
|
4861
|
+
"name": "--dry-run",
|
|
4862
|
+
"type": "boolean",
|
|
4863
|
+
"description": "Report what would be pulled without writing"
|
|
4864
|
+
},
|
|
4865
|
+
{
|
|
4866
|
+
"name": "--format",
|
|
4867
|
+
"type": "text|json|md",
|
|
4868
|
+
"description": "Output format (json for machine-readable result)"
|
|
4869
|
+
}
|
|
4870
|
+
],
|
|
4871
|
+
"examples": [
|
|
4872
|
+
"mj sync pull --entity=\"MJ: AI Prompts\"",
|
|
4873
|
+
"mj sync pull --entity=\"Actions\" --format=json"
|
|
4874
|
+
],
|
|
4875
|
+
"runtime": {
|
|
4876
|
+
"class": "variable",
|
|
4877
|
+
"typicalSeconds": 15,
|
|
4878
|
+
"note": "scales with number of records matched for --entity"
|
|
4879
|
+
}
|
|
4880
|
+
},
|
|
4040
4881
|
"isESM": true,
|
|
4041
4882
|
"relativePath": [
|
|
4042
4883
|
"dist",
|
|
4043
4884
|
"commands",
|
|
4044
|
-
"
|
|
4045
|
-
"
|
|
4885
|
+
"sync",
|
|
4886
|
+
"pull.js"
|
|
4046
4887
|
]
|
|
4047
4888
|
},
|
|
4048
|
-
"
|
|
4889
|
+
"sync:push": {
|
|
4049
4890
|
"aliases": [],
|
|
4050
4891
|
"args": {},
|
|
4051
|
-
"description": "
|
|
4892
|
+
"description": "Push local file changes to the database",
|
|
4052
4893
|
"examples": [
|
|
4053
4894
|
"<%= config.bin %> <%= command.id %>",
|
|
4054
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4055
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4056
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4057
|
-
"<%= config.bin %> <%= command.id %> --tag=smoke",
|
|
4058
|
-
"<%= config.bin %> <%= command.id %> --status=active --verbose"
|
|
4895
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
4896
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
4897
|
+
"<%= config.bin %> <%= command.id %> --ci --format=json"
|
|
4059
4898
|
],
|
|
4060
4899
|
"flags": {
|
|
4061
|
-
"
|
|
4062
|
-
"description": "
|
|
4063
|
-
"name": "
|
|
4900
|
+
"format": {
|
|
4901
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown-fenced). Defaults to text on a terminal and json when stdout is piped.",
|
|
4902
|
+
"name": "format",
|
|
4903
|
+
"hasDynamicHelp": false,
|
|
4904
|
+
"multiple": false,
|
|
4905
|
+
"options": [
|
|
4906
|
+
"text",
|
|
4907
|
+
"json",
|
|
4908
|
+
"md",
|
|
4909
|
+
"human",
|
|
4910
|
+
"console",
|
|
4911
|
+
"markdown"
|
|
4912
|
+
],
|
|
4913
|
+
"type": "option"
|
|
4914
|
+
},
|
|
4915
|
+
"verbose": {
|
|
4916
|
+
"char": "v",
|
|
4917
|
+
"description": "Show detailed output",
|
|
4918
|
+
"name": "verbose",
|
|
4064
4919
|
"allowNo": false,
|
|
4065
4920
|
"type": "boolean"
|
|
4066
4921
|
},
|
|
4067
|
-
"
|
|
4068
|
-
"description": "
|
|
4069
|
-
"name": "
|
|
4922
|
+
"no-banner": {
|
|
4923
|
+
"description": "Suppress the startup banner and runtime advisory",
|
|
4924
|
+
"name": "no-banner",
|
|
4070
4925
|
"allowNo": false,
|
|
4071
4926
|
"type": "boolean"
|
|
4072
4927
|
},
|
|
4073
|
-
"
|
|
4074
|
-
"
|
|
4075
|
-
"
|
|
4076
|
-
"
|
|
4077
|
-
"
|
|
4078
|
-
"multiple": false,
|
|
4079
|
-
"type": "option"
|
|
4928
|
+
"interactive": {
|
|
4929
|
+
"description": "Allow interactive prompts. Defaults to on at a terminal and off when piped, spawned, or in CI, so an agent never hangs on a question. Use --no-interactive to force it off.",
|
|
4930
|
+
"name": "interactive",
|
|
4931
|
+
"allowNo": true,
|
|
4932
|
+
"type": "boolean"
|
|
4080
4933
|
},
|
|
4081
|
-
"
|
|
4082
|
-
"description": "
|
|
4083
|
-
"name": "
|
|
4934
|
+
"dir": {
|
|
4935
|
+
"description": "Specific entity directory to push",
|
|
4936
|
+
"name": "dir",
|
|
4084
4937
|
"hasDynamicHelp": false,
|
|
4085
4938
|
"multiple": false,
|
|
4086
4939
|
"type": "option"
|
|
4087
4940
|
},
|
|
4088
|
-
"
|
|
4089
|
-
"
|
|
4090
|
-
"
|
|
4091
|
-
"
|
|
4941
|
+
"dry-run": {
|
|
4942
|
+
"description": "Show what would be pushed without actually pushing",
|
|
4943
|
+
"name": "dry-run",
|
|
4944
|
+
"allowNo": false,
|
|
4945
|
+
"type": "boolean"
|
|
4946
|
+
},
|
|
4947
|
+
"ci": {
|
|
4948
|
+
"description": "CI mode - no prompts, fail on issues",
|
|
4949
|
+
"name": "ci",
|
|
4950
|
+
"allowNo": false,
|
|
4951
|
+
"type": "boolean"
|
|
4952
|
+
},
|
|
4953
|
+
"no-validate": {
|
|
4954
|
+
"description": "Skip validation before push",
|
|
4955
|
+
"name": "no-validate",
|
|
4956
|
+
"allowNo": false,
|
|
4957
|
+
"type": "boolean"
|
|
4958
|
+
},
|
|
4959
|
+
"delete-db-only": {
|
|
4960
|
+
"description": "Delete database-only records that reference records being deleted (prevents FK errors)",
|
|
4961
|
+
"name": "delete-db-only",
|
|
4962
|
+
"allowNo": false,
|
|
4963
|
+
"type": "boolean"
|
|
4964
|
+
},
|
|
4965
|
+
"parallel-batch-size": {
|
|
4966
|
+
"description": "Number of records to process in parallel (default: 10)",
|
|
4967
|
+
"name": "parallel-batch-size",
|
|
4968
|
+
"default": 10,
|
|
4092
4969
|
"hasDynamicHelp": false,
|
|
4093
4970
|
"multiple": false,
|
|
4094
4971
|
"type": "option"
|
|
4095
4972
|
},
|
|
4096
|
-
"
|
|
4097
|
-
"
|
|
4098
|
-
"
|
|
4099
|
-
"name": "format",
|
|
4100
|
-
"default": "console",
|
|
4973
|
+
"include": {
|
|
4974
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
4975
|
+
"name": "include",
|
|
4101
4976
|
"hasDynamicHelp": false,
|
|
4102
4977
|
"multiple": false,
|
|
4103
|
-
"options": [
|
|
4104
|
-
"console",
|
|
4105
|
-
"json",
|
|
4106
|
-
"markdown"
|
|
4107
|
-
],
|
|
4108
4978
|
"type": "option"
|
|
4109
4979
|
},
|
|
4110
|
-
"
|
|
4111
|
-
"
|
|
4112
|
-
"
|
|
4113
|
-
"name": "output",
|
|
4980
|
+
"exclude": {
|
|
4981
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
4982
|
+
"name": "exclude",
|
|
4114
4983
|
"hasDynamicHelp": false,
|
|
4115
4984
|
"multiple": false,
|
|
4116
4985
|
"type": "option"
|
|
4117
4986
|
},
|
|
4118
|
-
"
|
|
4119
|
-
"
|
|
4120
|
-
"
|
|
4121
|
-
"
|
|
4987
|
+
"incremental": {
|
|
4988
|
+
"description": "Skip unchanged files using stored checksums from last push",
|
|
4989
|
+
"name": "incremental",
|
|
4990
|
+
"allowNo": false,
|
|
4991
|
+
"type": "boolean"
|
|
4992
|
+
},
|
|
4993
|
+
"change-detail": {
|
|
4994
|
+
"description": "Write a detailed per-record change report (primary keys + field diffs) to a file",
|
|
4995
|
+
"name": "change-detail",
|
|
4122
4996
|
"allowNo": false,
|
|
4123
4997
|
"type": "boolean"
|
|
4124
4998
|
}
|
|
4125
4999
|
},
|
|
4126
5000
|
"hasDynamicHelp": false,
|
|
4127
5001
|
"hiddenAliases": [],
|
|
4128
|
-
"id": "
|
|
5002
|
+
"id": "sync:push",
|
|
4129
5003
|
"pluginAlias": "@memberjunction/cli",
|
|
4130
5004
|
"pluginName": "@memberjunction/cli",
|
|
4131
5005
|
"pluginType": "core",
|
|
4132
5006
|
"strict": true,
|
|
4133
5007
|
"enableJsonFlag": false,
|
|
5008
|
+
"Usage": {
|
|
5009
|
+
"domain": "sync",
|
|
5010
|
+
"command": "sync:push",
|
|
5011
|
+
"summary": "Push local metadata files to the database (upsert).",
|
|
5012
|
+
"description": "Reads entity directories under --dir and creates/updates matching records. Runs validation first unless --no-validate.",
|
|
5013
|
+
"flags": [
|
|
5014
|
+
{
|
|
5015
|
+
"name": "--dir",
|
|
5016
|
+
"type": "string",
|
|
5017
|
+
"description": "Entity directory to push"
|
|
5018
|
+
},
|
|
5019
|
+
{
|
|
5020
|
+
"name": "--dry-run",
|
|
5021
|
+
"type": "boolean",
|
|
5022
|
+
"description": "Report what would change without writing"
|
|
5023
|
+
},
|
|
5024
|
+
{
|
|
5025
|
+
"name": "--ci",
|
|
5026
|
+
"type": "boolean",
|
|
5027
|
+
"description": "No prompts; non-zero exit on error"
|
|
5028
|
+
},
|
|
5029
|
+
{
|
|
5030
|
+
"name": "--no-validate",
|
|
5031
|
+
"type": "boolean",
|
|
5032
|
+
"description": "Skip pre-push validation"
|
|
5033
|
+
},
|
|
5034
|
+
{
|
|
5035
|
+
"name": "--incremental",
|
|
5036
|
+
"type": "boolean",
|
|
5037
|
+
"description": "Skip unchanged files using stored checksums"
|
|
5038
|
+
},
|
|
5039
|
+
{
|
|
5040
|
+
"name": "--format",
|
|
5041
|
+
"type": "text|json|md",
|
|
5042
|
+
"description": "Output format (json for machine-readable result)"
|
|
5043
|
+
}
|
|
5044
|
+
],
|
|
5045
|
+
"examples": [
|
|
5046
|
+
"mj sync push --dir=ai-agents",
|
|
5047
|
+
"mj sync push --ci --format=json"
|
|
5048
|
+
],
|
|
5049
|
+
"runtime": {
|
|
5050
|
+
"class": "variable",
|
|
5051
|
+
"typicalSeconds": 20,
|
|
5052
|
+
"note": "scales with number of records in --dir"
|
|
5053
|
+
}
|
|
5054
|
+
},
|
|
4134
5055
|
"isESM": true,
|
|
4135
5056
|
"relativePath": [
|
|
4136
5057
|
"dist",
|
|
4137
5058
|
"commands",
|
|
4138
|
-
"
|
|
4139
|
-
"
|
|
5059
|
+
"sync",
|
|
5060
|
+
"push.js"
|
|
4140
5061
|
]
|
|
4141
5062
|
},
|
|
4142
|
-
"
|
|
5063
|
+
"sync:status": {
|
|
4143
5064
|
"aliases": [],
|
|
4144
|
-
"args": {
|
|
4145
|
-
|
|
4146
|
-
"description": "Test ID to execute",
|
|
4147
|
-
"name": "testId",
|
|
4148
|
-
"required": false
|
|
4149
|
-
}
|
|
4150
|
-
},
|
|
4151
|
-
"description": "Execute a single test by ID or name",
|
|
5065
|
+
"args": {},
|
|
5066
|
+
"description": "Show status of local files vs database",
|
|
4152
5067
|
"examples": [
|
|
4153
|
-
"<%= config.bin %> <%= command.id %>
|
|
4154
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4155
|
-
"<%= config.bin %> <%= command.id %>
|
|
4156
|
-
"<%= config.bin %> <%= command.id %> <test-id> --format=json --output=results.json",
|
|
4157
|
-
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
5068
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5069
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
5070
|
+
"<%= config.bin %> <%= command.id %> --verbose"
|
|
4158
5071
|
],
|
|
4159
5072
|
"flags": {
|
|
4160
|
-
"
|
|
4161
|
-
"
|
|
4162
|
-
"
|
|
4163
|
-
"name": "name",
|
|
4164
|
-
"hasDynamicHelp": false,
|
|
4165
|
-
"multiple": false,
|
|
4166
|
-
"type": "option"
|
|
4167
|
-
},
|
|
4168
|
-
"environment": {
|
|
4169
|
-
"char": "e",
|
|
4170
|
-
"description": "Environment context (dev, staging, prod)",
|
|
4171
|
-
"name": "environment",
|
|
4172
|
-
"hasDynamicHelp": false,
|
|
4173
|
-
"multiple": false,
|
|
4174
|
-
"type": "option"
|
|
4175
|
-
},
|
|
4176
|
-
"format": {
|
|
4177
|
-
"char": "f",
|
|
4178
|
-
"description": "Output format",
|
|
4179
|
-
"name": "format",
|
|
4180
|
-
"default": "console",
|
|
4181
|
-
"hasDynamicHelp": false,
|
|
4182
|
-
"multiple": false,
|
|
4183
|
-
"options": [
|
|
4184
|
-
"console",
|
|
4185
|
-
"json",
|
|
4186
|
-
"markdown"
|
|
4187
|
-
],
|
|
4188
|
-
"type": "option"
|
|
4189
|
-
},
|
|
4190
|
-
"output": {
|
|
4191
|
-
"char": "o",
|
|
4192
|
-
"description": "Output file path",
|
|
4193
|
-
"name": "output",
|
|
5073
|
+
"dir": {
|
|
5074
|
+
"description": "Specific entity directory to check status",
|
|
5075
|
+
"name": "dir",
|
|
4194
5076
|
"hasDynamicHelp": false,
|
|
4195
5077
|
"multiple": false,
|
|
4196
5078
|
"type": "option"
|
|
4197
5079
|
},
|
|
4198
|
-
"dry-run": {
|
|
4199
|
-
"description": "Validate without executing",
|
|
4200
|
-
"name": "dry-run",
|
|
4201
|
-
"allowNo": false,
|
|
4202
|
-
"type": "boolean"
|
|
4203
|
-
},
|
|
4204
5080
|
"verbose": {
|
|
4205
5081
|
"char": "v",
|
|
4206
|
-
"description": "Show detailed
|
|
5082
|
+
"description": "Show detailed field-level differences",
|
|
4207
5083
|
"name": "verbose",
|
|
4208
5084
|
"allowNo": false,
|
|
4209
5085
|
"type": "boolean"
|
|
4210
5086
|
},
|
|
4211
|
-
"
|
|
4212
|
-
"description": "
|
|
4213
|
-
"name": "
|
|
5087
|
+
"include": {
|
|
5088
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
5089
|
+
"name": "include",
|
|
4214
5090
|
"hasDynamicHelp": false,
|
|
4215
5091
|
"multiple": false,
|
|
4216
5092
|
"type": "option"
|
|
4217
5093
|
},
|
|
4218
|
-
"
|
|
4219
|
-
"description": "
|
|
4220
|
-
"name": "
|
|
5094
|
+
"exclude": {
|
|
5095
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
5096
|
+
"name": "exclude",
|
|
4221
5097
|
"hasDynamicHelp": false,
|
|
4222
5098
|
"multiple": false,
|
|
4223
5099
|
"type": "option"
|
|
@@ -4225,7 +5101,7 @@
|
|
|
4225
5101
|
},
|
|
4226
5102
|
"hasDynamicHelp": false,
|
|
4227
5103
|
"hiddenAliases": [],
|
|
4228
|
-
"id": "
|
|
5104
|
+
"id": "sync:status",
|
|
4229
5105
|
"pluginAlias": "@memberjunction/cli",
|
|
4230
5106
|
"pluginName": "@memberjunction/cli",
|
|
4231
5107
|
"pluginType": "core",
|
|
@@ -4235,113 +5111,31 @@
|
|
|
4235
5111
|
"relativePath": [
|
|
4236
5112
|
"dist",
|
|
4237
5113
|
"commands",
|
|
4238
|
-
"
|
|
4239
|
-
"
|
|
5114
|
+
"sync",
|
|
5115
|
+
"status.js"
|
|
4240
5116
|
]
|
|
4241
5117
|
},
|
|
4242
|
-
"
|
|
5118
|
+
"sync:usage": {
|
|
4243
5119
|
"aliases": [],
|
|
4244
|
-
"args": {
|
|
4245
|
-
|
|
4246
|
-
"description": "Test suite ID to execute",
|
|
4247
|
-
"name": "suiteId",
|
|
4248
|
-
"required": false
|
|
4249
|
-
}
|
|
4250
|
-
},
|
|
4251
|
-
"description": "Execute a test suite",
|
|
4252
|
-
"examples": [
|
|
4253
|
-
"<%= config.bin %> <%= command.id %> <suite-id>",
|
|
4254
|
-
"<%= config.bin %> <%= command.id %> --name=\"Agent Quality Suite\"",
|
|
4255
|
-
"<%= config.bin %> <%= command.id %> <suite-id> --format=json",
|
|
4256
|
-
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
4257
|
-
],
|
|
5120
|
+
"args": {},
|
|
5121
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj sync` command.",
|
|
4258
5122
|
"flags": {
|
|
4259
|
-
"name": {
|
|
4260
|
-
"char": "n",
|
|
4261
|
-
"description": "Test suite name to execute",
|
|
4262
|
-
"name": "name",
|
|
4263
|
-
"hasDynamicHelp": false,
|
|
4264
|
-
"multiple": false,
|
|
4265
|
-
"type": "option"
|
|
4266
|
-
},
|
|
4267
5123
|
"format": {
|
|
4268
|
-
"
|
|
4269
|
-
"description": "Output format",
|
|
5124
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4270
5125
|
"name": "format",
|
|
4271
|
-
"default": "console",
|
|
4272
5126
|
"hasDynamicHelp": false,
|
|
4273
5127
|
"multiple": false,
|
|
4274
5128
|
"options": [
|
|
4275
|
-
"
|
|
5129
|
+
"text",
|
|
4276
5130
|
"json",
|
|
4277
|
-
"
|
|
5131
|
+
"md"
|
|
4278
5132
|
],
|
|
4279
5133
|
"type": "option"
|
|
4280
|
-
},
|
|
4281
|
-
"output": {
|
|
4282
|
-
"char": "o",
|
|
4283
|
-
"description": "Output file path",
|
|
4284
|
-
"name": "output",
|
|
4285
|
-
"hasDynamicHelp": false,
|
|
4286
|
-
"multiple": false,
|
|
4287
|
-
"type": "option"
|
|
4288
|
-
},
|
|
4289
|
-
"verbose": {
|
|
4290
|
-
"char": "v",
|
|
4291
|
-
"description": "Show detailed execution information",
|
|
4292
|
-
"name": "verbose",
|
|
4293
|
-
"allowNo": false,
|
|
4294
|
-
"type": "boolean"
|
|
4295
|
-
},
|
|
4296
|
-
"delay": {
|
|
4297
|
-
"char": "d",
|
|
4298
|
-
"description": "Delay in milliseconds between test executions (avoids Auth0 rate limits)",
|
|
4299
|
-
"name": "delay",
|
|
4300
|
-
"default": 0,
|
|
4301
|
-
"hasDynamicHelp": false,
|
|
4302
|
-
"multiple": false,
|
|
4303
|
-
"type": "option"
|
|
4304
|
-
},
|
|
4305
|
-
"parallel": {
|
|
4306
|
-
"char": "p",
|
|
4307
|
-
"description": "Run tests in parallel with shared browser sessions",
|
|
4308
|
-
"name": "parallel",
|
|
4309
|
-
"allowNo": false,
|
|
4310
|
-
"type": "boolean"
|
|
4311
|
-
},
|
|
4312
|
-
"max-parallel": {
|
|
4313
|
-
"description": "Maximum number of parallel workers (default 4)",
|
|
4314
|
-
"name": "max-parallel",
|
|
4315
|
-
"default": 4,
|
|
4316
|
-
"hasDynamicHelp": false,
|
|
4317
|
-
"multiple": false,
|
|
4318
|
-
"type": "option"
|
|
4319
|
-
},
|
|
4320
|
-
"flaky-check": {
|
|
4321
|
-
"description": "Run each test N times to detect flakiness (variance > 0.3 or mixed pass/fail = flaky). Recommended: 3 or 5",
|
|
4322
|
-
"name": "flaky-check",
|
|
4323
|
-
"hasDynamicHelp": false,
|
|
4324
|
-
"multiple": false,
|
|
4325
|
-
"type": "option"
|
|
4326
|
-
},
|
|
4327
|
-
"checks-module": {
|
|
4328
|
-
"description": "Module specifier (package name or path) side-effect-imported before the run so its integration check bundles register on the IntegrationCheckRegistry. Durable form: mj.config.cjs `testing.checkModules` (this repo loads '@memberjunction/integration-test-suite' that way).",
|
|
4329
|
-
"name": "checks-module",
|
|
4330
|
-
"hasDynamicHelp": false,
|
|
4331
|
-
"multiple": false,
|
|
4332
|
-
"type": "option"
|
|
4333
|
-
},
|
|
4334
|
-
"oracles-module": {
|
|
4335
|
-
"description": "Path to a JS/TS module that exports custom IOracle classes or instances. Each export is registered on the engine before the suite runs — used by non-MJ adopters to plug app-specific oracle types without modifying TestingFramework.",
|
|
4336
|
-
"name": "oracles-module",
|
|
4337
|
-
"hasDynamicHelp": false,
|
|
4338
|
-
"multiple": false,
|
|
4339
|
-
"type": "option"
|
|
4340
5134
|
}
|
|
4341
5135
|
},
|
|
4342
5136
|
"hasDynamicHelp": false,
|
|
4343
5137
|
"hiddenAliases": [],
|
|
4344
|
-
"id": "
|
|
5138
|
+
"id": "sync:usage",
|
|
4345
5139
|
"pluginAlias": "@memberjunction/cli",
|
|
4346
5140
|
"pluginName": "@memberjunction/cli",
|
|
4347
5141
|
"pluginType": "core",
|
|
@@ -4351,82 +5145,52 @@
|
|
|
4351
5145
|
"relativePath": [
|
|
4352
5146
|
"dist",
|
|
4353
5147
|
"commands",
|
|
4354
|
-
"
|
|
4355
|
-
"
|
|
5148
|
+
"sync",
|
|
5149
|
+
"usage.js"
|
|
4356
5150
|
]
|
|
4357
5151
|
},
|
|
4358
|
-
"
|
|
5152
|
+
"sync:validate": {
|
|
4359
5153
|
"aliases": [],
|
|
4360
|
-
"args": {
|
|
4361
|
-
|
|
4362
|
-
"description": "Test ID to validate",
|
|
4363
|
-
"name": "testId",
|
|
4364
|
-
"required": false
|
|
4365
|
-
}
|
|
4366
|
-
},
|
|
4367
|
-
"description": "Validate test definitions without executing",
|
|
5154
|
+
"args": {},
|
|
5155
|
+
"description": "Validate metadata files",
|
|
4368
5156
|
"examples": [
|
|
4369
|
-
"<%= config.bin %> <%= command.id %>
|
|
4370
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4371
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4372
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4373
|
-
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
5157
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5158
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
5159
|
+
"<%= config.bin %> <%= command.id %> --save-report",
|
|
5160
|
+
"<%= config.bin %> <%= command.id %> --verbose"
|
|
4374
5161
|
],
|
|
4375
5162
|
"flags": {
|
|
4376
|
-
"
|
|
4377
|
-
"
|
|
4378
|
-
"
|
|
4379
|
-
"name": "all",
|
|
4380
|
-
"allowNo": false,
|
|
4381
|
-
"type": "boolean"
|
|
4382
|
-
},
|
|
4383
|
-
"type": {
|
|
4384
|
-
"char": "t",
|
|
4385
|
-
"description": "Validate tests by type",
|
|
4386
|
-
"name": "type",
|
|
5163
|
+
"dir": {
|
|
5164
|
+
"description": "Specific entity directory to validate",
|
|
5165
|
+
"name": "dir",
|
|
4387
5166
|
"hasDynamicHelp": false,
|
|
4388
5167
|
"multiple": false,
|
|
4389
5168
|
"type": "option"
|
|
4390
5169
|
},
|
|
5170
|
+
"verbose": {
|
|
5171
|
+
"char": "v",
|
|
5172
|
+
"description": "Show detailed validation output",
|
|
5173
|
+
"name": "verbose",
|
|
5174
|
+
"allowNo": false,
|
|
5175
|
+
"type": "boolean"
|
|
5176
|
+
},
|
|
4391
5177
|
"save-report": {
|
|
4392
|
-
"description": "Save validation report
|
|
5178
|
+
"description": "Save validation report as markdown file",
|
|
4393
5179
|
"name": "save-report",
|
|
4394
5180
|
"allowNo": false,
|
|
4395
5181
|
"type": "boolean"
|
|
4396
5182
|
},
|
|
4397
|
-
"format": {
|
|
4398
|
-
"char": "f",
|
|
4399
|
-
"description": "Output format",
|
|
4400
|
-
"name": "format",
|
|
4401
|
-
"default": "console",
|
|
4402
|
-
"hasDynamicHelp": false,
|
|
4403
|
-
"multiple": false,
|
|
4404
|
-
"options": [
|
|
4405
|
-
"console",
|
|
4406
|
-
"json",
|
|
4407
|
-
"markdown"
|
|
4408
|
-
],
|
|
4409
|
-
"type": "option"
|
|
4410
|
-
},
|
|
4411
5183
|
"output": {
|
|
4412
|
-
"
|
|
4413
|
-
"description": "Output file path",
|
|
5184
|
+
"description": "Output file path for validation report (default: validation-report.md)",
|
|
4414
5185
|
"name": "output",
|
|
4415
5186
|
"hasDynamicHelp": false,
|
|
4416
5187
|
"multiple": false,
|
|
4417
5188
|
"type": "option"
|
|
4418
|
-
},
|
|
4419
|
-
"verbose": {
|
|
4420
|
-
"char": "v",
|
|
4421
|
-
"description": "Show detailed information",
|
|
4422
|
-
"name": "verbose",
|
|
4423
|
-
"allowNo": false,
|
|
4424
|
-
"type": "boolean"
|
|
4425
5189
|
}
|
|
4426
5190
|
},
|
|
4427
5191
|
"hasDynamicHelp": false,
|
|
4428
5192
|
"hiddenAliases": [],
|
|
4429
|
-
"id": "
|
|
5193
|
+
"id": "sync:validate",
|
|
4430
5194
|
"pluginAlias": "@memberjunction/cli",
|
|
4431
5195
|
"pluginName": "@memberjunction/cli",
|
|
4432
5196
|
"pluginType": "core",
|
|
@@ -4436,96 +5200,52 @@
|
|
|
4436
5200
|
"relativePath": [
|
|
4437
5201
|
"dist",
|
|
4438
5202
|
"commands",
|
|
4439
|
-
"
|
|
5203
|
+
"sync",
|
|
4440
5204
|
"validate.js"
|
|
4441
5205
|
]
|
|
4442
5206
|
},
|
|
4443
|
-
"
|
|
5207
|
+
"sync:watch": {
|
|
4444
5208
|
"aliases": [],
|
|
4445
5209
|
"args": {},
|
|
4446
|
-
"description": "
|
|
5210
|
+
"description": "Watch for file changes and sync automatically",
|
|
4447
5211
|
"examples": [
|
|
4448
|
-
"<%= config.bin %>
|
|
4449
|
-
"<%= config.bin %>
|
|
4450
|
-
"<%= config.bin %>
|
|
4451
|
-
"<%= config.bin %>
|
|
5212
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5213
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
5214
|
+
"<%= config.bin %> <%= command.id %> --debounce=1000",
|
|
5215
|
+
"<%= config.bin %> <%= command.id %> --no-validate"
|
|
4452
5216
|
],
|
|
4453
5217
|
"flags": {
|
|
4454
|
-
"
|
|
4455
|
-
"description": "
|
|
4456
|
-
"name": "
|
|
4457
|
-
"
|
|
4458
|
-
"
|
|
4459
|
-
"
|
|
4460
|
-
"options": [
|
|
4461
|
-
"sqlserver",
|
|
4462
|
-
"postgresql"
|
|
4463
|
-
],
|
|
4464
|
-
"type": "option"
|
|
4465
|
-
},
|
|
4466
|
-
"to": {
|
|
4467
|
-
"description": "Target SQL dialect",
|
|
4468
|
-
"name": "to",
|
|
4469
|
-
"required": true,
|
|
4470
|
-
"hasDynamicHelp": false,
|
|
4471
|
-
"multiple": false,
|
|
4472
|
-
"options": [
|
|
4473
|
-
"sqlserver",
|
|
4474
|
-
"postgresql"
|
|
4475
|
-
],
|
|
4476
|
-
"type": "option"
|
|
4477
|
-
},
|
|
4478
|
-
"scope": {
|
|
4479
|
-
"description": "What to scan for translation",
|
|
4480
|
-
"name": "scope",
|
|
4481
|
-
"default": "all",
|
|
4482
|
-
"hasDynamicHelp": false,
|
|
4483
|
-
"multiple": false,
|
|
4484
|
-
"options": [
|
|
4485
|
-
"queries",
|
|
4486
|
-
"views",
|
|
4487
|
-
"filters",
|
|
4488
|
-
"all"
|
|
4489
|
-
],
|
|
4490
|
-
"type": "option"
|
|
4491
|
-
},
|
|
4492
|
-
"sql": {
|
|
4493
|
-
"description": "Translate a single SQL fragment (inline mode)",
|
|
4494
|
-
"name": "sql",
|
|
4495
|
-
"hasDynamicHelp": false,
|
|
4496
|
-
"multiple": false,
|
|
4497
|
-
"type": "option"
|
|
4498
|
-
},
|
|
4499
|
-
"dry-run": {
|
|
4500
|
-
"description": "Show what would be translated without making changes",
|
|
4501
|
-
"name": "dry-run",
|
|
4502
|
-
"allowNo": false,
|
|
4503
|
-
"type": "boolean"
|
|
4504
|
-
},
|
|
4505
|
-
"review": {
|
|
4506
|
-
"description": "Generate review report only (no writes to database)",
|
|
4507
|
-
"name": "review",
|
|
4508
|
-
"allowNo": false,
|
|
4509
|
-
"type": "boolean"
|
|
5218
|
+
"dir": {
|
|
5219
|
+
"description": "Specific entity directory to watch",
|
|
5220
|
+
"name": "dir",
|
|
5221
|
+
"hasDynamicHelp": false,
|
|
5222
|
+
"multiple": false,
|
|
5223
|
+
"type": "option"
|
|
4510
5224
|
},
|
|
4511
|
-
"
|
|
4512
|
-
"
|
|
4513
|
-
"
|
|
4514
|
-
"name": "output",
|
|
5225
|
+
"debounce": {
|
|
5226
|
+
"description": "Debounce delay in milliseconds (default: 500)",
|
|
5227
|
+
"name": "debounce",
|
|
4515
5228
|
"hasDynamicHelp": false,
|
|
4516
5229
|
"multiple": false,
|
|
4517
5230
|
"type": "option"
|
|
4518
5231
|
},
|
|
4519
|
-
"
|
|
4520
|
-
"description": "
|
|
4521
|
-
"name": "
|
|
5232
|
+
"no-validate": {
|
|
5233
|
+
"description": "Skip validation before sync",
|
|
5234
|
+
"name": "no-validate",
|
|
5235
|
+
"allowNo": false,
|
|
5236
|
+
"type": "boolean"
|
|
5237
|
+
},
|
|
5238
|
+
"verbose": {
|
|
5239
|
+
"char": "v",
|
|
5240
|
+
"description": "Show detailed output",
|
|
5241
|
+
"name": "verbose",
|
|
4522
5242
|
"allowNo": false,
|
|
4523
5243
|
"type": "boolean"
|
|
4524
5244
|
}
|
|
4525
5245
|
},
|
|
4526
5246
|
"hasDynamicHelp": false,
|
|
4527
5247
|
"hiddenAliases": [],
|
|
4528
|
-
"id": "
|
|
5248
|
+
"id": "sync:watch",
|
|
4529
5249
|
"pluginAlias": "@memberjunction/cli",
|
|
4530
5250
|
"pluginName": "@memberjunction/cli",
|
|
4531
5251
|
"pluginType": "core",
|
|
@@ -4535,8 +5255,8 @@
|
|
|
4535
5255
|
"relativePath": [
|
|
4536
5256
|
"dist",
|
|
4537
5257
|
"commands",
|
|
4538
|
-
"
|
|
4539
|
-
"
|
|
5258
|
+
"sync",
|
|
5259
|
+
"watch.js"
|
|
4540
5260
|
]
|
|
4541
5261
|
},
|
|
4542
5262
|
"update:claude": {
|
|
@@ -4677,19 +5397,70 @@
|
|
|
4677
5397
|
"claude.js"
|
|
4678
5398
|
]
|
|
4679
5399
|
},
|
|
4680
|
-
"
|
|
5400
|
+
"update:usage": {
|
|
4681
5401
|
"aliases": [],
|
|
4682
5402
|
"args": {},
|
|
4683
|
-
"description": "
|
|
5403
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj update` command.",
|
|
5404
|
+
"flags": {
|
|
5405
|
+
"format": {
|
|
5406
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5407
|
+
"name": "format",
|
|
5408
|
+
"hasDynamicHelp": false,
|
|
5409
|
+
"multiple": false,
|
|
5410
|
+
"options": [
|
|
5411
|
+
"text",
|
|
5412
|
+
"json",
|
|
5413
|
+
"md"
|
|
5414
|
+
],
|
|
5415
|
+
"type": "option"
|
|
5416
|
+
}
|
|
5417
|
+
},
|
|
5418
|
+
"hasDynamicHelp": false,
|
|
5419
|
+
"hiddenAliases": [],
|
|
5420
|
+
"id": "update:usage",
|
|
5421
|
+
"pluginAlias": "@memberjunction/cli",
|
|
5422
|
+
"pluginName": "@memberjunction/cli",
|
|
5423
|
+
"pluginType": "core",
|
|
5424
|
+
"strict": true,
|
|
5425
|
+
"enableJsonFlag": false,
|
|
5426
|
+
"isESM": true,
|
|
5427
|
+
"relativePath": [
|
|
5428
|
+
"dist",
|
|
5429
|
+
"commands",
|
|
5430
|
+
"update",
|
|
5431
|
+
"usage.js"
|
|
5432
|
+
]
|
|
5433
|
+
},
|
|
5434
|
+
"ai:actions:list": {
|
|
5435
|
+
"aliases": [],
|
|
5436
|
+
"args": {},
|
|
5437
|
+
"description": "List available AI actions",
|
|
4684
5438
|
"examples": [
|
|
4685
5439
|
"<%= config.bin %> <%= command.id %>",
|
|
4686
5440
|
"<%= config.bin %> <%= command.id %> --output=table",
|
|
4687
5441
|
"<%= config.bin %> <%= command.id %> --output=json"
|
|
4688
5442
|
],
|
|
4689
5443
|
"flags": {
|
|
5444
|
+
"format": {
|
|
5445
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5446
|
+
"name": "format",
|
|
5447
|
+
"hasDynamicHelp": false,
|
|
5448
|
+
"multiple": false,
|
|
5449
|
+
"options": [
|
|
5450
|
+
"text",
|
|
5451
|
+
"json",
|
|
5452
|
+
"md",
|
|
5453
|
+
"human",
|
|
5454
|
+
"console",
|
|
5455
|
+
"markdown",
|
|
5456
|
+
"compact",
|
|
5457
|
+
"table"
|
|
5458
|
+
],
|
|
5459
|
+
"type": "option"
|
|
5460
|
+
},
|
|
4690
5461
|
"output": {
|
|
4691
5462
|
"char": "o",
|
|
4692
|
-
"description": "Output format",
|
|
5463
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
4693
5464
|
"name": "output",
|
|
4694
5465
|
"default": "compact",
|
|
4695
5466
|
"hasDynamicHelp": false,
|
|
@@ -4704,7 +5475,7 @@
|
|
|
4704
5475
|
},
|
|
4705
5476
|
"hasDynamicHelp": false,
|
|
4706
5477
|
"hiddenAliases": [],
|
|
4707
|
-
"id": "ai:
|
|
5478
|
+
"id": "ai:actions:list",
|
|
4708
5479
|
"pluginAlias": "@memberjunction/cli",
|
|
4709
5480
|
"pluginName": "@memberjunction/cli",
|
|
4710
5481
|
"pluginType": "core",
|
|
@@ -4715,53 +5486,64 @@
|
|
|
4715
5486
|
"dist",
|
|
4716
5487
|
"commands",
|
|
4717
5488
|
"ai",
|
|
4718
|
-
"
|
|
5489
|
+
"actions",
|
|
4719
5490
|
"list.js"
|
|
4720
5491
|
]
|
|
4721
5492
|
},
|
|
4722
|
-
"ai:
|
|
5493
|
+
"ai:actions:run": {
|
|
4723
5494
|
"aliases": [],
|
|
4724
5495
|
"args": {},
|
|
4725
|
-
"description": "Execute an AI
|
|
5496
|
+
"description": "Execute an AI action with parameters",
|
|
4726
5497
|
"examples": [
|
|
4727
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4728
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4729
|
-
"<%= config.bin %> <%= command.id %> -
|
|
5498
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
5499
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
5500
|
+
"<%= config.bin %> <%= command.id %> -n \"Send Single Message\" --param \"To=user@example.com\" --param \"Subject=Test\" --param \"Body=Hello\" --param \"MessageType=Email\" --param \"Provider=SendGrid\"",
|
|
5501
|
+
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
4730
5502
|
],
|
|
4731
5503
|
"flags": {
|
|
4732
|
-
"
|
|
4733
|
-
"char": "
|
|
4734
|
-
"description": "
|
|
4735
|
-
"name": "
|
|
5504
|
+
"name": {
|
|
5505
|
+
"char": "n",
|
|
5506
|
+
"description": "Action name",
|
|
5507
|
+
"name": "name",
|
|
4736
5508
|
"required": true,
|
|
4737
5509
|
"hasDynamicHelp": false,
|
|
4738
5510
|
"multiple": false,
|
|
4739
5511
|
"type": "option"
|
|
4740
5512
|
},
|
|
4741
|
-
"
|
|
5513
|
+
"param": {
|
|
4742
5514
|
"char": "p",
|
|
4743
|
-
"description": "
|
|
4744
|
-
"
|
|
4745
|
-
"chat"
|
|
4746
|
-
],
|
|
4747
|
-
"name": "prompt",
|
|
5515
|
+
"description": "Action parameters in key=value format",
|
|
5516
|
+
"name": "param",
|
|
4748
5517
|
"hasDynamicHelp": false,
|
|
4749
|
-
"multiple":
|
|
5518
|
+
"multiple": true,
|
|
4750
5519
|
"type": "option"
|
|
4751
5520
|
},
|
|
4752
|
-
"
|
|
4753
|
-
"
|
|
4754
|
-
"
|
|
4755
|
-
"exclusive": [
|
|
4756
|
-
"prompt"
|
|
4757
|
-
],
|
|
4758
|
-
"name": "chat",
|
|
5521
|
+
"dry-run": {
|
|
5522
|
+
"description": "Validate without executing",
|
|
5523
|
+
"name": "dry-run",
|
|
4759
5524
|
"allowNo": false,
|
|
4760
5525
|
"type": "boolean"
|
|
4761
5526
|
},
|
|
5527
|
+
"format": {
|
|
5528
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5529
|
+
"name": "format",
|
|
5530
|
+
"hasDynamicHelp": false,
|
|
5531
|
+
"multiple": false,
|
|
5532
|
+
"options": [
|
|
5533
|
+
"text",
|
|
5534
|
+
"json",
|
|
5535
|
+
"md",
|
|
5536
|
+
"human",
|
|
5537
|
+
"console",
|
|
5538
|
+
"markdown",
|
|
5539
|
+
"compact",
|
|
5540
|
+
"table"
|
|
5541
|
+
],
|
|
5542
|
+
"type": "option"
|
|
5543
|
+
},
|
|
4762
5544
|
"output": {
|
|
4763
5545
|
"char": "o",
|
|
4764
|
-
"description": "Output format",
|
|
5546
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
4765
5547
|
"name": "output",
|
|
4766
5548
|
"default": "compact",
|
|
4767
5549
|
"hasDynamicHelp": false,
|
|
@@ -4791,7 +5573,7 @@
|
|
|
4791
5573
|
},
|
|
4792
5574
|
"hasDynamicHelp": false,
|
|
4793
5575
|
"hiddenAliases": [],
|
|
4794
|
-
"id": "ai:
|
|
5576
|
+
"id": "ai:actions:run",
|
|
4795
5577
|
"pluginAlias": "@memberjunction/cli",
|
|
4796
5578
|
"pluginName": "@memberjunction/cli",
|
|
4797
5579
|
"pluginType": "core",
|
|
@@ -4802,7 +5584,7 @@
|
|
|
4802
5584
|
"dist",
|
|
4803
5585
|
"commands",
|
|
4804
5586
|
"ai",
|
|
4805
|
-
"
|
|
5587
|
+
"actions",
|
|
4806
5588
|
"run.js"
|
|
4807
5589
|
]
|
|
4808
5590
|
},
|
|
@@ -4827,9 +5609,26 @@
|
|
|
4827
5609
|
"<%= config.bin %> <%= command.id %> abc-123-def-456 --export full --file report.json"
|
|
4828
5610
|
],
|
|
4829
5611
|
"flags": {
|
|
5612
|
+
"format": {
|
|
5613
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5614
|
+
"name": "format",
|
|
5615
|
+
"hasDynamicHelp": false,
|
|
5616
|
+
"multiple": false,
|
|
5617
|
+
"options": [
|
|
5618
|
+
"text",
|
|
5619
|
+
"json",
|
|
5620
|
+
"md",
|
|
5621
|
+
"human",
|
|
5622
|
+
"console",
|
|
5623
|
+
"markdown",
|
|
5624
|
+
"compact",
|
|
5625
|
+
"table"
|
|
5626
|
+
],
|
|
5627
|
+
"type": "option"
|
|
5628
|
+
},
|
|
4830
5629
|
"output": {
|
|
4831
5630
|
"char": "o",
|
|
4832
|
-
"description": "Output format",
|
|
5631
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
4833
5632
|
"name": "output",
|
|
4834
5633
|
"default": "compact",
|
|
4835
5634
|
"hasDynamicHelp": false,
|
|
@@ -5022,19 +5821,36 @@
|
|
|
5022
5821
|
"index.js"
|
|
5023
5822
|
]
|
|
5024
5823
|
},
|
|
5025
|
-
"ai:
|
|
5824
|
+
"ai:agents:list": {
|
|
5026
5825
|
"aliases": [],
|
|
5027
5826
|
"args": {},
|
|
5028
|
-
"description": "List available AI
|
|
5827
|
+
"description": "List available AI agents",
|
|
5029
5828
|
"examples": [
|
|
5030
5829
|
"<%= config.bin %> <%= command.id %>",
|
|
5031
5830
|
"<%= config.bin %> <%= command.id %> --output=table",
|
|
5032
5831
|
"<%= config.bin %> <%= command.id %> --output=json"
|
|
5033
5832
|
],
|
|
5034
5833
|
"flags": {
|
|
5834
|
+
"format": {
|
|
5835
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5836
|
+
"name": "format",
|
|
5837
|
+
"hasDynamicHelp": false,
|
|
5838
|
+
"multiple": false,
|
|
5839
|
+
"options": [
|
|
5840
|
+
"text",
|
|
5841
|
+
"json",
|
|
5842
|
+
"md",
|
|
5843
|
+
"human",
|
|
5844
|
+
"console",
|
|
5845
|
+
"markdown",
|
|
5846
|
+
"compact",
|
|
5847
|
+
"table"
|
|
5848
|
+
],
|
|
5849
|
+
"type": "option"
|
|
5850
|
+
},
|
|
5035
5851
|
"output": {
|
|
5036
5852
|
"char": "o",
|
|
5037
|
-
"description": "Output format",
|
|
5853
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
5038
5854
|
"name": "output",
|
|
5039
5855
|
"default": "compact",
|
|
5040
5856
|
"hasDynamicHelp": false,
|
|
@@ -5049,7 +5865,7 @@
|
|
|
5049
5865
|
},
|
|
5050
5866
|
"hasDynamicHelp": false,
|
|
5051
5867
|
"hiddenAliases": [],
|
|
5052
|
-
"id": "ai:
|
|
5868
|
+
"id": "ai:agents:list",
|
|
5053
5869
|
"pluginAlias": "@memberjunction/cli",
|
|
5054
5870
|
"pluginName": "@memberjunction/cli",
|
|
5055
5871
|
"pluginType": "core",
|
|
@@ -5060,47 +5876,70 @@
|
|
|
5060
5876
|
"dist",
|
|
5061
5877
|
"commands",
|
|
5062
5878
|
"ai",
|
|
5063
|
-
"
|
|
5879
|
+
"agents",
|
|
5064
5880
|
"list.js"
|
|
5065
5881
|
]
|
|
5066
5882
|
},
|
|
5067
|
-
"ai:
|
|
5883
|
+
"ai:agents:run": {
|
|
5068
5884
|
"aliases": [],
|
|
5069
5885
|
"args": {},
|
|
5070
|
-
"description": "Execute an AI
|
|
5886
|
+
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
5071
5887
|
"examples": [
|
|
5072
|
-
"<%= config.bin %> <%= command.id %> -
|
|
5073
|
-
"<%= config.bin %> <%= command.id %> -
|
|
5074
|
-
"<%= config.bin %> <%= command.id %> -
|
|
5075
|
-
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
5888
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Requirements Expert\" -p \"Create a dashboard for sales metrics\"",
|
|
5889
|
+
"<%= config.bin %> <%= command.id %> -a \"Child Component Generator Sub-agent\" --chat",
|
|
5890
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Technical Design Expert\" -p \"Build a React component\" --verbose --timeout=600000"
|
|
5076
5891
|
],
|
|
5077
5892
|
"flags": {
|
|
5078
|
-
"
|
|
5079
|
-
"char": "
|
|
5080
|
-
"description": "
|
|
5081
|
-
"name": "
|
|
5893
|
+
"agent": {
|
|
5894
|
+
"char": "a",
|
|
5895
|
+
"description": "Agent name",
|
|
5896
|
+
"name": "agent",
|
|
5082
5897
|
"required": true,
|
|
5083
5898
|
"hasDynamicHelp": false,
|
|
5084
5899
|
"multiple": false,
|
|
5085
5900
|
"type": "option"
|
|
5086
5901
|
},
|
|
5087
|
-
"
|
|
5902
|
+
"prompt": {
|
|
5088
5903
|
"char": "p",
|
|
5089
|
-
"description": "
|
|
5090
|
-
"
|
|
5904
|
+
"description": "Prompt to execute",
|
|
5905
|
+
"exclusive": [
|
|
5906
|
+
"chat"
|
|
5907
|
+
],
|
|
5908
|
+
"name": "prompt",
|
|
5091
5909
|
"hasDynamicHelp": false,
|
|
5092
|
-
"multiple":
|
|
5910
|
+
"multiple": false,
|
|
5093
5911
|
"type": "option"
|
|
5094
5912
|
},
|
|
5095
|
-
"
|
|
5096
|
-
"
|
|
5097
|
-
"
|
|
5913
|
+
"chat": {
|
|
5914
|
+
"char": "c",
|
|
5915
|
+
"description": "Start interactive chat mode",
|
|
5916
|
+
"exclusive": [
|
|
5917
|
+
"prompt"
|
|
5918
|
+
],
|
|
5919
|
+
"name": "chat",
|
|
5098
5920
|
"allowNo": false,
|
|
5099
5921
|
"type": "boolean"
|
|
5100
5922
|
},
|
|
5923
|
+
"format": {
|
|
5924
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5925
|
+
"name": "format",
|
|
5926
|
+
"hasDynamicHelp": false,
|
|
5927
|
+
"multiple": false,
|
|
5928
|
+
"options": [
|
|
5929
|
+
"text",
|
|
5930
|
+
"json",
|
|
5931
|
+
"md",
|
|
5932
|
+
"human",
|
|
5933
|
+
"console",
|
|
5934
|
+
"markdown",
|
|
5935
|
+
"compact",
|
|
5936
|
+
"table"
|
|
5937
|
+
],
|
|
5938
|
+
"type": "option"
|
|
5939
|
+
},
|
|
5101
5940
|
"output": {
|
|
5102
5941
|
"char": "o",
|
|
5103
|
-
"description": "Output format",
|
|
5942
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
5104
5943
|
"name": "output",
|
|
5105
5944
|
"default": "compact",
|
|
5106
5945
|
"hasDynamicHelp": false,
|
|
@@ -5130,7 +5969,7 @@
|
|
|
5130
5969
|
},
|
|
5131
5970
|
"hasDynamicHelp": false,
|
|
5132
5971
|
"hiddenAliases": [],
|
|
5133
|
-
"id": "ai:
|
|
5972
|
+
"id": "ai:agents:run",
|
|
5134
5973
|
"pluginAlias": "@memberjunction/cli",
|
|
5135
5974
|
"pluginName": "@memberjunction/cli",
|
|
5136
5975
|
"pluginType": "core",
|
|
@@ -5141,7 +5980,7 @@
|
|
|
5141
5980
|
"dist",
|
|
5142
5981
|
"commands",
|
|
5143
5982
|
"ai",
|
|
5144
|
-
"
|
|
5983
|
+
"agents",
|
|
5145
5984
|
"run.js"
|
|
5146
5985
|
]
|
|
5147
5986
|
},
|
|
@@ -5237,9 +6076,26 @@
|
|
|
5237
6076
|
"multiple": false,
|
|
5238
6077
|
"type": "option"
|
|
5239
6078
|
},
|
|
6079
|
+
"format": {
|
|
6080
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
6081
|
+
"name": "format",
|
|
6082
|
+
"hasDynamicHelp": false,
|
|
6083
|
+
"multiple": false,
|
|
6084
|
+
"options": [
|
|
6085
|
+
"text",
|
|
6086
|
+
"json",
|
|
6087
|
+
"md",
|
|
6088
|
+
"human",
|
|
6089
|
+
"console",
|
|
6090
|
+
"markdown",
|
|
6091
|
+
"compact",
|
|
6092
|
+
"table"
|
|
6093
|
+
],
|
|
6094
|
+
"type": "option"
|
|
6095
|
+
},
|
|
5240
6096
|
"output": {
|
|
5241
6097
|
"char": "o",
|
|
5242
|
-
"description": "Output format",
|
|
6098
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
5243
6099
|
"name": "output",
|
|
5244
6100
|
"default": "compact",
|
|
5245
6101
|
"hasDynamicHelp": false,
|
|
@@ -5544,15 +6400,19 @@
|
|
|
5544
6400
|
},
|
|
5545
6401
|
"format": {
|
|
5546
6402
|
"char": "f",
|
|
5547
|
-
"description": "Output format.",
|
|
6403
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5548
6404
|
"name": "format",
|
|
5549
|
-
"default": "console",
|
|
5550
6405
|
"hasDynamicHelp": false,
|
|
5551
6406
|
"multiple": false,
|
|
5552
6407
|
"options": [
|
|
5553
|
-
"
|
|
6408
|
+
"text",
|
|
5554
6409
|
"json",
|
|
5555
|
-
"
|
|
6410
|
+
"md",
|
|
6411
|
+
"human",
|
|
6412
|
+
"console",
|
|
6413
|
+
"markdown",
|
|
6414
|
+
"compact",
|
|
6415
|
+
"table"
|
|
5556
6416
|
],
|
|
5557
6417
|
"type": "option"
|
|
5558
6418
|
},
|
|
@@ -5927,5 +6787,5 @@
|
|
|
5927
6787
|
]
|
|
5928
6788
|
}
|
|
5929
6789
|
},
|
|
5930
|
-
"version": "6.1.0-edge.
|
|
6790
|
+
"version": "6.1.0-edge.5"
|
|
5931
6791
|
}
|