@memberjunction/cli 2.117.0 → 2.118.0
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 +308 -57
- package/dist/commands/dbdoc/analyze.d.ts +3 -3
- package/dist/commands/dbdoc/analyze.js +25 -48
- package/dist/commands/dbdoc/export.d.ts +11 -4
- package/dist/commands/dbdoc/export.js +72 -75
- package/dist/commands/dbdoc/init.d.ts +1 -4
- package/dist/commands/dbdoc/init.js +7 -118
- package/dist/commands/dbdoc/reset.d.ts +9 -0
- package/dist/commands/dbdoc/reset.js +53 -0
- package/dist/commands/dbdoc/status.d.ts +9 -0
- package/dist/commands/dbdoc/status.js +52 -0
- package/dist/commands/sync/push.d.ts +2 -0
- package/dist/commands/sync/push.js +18 -1
- package/dist/commands/sync/status.d.ts +2 -0
- package/dist/commands/sync/status.js +14 -1
- package/dist/commands/test/compare.d.ts +18 -0
- package/dist/commands/test/compare.js +73 -0
- package/dist/commands/test/history.d.ts +15 -0
- package/dist/commands/test/history.js +66 -0
- package/dist/commands/test/index.d.ts +6 -0
- package/dist/commands/test/index.js +31 -0
- package/dist/commands/test/list.d.ts +16 -0
- package/dist/commands/test/list.js +73 -0
- package/dist/commands/test/run.d.ts +17 -0
- package/dist/commands/test/run.js +69 -0
- package/dist/commands/test/suite.d.ts +15 -0
- package/dist/commands/test/suite.js +58 -0
- package/dist/commands/test/validate.d.ts +17 -0
- package/dist/commands/test/validate.js +70 -0
- package/oclif.manifest.json +726 -88
- package/package.json +12 -9
- package/dist/commands/dbdoc/review.d.ts +0 -10
- package/dist/commands/dbdoc/review.js +0 -81
package/oclif.manifest.json
CHANGED
|
@@ -22,6 +22,38 @@
|
|
|
22
22
|
"index.js"
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
|
+
"clean": {
|
|
26
|
+
"aliases": [],
|
|
27
|
+
"args": {},
|
|
28
|
+
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
29
|
+
"examples": [
|
|
30
|
+
"<%= config.bin %> <%= command.id %>\n"
|
|
31
|
+
],
|
|
32
|
+
"flags": {
|
|
33
|
+
"verbose": {
|
|
34
|
+
"char": "v",
|
|
35
|
+
"description": "Enable additional logging",
|
|
36
|
+
"name": "verbose",
|
|
37
|
+
"allowNo": false,
|
|
38
|
+
"type": "boolean"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"hasDynamicHelp": false,
|
|
42
|
+
"hiddenAliases": [],
|
|
43
|
+
"id": "clean",
|
|
44
|
+
"pluginAlias": "@memberjunction/cli",
|
|
45
|
+
"pluginName": "@memberjunction/cli",
|
|
46
|
+
"pluginType": "core",
|
|
47
|
+
"strict": true,
|
|
48
|
+
"enableJsonFlag": false,
|
|
49
|
+
"isESM": false,
|
|
50
|
+
"relativePath": [
|
|
51
|
+
"dist",
|
|
52
|
+
"commands",
|
|
53
|
+
"clean",
|
|
54
|
+
"index.js"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
25
57
|
"bump": {
|
|
26
58
|
"aliases": [],
|
|
27
59
|
"args": {},
|
|
@@ -94,38 +126,6 @@
|
|
|
94
126
|
"index.js"
|
|
95
127
|
]
|
|
96
128
|
},
|
|
97
|
-
"clean": {
|
|
98
|
-
"aliases": [],
|
|
99
|
-
"args": {},
|
|
100
|
-
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
101
|
-
"examples": [
|
|
102
|
-
"<%= config.bin %> <%= command.id %>\n"
|
|
103
|
-
],
|
|
104
|
-
"flags": {
|
|
105
|
-
"verbose": {
|
|
106
|
-
"char": "v",
|
|
107
|
-
"description": "Enable additional logging",
|
|
108
|
-
"name": "verbose",
|
|
109
|
-
"allowNo": false,
|
|
110
|
-
"type": "boolean"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"hasDynamicHelp": false,
|
|
114
|
-
"hiddenAliases": [],
|
|
115
|
-
"id": "clean",
|
|
116
|
-
"pluginAlias": "@memberjunction/cli",
|
|
117
|
-
"pluginName": "@memberjunction/cli",
|
|
118
|
-
"pluginType": "core",
|
|
119
|
-
"strict": true,
|
|
120
|
-
"enableJsonFlag": false,
|
|
121
|
-
"isESM": false,
|
|
122
|
-
"relativePath": [
|
|
123
|
-
"dist",
|
|
124
|
-
"commands",
|
|
125
|
-
"clean",
|
|
126
|
-
"index.js"
|
|
127
|
-
]
|
|
128
|
-
},
|
|
129
129
|
"codegen": {
|
|
130
130
|
"aliases": [],
|
|
131
131
|
"args": {},
|
|
@@ -160,22 +160,27 @@
|
|
|
160
160
|
"dbdoc:analyze": {
|
|
161
161
|
"aliases": [],
|
|
162
162
|
"args": {},
|
|
163
|
-
"description": "Analyze database and generate documentation",
|
|
163
|
+
"description": "Analyze database and generate documentation (delegates to db-auto-doc analyze)",
|
|
164
164
|
"examples": [
|
|
165
165
|
"<%= config.bin %> <%= command.id %>",
|
|
166
|
-
"<%= config.bin %> <%= command.id %> --
|
|
167
|
-
"<%= config.bin %> <%= command.id %> --
|
|
166
|
+
"<%= config.bin %> <%= command.id %> --resume ./output/run-6/state.json",
|
|
167
|
+
"<%= config.bin %> <%= command.id %> --config ./my-config.json"
|
|
168
168
|
],
|
|
169
169
|
"flags": {
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
170
|
+
"resume": {
|
|
171
|
+
"char": "r",
|
|
172
|
+
"description": "Resume from an existing state file",
|
|
173
|
+
"name": "resume",
|
|
174
|
+
"required": false,
|
|
175
|
+
"hasDynamicHelp": false,
|
|
176
|
+
"multiple": false,
|
|
177
|
+
"type": "option"
|
|
175
178
|
},
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
+
"config": {
|
|
180
|
+
"char": "c",
|
|
181
|
+
"description": "Path to config file",
|
|
182
|
+
"name": "config",
|
|
183
|
+
"default": "./config.json",
|
|
179
184
|
"hasDynamicHelp": false,
|
|
180
185
|
"multiple": false,
|
|
181
186
|
"type": "option"
|
|
@@ -200,46 +205,88 @@
|
|
|
200
205
|
"dbdoc:export": {
|
|
201
206
|
"aliases": [],
|
|
202
207
|
"args": {},
|
|
203
|
-
"description": "
|
|
208
|
+
"description": "Export documentation in multiple formats (delegates to db-auto-doc export)",
|
|
204
209
|
"examples": [
|
|
205
|
-
"<%= config.bin %> <%= command.id %>",
|
|
206
|
-
"<%= config.bin %> <%= command.id %> --
|
|
207
|
-
"<%= config.bin %> <%= command.id %> --
|
|
208
|
-
"<%= config.bin %> <%= command.id %> --
|
|
210
|
+
"<%= config.bin %> <%= command.id %> --state-file=./db-doc-state.json",
|
|
211
|
+
"<%= config.bin %> <%= command.id %> --sql",
|
|
212
|
+
"<%= config.bin %> <%= command.id %> --markdown",
|
|
213
|
+
"<%= config.bin %> <%= command.id %> --html",
|
|
214
|
+
"<%= config.bin %> <%= command.id %> --csv",
|
|
215
|
+
"<%= config.bin %> <%= command.id %> --mermaid",
|
|
216
|
+
"<%= config.bin %> <%= command.id %> --sql --markdown --html --csv --mermaid --apply"
|
|
209
217
|
],
|
|
210
218
|
"flags": {
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
"
|
|
219
|
+
"state-file": {
|
|
220
|
+
"char": "s",
|
|
221
|
+
"description": "Path to state JSON file",
|
|
222
|
+
"name": "state-file",
|
|
215
223
|
"hasDynamicHelp": false,
|
|
216
224
|
"multiple": false,
|
|
217
|
-
"options": [
|
|
218
|
-
"sql",
|
|
219
|
-
"markdown",
|
|
220
|
-
"all"
|
|
221
|
-
],
|
|
222
225
|
"type": "option"
|
|
223
226
|
},
|
|
224
|
-
"output": {
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
227
|
+
"output-dir": {
|
|
228
|
+
"char": "o",
|
|
229
|
+
"description": "Output directory for generated files",
|
|
230
|
+
"name": "output-dir",
|
|
228
231
|
"hasDynamicHelp": false,
|
|
229
232
|
"multiple": false,
|
|
230
233
|
"type": "option"
|
|
231
234
|
},
|
|
235
|
+
"sql": {
|
|
236
|
+
"description": "Generate SQL script",
|
|
237
|
+
"name": "sql",
|
|
238
|
+
"allowNo": false,
|
|
239
|
+
"type": "boolean"
|
|
240
|
+
},
|
|
241
|
+
"markdown": {
|
|
242
|
+
"description": "Generate Markdown documentation",
|
|
243
|
+
"name": "markdown",
|
|
244
|
+
"allowNo": false,
|
|
245
|
+
"type": "boolean"
|
|
246
|
+
},
|
|
247
|
+
"html": {
|
|
248
|
+
"description": "Generate interactive HTML documentation",
|
|
249
|
+
"name": "html",
|
|
250
|
+
"allowNo": false,
|
|
251
|
+
"type": "boolean"
|
|
252
|
+
},
|
|
253
|
+
"csv": {
|
|
254
|
+
"description": "Generate CSV exports (tables and columns)",
|
|
255
|
+
"name": "csv",
|
|
256
|
+
"allowNo": false,
|
|
257
|
+
"type": "boolean"
|
|
258
|
+
},
|
|
259
|
+
"mermaid": {
|
|
260
|
+
"description": "Generate Mermaid ERD diagram files",
|
|
261
|
+
"name": "mermaid",
|
|
262
|
+
"allowNo": false,
|
|
263
|
+
"type": "boolean"
|
|
264
|
+
},
|
|
265
|
+
"report": {
|
|
266
|
+
"description": "Generate analysis report",
|
|
267
|
+
"name": "report",
|
|
268
|
+
"allowNo": false,
|
|
269
|
+
"type": "boolean"
|
|
270
|
+
},
|
|
271
|
+
"apply": {
|
|
272
|
+
"description": "Apply SQL to database",
|
|
273
|
+
"name": "apply",
|
|
274
|
+
"allowNo": false,
|
|
275
|
+
"type": "boolean"
|
|
276
|
+
},
|
|
232
277
|
"approved-only": {
|
|
233
278
|
"description": "Only export approved items",
|
|
234
279
|
"name": "approved-only",
|
|
235
280
|
"allowNo": false,
|
|
236
281
|
"type": "boolean"
|
|
237
282
|
},
|
|
238
|
-
"
|
|
239
|
-
"description": "
|
|
240
|
-
"name": "
|
|
241
|
-
"
|
|
242
|
-
"
|
|
283
|
+
"confidence-threshold": {
|
|
284
|
+
"description": "Minimum confidence threshold",
|
|
285
|
+
"name": "confidence-threshold",
|
|
286
|
+
"default": "0",
|
|
287
|
+
"hasDynamicHelp": false,
|
|
288
|
+
"multiple": false,
|
|
289
|
+
"type": "option"
|
|
243
290
|
}
|
|
244
291
|
},
|
|
245
292
|
"hasDynamicHelp": false,
|
|
@@ -283,21 +330,47 @@
|
|
|
283
330
|
"dbdoc:init": {
|
|
284
331
|
"aliases": [],
|
|
285
332
|
"args": {},
|
|
286
|
-
"description": "Initialize
|
|
333
|
+
"description": "Initialize DBAutoDoc project (delegates to db-auto-doc init)",
|
|
287
334
|
"examples": [
|
|
288
335
|
"<%= config.bin %> <%= command.id %>"
|
|
289
336
|
],
|
|
337
|
+
"flags": {},
|
|
338
|
+
"hasDynamicHelp": false,
|
|
339
|
+
"hiddenAliases": [],
|
|
340
|
+
"id": "dbdoc:init",
|
|
341
|
+
"pluginAlias": "@memberjunction/cli",
|
|
342
|
+
"pluginName": "@memberjunction/cli",
|
|
343
|
+
"pluginType": "core",
|
|
344
|
+
"strict": true,
|
|
345
|
+
"enableJsonFlag": false,
|
|
346
|
+
"isESM": false,
|
|
347
|
+
"relativePath": [
|
|
348
|
+
"dist",
|
|
349
|
+
"commands",
|
|
350
|
+
"dbdoc",
|
|
351
|
+
"init.js"
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
"dbdoc:reset": {
|
|
355
|
+
"aliases": [],
|
|
356
|
+
"args": {},
|
|
357
|
+
"description": "Reset analysis state (delegates to db-auto-doc reset)",
|
|
358
|
+
"examples": [
|
|
359
|
+
"<%= config.bin %> <%= command.id %>",
|
|
360
|
+
"<%= config.bin %> <%= command.id %> --force"
|
|
361
|
+
],
|
|
290
362
|
"flags": {
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
363
|
+
"force": {
|
|
364
|
+
"char": "f",
|
|
365
|
+
"description": "Force reset without confirmation",
|
|
366
|
+
"name": "force",
|
|
294
367
|
"allowNo": false,
|
|
295
368
|
"type": "boolean"
|
|
296
369
|
}
|
|
297
370
|
},
|
|
298
371
|
"hasDynamicHelp": false,
|
|
299
372
|
"hiddenAliases": [],
|
|
300
|
-
"id": "dbdoc:
|
|
373
|
+
"id": "dbdoc:reset",
|
|
301
374
|
"pluginAlias": "@memberjunction/cli",
|
|
302
375
|
"pluginName": "@memberjunction/cli",
|
|
303
376
|
"pluginType": "core",
|
|
@@ -308,36 +381,30 @@
|
|
|
308
381
|
"dist",
|
|
309
382
|
"commands",
|
|
310
383
|
"dbdoc",
|
|
311
|
-
"
|
|
384
|
+
"reset.js"
|
|
312
385
|
]
|
|
313
386
|
},
|
|
314
|
-
"dbdoc:
|
|
387
|
+
"dbdoc:status": {
|
|
315
388
|
"aliases": [],
|
|
316
389
|
"args": {},
|
|
317
|
-
"description": "
|
|
390
|
+
"description": "Show analysis status and progress (delegates to db-auto-doc status)",
|
|
318
391
|
"examples": [
|
|
319
392
|
"<%= config.bin %> <%= command.id %>",
|
|
320
|
-
"<%= config.bin %> <%= command.id %> --
|
|
321
|
-
"<%= config.bin %> <%= command.id %> --unapproved-only"
|
|
393
|
+
"<%= config.bin %> <%= command.id %> --state-file ./custom-state.json"
|
|
322
394
|
],
|
|
323
395
|
"flags": {
|
|
324
|
-
"
|
|
325
|
-
"
|
|
326
|
-
"
|
|
396
|
+
"state-file": {
|
|
397
|
+
"char": "s",
|
|
398
|
+
"description": "Path to state JSON file",
|
|
399
|
+
"name": "state-file",
|
|
327
400
|
"hasDynamicHelp": false,
|
|
328
401
|
"multiple": false,
|
|
329
402
|
"type": "option"
|
|
330
|
-
},
|
|
331
|
-
"unapproved-only": {
|
|
332
|
-
"description": "Only show unapproved items",
|
|
333
|
-
"name": "unapproved-only",
|
|
334
|
-
"allowNo": false,
|
|
335
|
-
"type": "boolean"
|
|
336
403
|
}
|
|
337
404
|
},
|
|
338
405
|
"hasDynamicHelp": false,
|
|
339
406
|
"hiddenAliases": [],
|
|
340
|
-
"id": "dbdoc:
|
|
407
|
+
"id": "dbdoc:status",
|
|
341
408
|
"pluginAlias": "@memberjunction/cli",
|
|
342
409
|
"pluginName": "@memberjunction/cli",
|
|
343
410
|
"pluginType": "core",
|
|
@@ -348,7 +415,7 @@
|
|
|
348
415
|
"dist",
|
|
349
416
|
"commands",
|
|
350
417
|
"dbdoc",
|
|
351
|
-
"
|
|
418
|
+
"status.js"
|
|
352
419
|
]
|
|
353
420
|
},
|
|
354
421
|
"install": {
|
|
@@ -694,6 +761,20 @@
|
|
|
694
761
|
"hasDynamicHelp": false,
|
|
695
762
|
"multiple": false,
|
|
696
763
|
"type": "option"
|
|
764
|
+
},
|
|
765
|
+
"include": {
|
|
766
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
767
|
+
"name": "include",
|
|
768
|
+
"hasDynamicHelp": false,
|
|
769
|
+
"multiple": false,
|
|
770
|
+
"type": "option"
|
|
771
|
+
},
|
|
772
|
+
"exclude": {
|
|
773
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
774
|
+
"name": "exclude",
|
|
775
|
+
"hasDynamicHelp": false,
|
|
776
|
+
"multiple": false,
|
|
777
|
+
"type": "option"
|
|
697
778
|
}
|
|
698
779
|
},
|
|
699
780
|
"hasDynamicHelp": false,
|
|
@@ -735,6 +816,20 @@
|
|
|
735
816
|
"name": "verbose",
|
|
736
817
|
"allowNo": false,
|
|
737
818
|
"type": "boolean"
|
|
819
|
+
},
|
|
820
|
+
"include": {
|
|
821
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
822
|
+
"name": "include",
|
|
823
|
+
"hasDynamicHelp": false,
|
|
824
|
+
"multiple": false,
|
|
825
|
+
"type": "option"
|
|
826
|
+
},
|
|
827
|
+
"exclude": {
|
|
828
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
829
|
+
"name": "exclude",
|
|
830
|
+
"hasDynamicHelp": false,
|
|
831
|
+
"multiple": false,
|
|
832
|
+
"type": "option"
|
|
738
833
|
}
|
|
739
834
|
},
|
|
740
835
|
"hasDynamicHelp": false,
|
|
@@ -863,6 +958,549 @@
|
|
|
863
958
|
"watch.js"
|
|
864
959
|
]
|
|
865
960
|
},
|
|
961
|
+
"test:compare": {
|
|
962
|
+
"aliases": [],
|
|
963
|
+
"args": {
|
|
964
|
+
"runId1": {
|
|
965
|
+
"description": "First test run ID to compare",
|
|
966
|
+
"name": "runId1",
|
|
967
|
+
"required": false
|
|
968
|
+
},
|
|
969
|
+
"runId2": {
|
|
970
|
+
"description": "Second test run ID to compare",
|
|
971
|
+
"name": "runId2",
|
|
972
|
+
"required": false
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
"description": "Compare test runs for regression detection",
|
|
976
|
+
"examples": [
|
|
977
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
978
|
+
"<%= config.bin %> <%= command.id %> --baseline=<run-id> --current=<run-id>",
|
|
979
|
+
"<%= config.bin %> <%= command.id %> --suite=<suite-id> --since=\"2024-01-01\"",
|
|
980
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2> --format=json"
|
|
981
|
+
],
|
|
982
|
+
"flags": {
|
|
983
|
+
"version": {
|
|
984
|
+
"char": "v",
|
|
985
|
+
"description": "Compare runs by version",
|
|
986
|
+
"name": "version",
|
|
987
|
+
"hasDynamicHelp": false,
|
|
988
|
+
"multiple": true,
|
|
989
|
+
"type": "option"
|
|
990
|
+
},
|
|
991
|
+
"commit": {
|
|
992
|
+
"char": "c",
|
|
993
|
+
"description": "Compare runs by git commit",
|
|
994
|
+
"name": "commit",
|
|
995
|
+
"hasDynamicHelp": false,
|
|
996
|
+
"multiple": true,
|
|
997
|
+
"type": "option"
|
|
998
|
+
},
|
|
999
|
+
"diff-only": {
|
|
1000
|
+
"description": "Show only differences",
|
|
1001
|
+
"name": "diff-only",
|
|
1002
|
+
"allowNo": false,
|
|
1003
|
+
"type": "boolean"
|
|
1004
|
+
},
|
|
1005
|
+
"format": {
|
|
1006
|
+
"char": "f",
|
|
1007
|
+
"description": "Output format",
|
|
1008
|
+
"name": "format",
|
|
1009
|
+
"default": "console",
|
|
1010
|
+
"hasDynamicHelp": false,
|
|
1011
|
+
"multiple": false,
|
|
1012
|
+
"options": [
|
|
1013
|
+
"console",
|
|
1014
|
+
"json",
|
|
1015
|
+
"markdown"
|
|
1016
|
+
],
|
|
1017
|
+
"type": "option"
|
|
1018
|
+
},
|
|
1019
|
+
"output": {
|
|
1020
|
+
"char": "o",
|
|
1021
|
+
"description": "Output file path",
|
|
1022
|
+
"name": "output",
|
|
1023
|
+
"hasDynamicHelp": false,
|
|
1024
|
+
"multiple": false,
|
|
1025
|
+
"type": "option"
|
|
1026
|
+
},
|
|
1027
|
+
"verbose": {
|
|
1028
|
+
"description": "Show detailed information",
|
|
1029
|
+
"name": "verbose",
|
|
1030
|
+
"allowNo": false,
|
|
1031
|
+
"type": "boolean"
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
"hasDynamicHelp": false,
|
|
1035
|
+
"hiddenAliases": [],
|
|
1036
|
+
"id": "test:compare",
|
|
1037
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1038
|
+
"pluginName": "@memberjunction/cli",
|
|
1039
|
+
"pluginType": "core",
|
|
1040
|
+
"strict": true,
|
|
1041
|
+
"enableJsonFlag": false,
|
|
1042
|
+
"isESM": false,
|
|
1043
|
+
"relativePath": [
|
|
1044
|
+
"dist",
|
|
1045
|
+
"commands",
|
|
1046
|
+
"test",
|
|
1047
|
+
"compare.js"
|
|
1048
|
+
]
|
|
1049
|
+
},
|
|
1050
|
+
"test:history": {
|
|
1051
|
+
"aliases": [],
|
|
1052
|
+
"args": {},
|
|
1053
|
+
"description": "View test execution history",
|
|
1054
|
+
"examples": [
|
|
1055
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1056
|
+
"<%= config.bin %> <%= command.id %> --test=<test-id>",
|
|
1057
|
+
"<%= config.bin %> <%= command.id %> --suite=<suite-id>",
|
|
1058
|
+
"<%= config.bin %> <%= command.id %> --since=\"2024-01-01\"",
|
|
1059
|
+
"<%= config.bin %> <%= command.id %> --limit=50"
|
|
1060
|
+
],
|
|
1061
|
+
"flags": {
|
|
1062
|
+
"test": {
|
|
1063
|
+
"char": "t",
|
|
1064
|
+
"description": "Filter by test ID",
|
|
1065
|
+
"name": "test",
|
|
1066
|
+
"hasDynamicHelp": false,
|
|
1067
|
+
"multiple": false,
|
|
1068
|
+
"type": "option"
|
|
1069
|
+
},
|
|
1070
|
+
"recent": {
|
|
1071
|
+
"char": "r",
|
|
1072
|
+
"description": "Number of recent runs to show",
|
|
1073
|
+
"name": "recent",
|
|
1074
|
+
"hasDynamicHelp": false,
|
|
1075
|
+
"multiple": false,
|
|
1076
|
+
"type": "option"
|
|
1077
|
+
},
|
|
1078
|
+
"from": {
|
|
1079
|
+
"description": "Show history from date (YYYY-MM-DD)",
|
|
1080
|
+
"name": "from",
|
|
1081
|
+
"hasDynamicHelp": false,
|
|
1082
|
+
"multiple": false,
|
|
1083
|
+
"type": "option"
|
|
1084
|
+
},
|
|
1085
|
+
"status": {
|
|
1086
|
+
"char": "s",
|
|
1087
|
+
"description": "Filter by status",
|
|
1088
|
+
"name": "status",
|
|
1089
|
+
"hasDynamicHelp": false,
|
|
1090
|
+
"multiple": false,
|
|
1091
|
+
"type": "option"
|
|
1092
|
+
},
|
|
1093
|
+
"format": {
|
|
1094
|
+
"char": "f",
|
|
1095
|
+
"description": "Output format",
|
|
1096
|
+
"name": "format",
|
|
1097
|
+
"default": "console",
|
|
1098
|
+
"hasDynamicHelp": false,
|
|
1099
|
+
"multiple": false,
|
|
1100
|
+
"options": [
|
|
1101
|
+
"console",
|
|
1102
|
+
"json",
|
|
1103
|
+
"markdown"
|
|
1104
|
+
],
|
|
1105
|
+
"type": "option"
|
|
1106
|
+
},
|
|
1107
|
+
"output": {
|
|
1108
|
+
"char": "o",
|
|
1109
|
+
"description": "Output file path",
|
|
1110
|
+
"name": "output",
|
|
1111
|
+
"hasDynamicHelp": false,
|
|
1112
|
+
"multiple": false,
|
|
1113
|
+
"type": "option"
|
|
1114
|
+
},
|
|
1115
|
+
"verbose": {
|
|
1116
|
+
"char": "v",
|
|
1117
|
+
"description": "Show detailed information",
|
|
1118
|
+
"name": "verbose",
|
|
1119
|
+
"allowNo": false,
|
|
1120
|
+
"type": "boolean"
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
"hasDynamicHelp": false,
|
|
1124
|
+
"hiddenAliases": [],
|
|
1125
|
+
"id": "test:history",
|
|
1126
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1127
|
+
"pluginName": "@memberjunction/cli",
|
|
1128
|
+
"pluginType": "core",
|
|
1129
|
+
"strict": true,
|
|
1130
|
+
"enableJsonFlag": false,
|
|
1131
|
+
"isESM": false,
|
|
1132
|
+
"relativePath": [
|
|
1133
|
+
"dist",
|
|
1134
|
+
"commands",
|
|
1135
|
+
"test",
|
|
1136
|
+
"history.js"
|
|
1137
|
+
]
|
|
1138
|
+
},
|
|
1139
|
+
"test": {
|
|
1140
|
+
"aliases": [],
|
|
1141
|
+
"args": {},
|
|
1142
|
+
"description": "MemberJunction Testing Framework - Execute and manage tests",
|
|
1143
|
+
"examples": [
|
|
1144
|
+
"<%= config.bin %> <%= command.id %> run <test-id>",
|
|
1145
|
+
"<%= config.bin %> <%= command.id %> run --name=\"Active Members Count\"",
|
|
1146
|
+
"<%= config.bin %> <%= command.id %> suite <suite-id>",
|
|
1147
|
+
"<%= config.bin %> <%= command.id %> list",
|
|
1148
|
+
"<%= config.bin %> <%= command.id %> list --suites",
|
|
1149
|
+
"<%= config.bin %> <%= command.id %> validate --all"
|
|
1150
|
+
],
|
|
1151
|
+
"flags": {},
|
|
1152
|
+
"hasDynamicHelp": false,
|
|
1153
|
+
"hiddenAliases": [],
|
|
1154
|
+
"id": "test",
|
|
1155
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1156
|
+
"pluginName": "@memberjunction/cli",
|
|
1157
|
+
"pluginType": "core",
|
|
1158
|
+
"strict": true,
|
|
1159
|
+
"enableJsonFlag": false,
|
|
1160
|
+
"isESM": false,
|
|
1161
|
+
"relativePath": [
|
|
1162
|
+
"dist",
|
|
1163
|
+
"commands",
|
|
1164
|
+
"test",
|
|
1165
|
+
"index.js"
|
|
1166
|
+
]
|
|
1167
|
+
},
|
|
1168
|
+
"test:list": {
|
|
1169
|
+
"aliases": [],
|
|
1170
|
+
"args": {},
|
|
1171
|
+
"description": "List available tests, suites, and types",
|
|
1172
|
+
"examples": [
|
|
1173
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1174
|
+
"<%= config.bin %> <%= command.id %> --suites",
|
|
1175
|
+
"<%= config.bin %> <%= command.id %> --types",
|
|
1176
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
1177
|
+
"<%= config.bin %> <%= command.id %> --tag=smoke",
|
|
1178
|
+
"<%= config.bin %> <%= command.id %> --status=active --verbose"
|
|
1179
|
+
],
|
|
1180
|
+
"flags": {
|
|
1181
|
+
"suites": {
|
|
1182
|
+
"description": "List test suites instead of tests",
|
|
1183
|
+
"name": "suites",
|
|
1184
|
+
"allowNo": false,
|
|
1185
|
+
"type": "boolean"
|
|
1186
|
+
},
|
|
1187
|
+
"types": {
|
|
1188
|
+
"description": "List test types",
|
|
1189
|
+
"name": "types",
|
|
1190
|
+
"allowNo": false,
|
|
1191
|
+
"type": "boolean"
|
|
1192
|
+
},
|
|
1193
|
+
"type": {
|
|
1194
|
+
"char": "t",
|
|
1195
|
+
"description": "Filter by test type",
|
|
1196
|
+
"name": "type",
|
|
1197
|
+
"hasDynamicHelp": false,
|
|
1198
|
+
"multiple": false,
|
|
1199
|
+
"type": "option"
|
|
1200
|
+
},
|
|
1201
|
+
"tag": {
|
|
1202
|
+
"description": "Filter by tag",
|
|
1203
|
+
"name": "tag",
|
|
1204
|
+
"hasDynamicHelp": false,
|
|
1205
|
+
"multiple": false,
|
|
1206
|
+
"type": "option"
|
|
1207
|
+
},
|
|
1208
|
+
"status": {
|
|
1209
|
+
"char": "s",
|
|
1210
|
+
"description": "Filter by status",
|
|
1211
|
+
"name": "status",
|
|
1212
|
+
"hasDynamicHelp": false,
|
|
1213
|
+
"multiple": false,
|
|
1214
|
+
"type": "option"
|
|
1215
|
+
},
|
|
1216
|
+
"format": {
|
|
1217
|
+
"char": "f",
|
|
1218
|
+
"description": "Output format",
|
|
1219
|
+
"name": "format",
|
|
1220
|
+
"default": "console",
|
|
1221
|
+
"hasDynamicHelp": false,
|
|
1222
|
+
"multiple": false,
|
|
1223
|
+
"options": [
|
|
1224
|
+
"console",
|
|
1225
|
+
"json",
|
|
1226
|
+
"markdown"
|
|
1227
|
+
],
|
|
1228
|
+
"type": "option"
|
|
1229
|
+
},
|
|
1230
|
+
"output": {
|
|
1231
|
+
"char": "o",
|
|
1232
|
+
"description": "Output file path",
|
|
1233
|
+
"name": "output",
|
|
1234
|
+
"hasDynamicHelp": false,
|
|
1235
|
+
"multiple": false,
|
|
1236
|
+
"type": "option"
|
|
1237
|
+
},
|
|
1238
|
+
"verbose": {
|
|
1239
|
+
"char": "v",
|
|
1240
|
+
"description": "Show detailed information",
|
|
1241
|
+
"name": "verbose",
|
|
1242
|
+
"allowNo": false,
|
|
1243
|
+
"type": "boolean"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"hasDynamicHelp": false,
|
|
1247
|
+
"hiddenAliases": [],
|
|
1248
|
+
"id": "test:list",
|
|
1249
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1250
|
+
"pluginName": "@memberjunction/cli",
|
|
1251
|
+
"pluginType": "core",
|
|
1252
|
+
"strict": true,
|
|
1253
|
+
"enableJsonFlag": false,
|
|
1254
|
+
"isESM": false,
|
|
1255
|
+
"relativePath": [
|
|
1256
|
+
"dist",
|
|
1257
|
+
"commands",
|
|
1258
|
+
"test",
|
|
1259
|
+
"list.js"
|
|
1260
|
+
]
|
|
1261
|
+
},
|
|
1262
|
+
"test:run": {
|
|
1263
|
+
"aliases": [],
|
|
1264
|
+
"args": {
|
|
1265
|
+
"testId": {
|
|
1266
|
+
"description": "Test ID to execute",
|
|
1267
|
+
"name": "testId",
|
|
1268
|
+
"required": false
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
"description": "Execute a single test by ID or name",
|
|
1272
|
+
"examples": [
|
|
1273
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
1274
|
+
"<%= config.bin %> <%= command.id %> --name=\"Active Members Count\"",
|
|
1275
|
+
"<%= config.bin %> <%= command.id %> <test-id> --environment=staging",
|
|
1276
|
+
"<%= config.bin %> <%= command.id %> <test-id> --format=json --output=results.json",
|
|
1277
|
+
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
1278
|
+
],
|
|
1279
|
+
"flags": {
|
|
1280
|
+
"name": {
|
|
1281
|
+
"char": "n",
|
|
1282
|
+
"description": "Test name to execute",
|
|
1283
|
+
"name": "name",
|
|
1284
|
+
"hasDynamicHelp": false,
|
|
1285
|
+
"multiple": false,
|
|
1286
|
+
"type": "option"
|
|
1287
|
+
},
|
|
1288
|
+
"environment": {
|
|
1289
|
+
"char": "e",
|
|
1290
|
+
"description": "Environment context (dev, staging, prod)",
|
|
1291
|
+
"name": "environment",
|
|
1292
|
+
"hasDynamicHelp": false,
|
|
1293
|
+
"multiple": false,
|
|
1294
|
+
"type": "option"
|
|
1295
|
+
},
|
|
1296
|
+
"format": {
|
|
1297
|
+
"char": "f",
|
|
1298
|
+
"description": "Output format",
|
|
1299
|
+
"name": "format",
|
|
1300
|
+
"default": "console",
|
|
1301
|
+
"hasDynamicHelp": false,
|
|
1302
|
+
"multiple": false,
|
|
1303
|
+
"options": [
|
|
1304
|
+
"console",
|
|
1305
|
+
"json",
|
|
1306
|
+
"markdown"
|
|
1307
|
+
],
|
|
1308
|
+
"type": "option"
|
|
1309
|
+
},
|
|
1310
|
+
"output": {
|
|
1311
|
+
"char": "o",
|
|
1312
|
+
"description": "Output file path",
|
|
1313
|
+
"name": "output",
|
|
1314
|
+
"hasDynamicHelp": false,
|
|
1315
|
+
"multiple": false,
|
|
1316
|
+
"type": "option"
|
|
1317
|
+
},
|
|
1318
|
+
"dry-run": {
|
|
1319
|
+
"description": "Validate without executing",
|
|
1320
|
+
"name": "dry-run",
|
|
1321
|
+
"allowNo": false,
|
|
1322
|
+
"type": "boolean"
|
|
1323
|
+
},
|
|
1324
|
+
"verbose": {
|
|
1325
|
+
"char": "v",
|
|
1326
|
+
"description": "Show detailed execution information",
|
|
1327
|
+
"name": "verbose",
|
|
1328
|
+
"allowNo": false,
|
|
1329
|
+
"type": "boolean"
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
"hasDynamicHelp": false,
|
|
1333
|
+
"hiddenAliases": [],
|
|
1334
|
+
"id": "test:run",
|
|
1335
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1336
|
+
"pluginName": "@memberjunction/cli",
|
|
1337
|
+
"pluginType": "core",
|
|
1338
|
+
"strict": true,
|
|
1339
|
+
"enableJsonFlag": false,
|
|
1340
|
+
"isESM": false,
|
|
1341
|
+
"relativePath": [
|
|
1342
|
+
"dist",
|
|
1343
|
+
"commands",
|
|
1344
|
+
"test",
|
|
1345
|
+
"run.js"
|
|
1346
|
+
]
|
|
1347
|
+
},
|
|
1348
|
+
"test:suite": {
|
|
1349
|
+
"aliases": [],
|
|
1350
|
+
"args": {
|
|
1351
|
+
"suiteId": {
|
|
1352
|
+
"description": "Test suite ID to execute",
|
|
1353
|
+
"name": "suiteId",
|
|
1354
|
+
"required": false
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"description": "Execute a test suite",
|
|
1358
|
+
"examples": [
|
|
1359
|
+
"<%= config.bin %> <%= command.id %> <suite-id>",
|
|
1360
|
+
"<%= config.bin %> <%= command.id %> --name=\"Agent Quality Suite\"",
|
|
1361
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --format=json",
|
|
1362
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
1363
|
+
],
|
|
1364
|
+
"flags": {
|
|
1365
|
+
"name": {
|
|
1366
|
+
"char": "n",
|
|
1367
|
+
"description": "Test suite name to execute",
|
|
1368
|
+
"name": "name",
|
|
1369
|
+
"hasDynamicHelp": false,
|
|
1370
|
+
"multiple": false,
|
|
1371
|
+
"type": "option"
|
|
1372
|
+
},
|
|
1373
|
+
"format": {
|
|
1374
|
+
"char": "f",
|
|
1375
|
+
"description": "Output format",
|
|
1376
|
+
"name": "format",
|
|
1377
|
+
"default": "console",
|
|
1378
|
+
"hasDynamicHelp": false,
|
|
1379
|
+
"multiple": false,
|
|
1380
|
+
"options": [
|
|
1381
|
+
"console",
|
|
1382
|
+
"json",
|
|
1383
|
+
"markdown"
|
|
1384
|
+
],
|
|
1385
|
+
"type": "option"
|
|
1386
|
+
},
|
|
1387
|
+
"output": {
|
|
1388
|
+
"char": "o",
|
|
1389
|
+
"description": "Output file path",
|
|
1390
|
+
"name": "output",
|
|
1391
|
+
"hasDynamicHelp": false,
|
|
1392
|
+
"multiple": false,
|
|
1393
|
+
"type": "option"
|
|
1394
|
+
},
|
|
1395
|
+
"verbose": {
|
|
1396
|
+
"char": "v",
|
|
1397
|
+
"description": "Show detailed execution information",
|
|
1398
|
+
"name": "verbose",
|
|
1399
|
+
"allowNo": false,
|
|
1400
|
+
"type": "boolean"
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
"hasDynamicHelp": false,
|
|
1404
|
+
"hiddenAliases": [],
|
|
1405
|
+
"id": "test:suite",
|
|
1406
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1407
|
+
"pluginName": "@memberjunction/cli",
|
|
1408
|
+
"pluginType": "core",
|
|
1409
|
+
"strict": true,
|
|
1410
|
+
"enableJsonFlag": false,
|
|
1411
|
+
"isESM": false,
|
|
1412
|
+
"relativePath": [
|
|
1413
|
+
"dist",
|
|
1414
|
+
"commands",
|
|
1415
|
+
"test",
|
|
1416
|
+
"suite.js"
|
|
1417
|
+
]
|
|
1418
|
+
},
|
|
1419
|
+
"test:validate": {
|
|
1420
|
+
"aliases": [],
|
|
1421
|
+
"args": {
|
|
1422
|
+
"testId": {
|
|
1423
|
+
"description": "Test ID to validate",
|
|
1424
|
+
"name": "testId",
|
|
1425
|
+
"required": false
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
"description": "Validate test definitions without executing",
|
|
1429
|
+
"examples": [
|
|
1430
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
1431
|
+
"<%= config.bin %> <%= command.id %> --all",
|
|
1432
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
1433
|
+
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
1434
|
+
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
1435
|
+
],
|
|
1436
|
+
"flags": {
|
|
1437
|
+
"all": {
|
|
1438
|
+
"char": "a",
|
|
1439
|
+
"description": "Validate all tests",
|
|
1440
|
+
"name": "all",
|
|
1441
|
+
"allowNo": false,
|
|
1442
|
+
"type": "boolean"
|
|
1443
|
+
},
|
|
1444
|
+
"type": {
|
|
1445
|
+
"char": "t",
|
|
1446
|
+
"description": "Validate tests by type",
|
|
1447
|
+
"name": "type",
|
|
1448
|
+
"hasDynamicHelp": false,
|
|
1449
|
+
"multiple": false,
|
|
1450
|
+
"type": "option"
|
|
1451
|
+
},
|
|
1452
|
+
"save-report": {
|
|
1453
|
+
"description": "Save validation report to file",
|
|
1454
|
+
"name": "save-report",
|
|
1455
|
+
"allowNo": false,
|
|
1456
|
+
"type": "boolean"
|
|
1457
|
+
},
|
|
1458
|
+
"format": {
|
|
1459
|
+
"char": "f",
|
|
1460
|
+
"description": "Output format",
|
|
1461
|
+
"name": "format",
|
|
1462
|
+
"default": "console",
|
|
1463
|
+
"hasDynamicHelp": false,
|
|
1464
|
+
"multiple": false,
|
|
1465
|
+
"options": [
|
|
1466
|
+
"console",
|
|
1467
|
+
"json",
|
|
1468
|
+
"markdown"
|
|
1469
|
+
],
|
|
1470
|
+
"type": "option"
|
|
1471
|
+
},
|
|
1472
|
+
"output": {
|
|
1473
|
+
"char": "o",
|
|
1474
|
+
"description": "Output file path",
|
|
1475
|
+
"name": "output",
|
|
1476
|
+
"hasDynamicHelp": false,
|
|
1477
|
+
"multiple": false,
|
|
1478
|
+
"type": "option"
|
|
1479
|
+
},
|
|
1480
|
+
"verbose": {
|
|
1481
|
+
"char": "v",
|
|
1482
|
+
"description": "Show detailed information",
|
|
1483
|
+
"name": "verbose",
|
|
1484
|
+
"allowNo": false,
|
|
1485
|
+
"type": "boolean"
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
"hasDynamicHelp": false,
|
|
1489
|
+
"hiddenAliases": [],
|
|
1490
|
+
"id": "test:validate",
|
|
1491
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1492
|
+
"pluginName": "@memberjunction/cli",
|
|
1493
|
+
"pluginType": "core",
|
|
1494
|
+
"strict": true,
|
|
1495
|
+
"enableJsonFlag": false,
|
|
1496
|
+
"isESM": false,
|
|
1497
|
+
"relativePath": [
|
|
1498
|
+
"dist",
|
|
1499
|
+
"commands",
|
|
1500
|
+
"test",
|
|
1501
|
+
"validate.js"
|
|
1502
|
+
]
|
|
1503
|
+
},
|
|
866
1504
|
"ai:actions:list": {
|
|
867
1505
|
"aliases": [],
|
|
868
1506
|
"args": {},
|
|
@@ -1255,5 +1893,5 @@
|
|
|
1255
1893
|
]
|
|
1256
1894
|
}
|
|
1257
1895
|
},
|
|
1258
|
-
"version": "2.
|
|
1896
|
+
"version": "2.118.0"
|
|
1259
1897
|
}
|