@memberjunction/cli 5.25.0 → 5.27.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/oclif.manifest.json +947 -947
- package/package.json +13 -13
package/oclif.manifest.json
CHANGED
|
@@ -320,6 +320,38 @@
|
|
|
320
320
|
"upgrade.js"
|
|
321
321
|
]
|
|
322
322
|
},
|
|
323
|
+
"clean": {
|
|
324
|
+
"aliases": [],
|
|
325
|
+
"args": {},
|
|
326
|
+
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
327
|
+
"examples": [
|
|
328
|
+
"<%= config.bin %> <%= command.id %>\n"
|
|
329
|
+
],
|
|
330
|
+
"flags": {
|
|
331
|
+
"verbose": {
|
|
332
|
+
"char": "v",
|
|
333
|
+
"description": "Enable additional logging",
|
|
334
|
+
"name": "verbose",
|
|
335
|
+
"allowNo": false,
|
|
336
|
+
"type": "boolean"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"hasDynamicHelp": false,
|
|
340
|
+
"hiddenAliases": [],
|
|
341
|
+
"id": "clean",
|
|
342
|
+
"pluginAlias": "@memberjunction/cli",
|
|
343
|
+
"pluginName": "@memberjunction/cli",
|
|
344
|
+
"pluginType": "core",
|
|
345
|
+
"strict": true,
|
|
346
|
+
"enableJsonFlag": false,
|
|
347
|
+
"isESM": true,
|
|
348
|
+
"relativePath": [
|
|
349
|
+
"dist",
|
|
350
|
+
"commands",
|
|
351
|
+
"clean",
|
|
352
|
+
"index.js"
|
|
353
|
+
]
|
|
354
|
+
},
|
|
323
355
|
"bump": {
|
|
324
356
|
"aliases": [],
|
|
325
357
|
"args": {},
|
|
@@ -775,210 +807,6 @@
|
|
|
775
807
|
"manifest.js"
|
|
776
808
|
]
|
|
777
809
|
},
|
|
778
|
-
"clean": {
|
|
779
|
-
"aliases": [],
|
|
780
|
-
"args": {},
|
|
781
|
-
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
782
|
-
"examples": [
|
|
783
|
-
"<%= config.bin %> <%= command.id %>\n"
|
|
784
|
-
],
|
|
785
|
-
"flags": {
|
|
786
|
-
"verbose": {
|
|
787
|
-
"char": "v",
|
|
788
|
-
"description": "Enable additional logging",
|
|
789
|
-
"name": "verbose",
|
|
790
|
-
"allowNo": false,
|
|
791
|
-
"type": "boolean"
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
"hasDynamicHelp": false,
|
|
795
|
-
"hiddenAliases": [],
|
|
796
|
-
"id": "clean",
|
|
797
|
-
"pluginAlias": "@memberjunction/cli",
|
|
798
|
-
"pluginName": "@memberjunction/cli",
|
|
799
|
-
"pluginType": "core",
|
|
800
|
-
"strict": true,
|
|
801
|
-
"enableJsonFlag": false,
|
|
802
|
-
"isESM": true,
|
|
803
|
-
"relativePath": [
|
|
804
|
-
"dist",
|
|
805
|
-
"commands",
|
|
806
|
-
"clean",
|
|
807
|
-
"index.js"
|
|
808
|
-
]
|
|
809
|
-
},
|
|
810
|
-
"doctor": {
|
|
811
|
-
"aliases": [],
|
|
812
|
-
"args": {},
|
|
813
|
-
"description": "Diagnose a MemberJunction installation",
|
|
814
|
-
"examples": [
|
|
815
|
-
"<%= config.bin %> <%= command.id %>",
|
|
816
|
-
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
817
|
-
"<%= config.bin %> <%= command.id %> --verbose",
|
|
818
|
-
"<%= config.bin %> <%= command.id %> --report",
|
|
819
|
-
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
820
|
-
],
|
|
821
|
-
"flags": {
|
|
822
|
-
"dir": {
|
|
823
|
-
"description": "Target directory to diagnose",
|
|
824
|
-
"name": "dir",
|
|
825
|
-
"default": ".",
|
|
826
|
-
"hasDynamicHelp": false,
|
|
827
|
-
"multiple": false,
|
|
828
|
-
"type": "option"
|
|
829
|
-
},
|
|
830
|
-
"verbose": {
|
|
831
|
-
"char": "v",
|
|
832
|
-
"description": "Show detailed output including suggested fixes inline",
|
|
833
|
-
"name": "verbose",
|
|
834
|
-
"allowNo": false,
|
|
835
|
-
"type": "boolean"
|
|
836
|
-
},
|
|
837
|
-
"report": {
|
|
838
|
-
"char": "r",
|
|
839
|
-
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
840
|
-
"name": "report",
|
|
841
|
-
"allowNo": false,
|
|
842
|
-
"type": "boolean"
|
|
843
|
-
},
|
|
844
|
-
"report_extended": {
|
|
845
|
-
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
846
|
-
"name": "report_extended",
|
|
847
|
-
"allowNo": false,
|
|
848
|
-
"type": "boolean"
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
"hasDynamicHelp": false,
|
|
852
|
-
"hiddenAliases": [],
|
|
853
|
-
"id": "doctor",
|
|
854
|
-
"pluginAlias": "@memberjunction/cli",
|
|
855
|
-
"pluginName": "@memberjunction/cli",
|
|
856
|
-
"pluginType": "core",
|
|
857
|
-
"strict": true,
|
|
858
|
-
"enableJsonFlag": false,
|
|
859
|
-
"isESM": true,
|
|
860
|
-
"relativePath": [
|
|
861
|
-
"dist",
|
|
862
|
-
"commands",
|
|
863
|
-
"doctor",
|
|
864
|
-
"index.js"
|
|
865
|
-
]
|
|
866
|
-
},
|
|
867
|
-
"install": {
|
|
868
|
-
"aliases": [],
|
|
869
|
-
"args": {},
|
|
870
|
-
"description": "Install MemberJunction from a GitHub release",
|
|
871
|
-
"examples": [
|
|
872
|
-
"<%= config.bin %> <%= command.id %>",
|
|
873
|
-
"<%= config.bin %> <%= command.id %> -t v4.3.0",
|
|
874
|
-
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
875
|
-
"<%= config.bin %> <%= command.id %> --yes"
|
|
876
|
-
],
|
|
877
|
-
"flags": {
|
|
878
|
-
"tag": {
|
|
879
|
-
"char": "t",
|
|
880
|
-
"description": "Release tag to install (e.g. v4.3.0). If omitted, shows a version picker.",
|
|
881
|
-
"name": "tag",
|
|
882
|
-
"hasDynamicHelp": false,
|
|
883
|
-
"multiple": false,
|
|
884
|
-
"type": "option"
|
|
885
|
-
},
|
|
886
|
-
"dir": {
|
|
887
|
-
"description": "Target directory for the installation",
|
|
888
|
-
"name": "dir",
|
|
889
|
-
"default": ".",
|
|
890
|
-
"hasDynamicHelp": false,
|
|
891
|
-
"multiple": false,
|
|
892
|
-
"type": "option"
|
|
893
|
-
},
|
|
894
|
-
"config": {
|
|
895
|
-
"char": "c",
|
|
896
|
-
"description": "Path to JSON config file with install settings (database, auth, ports, etc.)",
|
|
897
|
-
"name": "config",
|
|
898
|
-
"hasDynamicHelp": false,
|
|
899
|
-
"multiple": false,
|
|
900
|
-
"type": "option"
|
|
901
|
-
},
|
|
902
|
-
"legacy": {
|
|
903
|
-
"description": "Use the legacy interactive installer (ZIP-only distribution)",
|
|
904
|
-
"hidden": true,
|
|
905
|
-
"name": "legacy",
|
|
906
|
-
"allowNo": false,
|
|
907
|
-
"type": "boolean"
|
|
908
|
-
},
|
|
909
|
-
"dry-run": {
|
|
910
|
-
"description": "Show the install plan without executing it",
|
|
911
|
-
"name": "dry-run",
|
|
912
|
-
"allowNo": false,
|
|
913
|
-
"type": "boolean"
|
|
914
|
-
},
|
|
915
|
-
"yes": {
|
|
916
|
-
"char": "y",
|
|
917
|
-
"description": "Non-interactive mode: auto-select latest version and accept defaults",
|
|
918
|
-
"name": "yes",
|
|
919
|
-
"allowNo": false,
|
|
920
|
-
"type": "boolean"
|
|
921
|
-
},
|
|
922
|
-
"verbose": {
|
|
923
|
-
"char": "v",
|
|
924
|
-
"description": "Show detailed output",
|
|
925
|
-
"name": "verbose",
|
|
926
|
-
"allowNo": false,
|
|
927
|
-
"type": "boolean"
|
|
928
|
-
},
|
|
929
|
-
"skip-db": {
|
|
930
|
-
"description": "Skip database provisioning phases",
|
|
931
|
-
"name": "skip-db",
|
|
932
|
-
"allowNo": false,
|
|
933
|
-
"type": "boolean"
|
|
934
|
-
},
|
|
935
|
-
"skip-start": {
|
|
936
|
-
"description": "Skip service startup and smoke tests",
|
|
937
|
-
"name": "skip-start",
|
|
938
|
-
"allowNo": false,
|
|
939
|
-
"type": "boolean"
|
|
940
|
-
},
|
|
941
|
-
"no-resume": {
|
|
942
|
-
"description": "Ignore any existing checkpoint and start fresh",
|
|
943
|
-
"name": "no-resume",
|
|
944
|
-
"allowNo": false,
|
|
945
|
-
"type": "boolean"
|
|
946
|
-
},
|
|
947
|
-
"fast": {
|
|
948
|
-
"description": "Fast mode: skip smoke test and optimize post-codegen steps. Re-run without --fast if you encounter issues.",
|
|
949
|
-
"name": "fast",
|
|
950
|
-
"allowNo": false,
|
|
951
|
-
"type": "boolean"
|
|
952
|
-
},
|
|
953
|
-
"overwrite-config": {
|
|
954
|
-
"description": "Overwrite existing config files (.env, mj.config.cjs, environment.ts) instead of preserving them",
|
|
955
|
-
"name": "overwrite-config",
|
|
956
|
-
"allowNo": false,
|
|
957
|
-
"type": "boolean"
|
|
958
|
-
},
|
|
959
|
-
"monorepo": {
|
|
960
|
-
"description": "Install the full MemberJunction source repository instead of the lightweight distribution. Use this for MJ framework development.",
|
|
961
|
-
"name": "monorepo",
|
|
962
|
-
"allowNo": false,
|
|
963
|
-
"type": "boolean"
|
|
964
|
-
}
|
|
965
|
-
},
|
|
966
|
-
"hasDynamicHelp": false,
|
|
967
|
-
"hiddenAliases": [],
|
|
968
|
-
"id": "install",
|
|
969
|
-
"pluginAlias": "@memberjunction/cli",
|
|
970
|
-
"pluginName": "@memberjunction/cli",
|
|
971
|
-
"pluginType": "core",
|
|
972
|
-
"strict": true,
|
|
973
|
-
"enableJsonFlag": false,
|
|
974
|
-
"isESM": true,
|
|
975
|
-
"relativePath": [
|
|
976
|
-
"dist",
|
|
977
|
-
"commands",
|
|
978
|
-
"install",
|
|
979
|
-
"index.js"
|
|
980
|
-
]
|
|
981
|
-
},
|
|
982
810
|
"dbdoc:analyze": {
|
|
983
811
|
"aliases": [],
|
|
984
812
|
"args": {},
|
|
@@ -1416,14 +1244,186 @@
|
|
|
1416
1244
|
"status.js"
|
|
1417
1245
|
]
|
|
1418
1246
|
},
|
|
1419
|
-
"
|
|
1247
|
+
"doctor": {
|
|
1420
1248
|
"aliases": [],
|
|
1421
1249
|
"args": {},
|
|
1422
|
-
"description": "
|
|
1250
|
+
"description": "Diagnose a MemberJunction installation",
|
|
1423
1251
|
"examples": [
|
|
1424
|
-
"<%= config.bin %> <%= command.id
|
|
1425
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1426
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1252
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1253
|
+
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
1254
|
+
"<%= config.bin %> <%= command.id %> --verbose",
|
|
1255
|
+
"<%= config.bin %> <%= command.id %> --report",
|
|
1256
|
+
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
1257
|
+
],
|
|
1258
|
+
"flags": {
|
|
1259
|
+
"dir": {
|
|
1260
|
+
"description": "Target directory to diagnose",
|
|
1261
|
+
"name": "dir",
|
|
1262
|
+
"default": ".",
|
|
1263
|
+
"hasDynamicHelp": false,
|
|
1264
|
+
"multiple": false,
|
|
1265
|
+
"type": "option"
|
|
1266
|
+
},
|
|
1267
|
+
"verbose": {
|
|
1268
|
+
"char": "v",
|
|
1269
|
+
"description": "Show detailed output including suggested fixes inline",
|
|
1270
|
+
"name": "verbose",
|
|
1271
|
+
"allowNo": false,
|
|
1272
|
+
"type": "boolean"
|
|
1273
|
+
},
|
|
1274
|
+
"report": {
|
|
1275
|
+
"char": "r",
|
|
1276
|
+
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
1277
|
+
"name": "report",
|
|
1278
|
+
"allowNo": false,
|
|
1279
|
+
"type": "boolean"
|
|
1280
|
+
},
|
|
1281
|
+
"report_extended": {
|
|
1282
|
+
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
1283
|
+
"name": "report_extended",
|
|
1284
|
+
"allowNo": false,
|
|
1285
|
+
"type": "boolean"
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
"hasDynamicHelp": false,
|
|
1289
|
+
"hiddenAliases": [],
|
|
1290
|
+
"id": "doctor",
|
|
1291
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1292
|
+
"pluginName": "@memberjunction/cli",
|
|
1293
|
+
"pluginType": "core",
|
|
1294
|
+
"strict": true,
|
|
1295
|
+
"enableJsonFlag": false,
|
|
1296
|
+
"isESM": true,
|
|
1297
|
+
"relativePath": [
|
|
1298
|
+
"dist",
|
|
1299
|
+
"commands",
|
|
1300
|
+
"doctor",
|
|
1301
|
+
"index.js"
|
|
1302
|
+
]
|
|
1303
|
+
},
|
|
1304
|
+
"install": {
|
|
1305
|
+
"aliases": [],
|
|
1306
|
+
"args": {},
|
|
1307
|
+
"description": "Install MemberJunction from a GitHub release",
|
|
1308
|
+
"examples": [
|
|
1309
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1310
|
+
"<%= config.bin %> <%= command.id %> -t v4.3.0",
|
|
1311
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
1312
|
+
"<%= config.bin %> <%= command.id %> --yes"
|
|
1313
|
+
],
|
|
1314
|
+
"flags": {
|
|
1315
|
+
"tag": {
|
|
1316
|
+
"char": "t",
|
|
1317
|
+
"description": "Release tag to install (e.g. v4.3.0). If omitted, shows a version picker.",
|
|
1318
|
+
"name": "tag",
|
|
1319
|
+
"hasDynamicHelp": false,
|
|
1320
|
+
"multiple": false,
|
|
1321
|
+
"type": "option"
|
|
1322
|
+
},
|
|
1323
|
+
"dir": {
|
|
1324
|
+
"description": "Target directory for the installation",
|
|
1325
|
+
"name": "dir",
|
|
1326
|
+
"default": ".",
|
|
1327
|
+
"hasDynamicHelp": false,
|
|
1328
|
+
"multiple": false,
|
|
1329
|
+
"type": "option"
|
|
1330
|
+
},
|
|
1331
|
+
"config": {
|
|
1332
|
+
"char": "c",
|
|
1333
|
+
"description": "Path to JSON config file with install settings (database, auth, ports, etc.)",
|
|
1334
|
+
"name": "config",
|
|
1335
|
+
"hasDynamicHelp": false,
|
|
1336
|
+
"multiple": false,
|
|
1337
|
+
"type": "option"
|
|
1338
|
+
},
|
|
1339
|
+
"legacy": {
|
|
1340
|
+
"description": "Use the legacy interactive installer (ZIP-only distribution)",
|
|
1341
|
+
"hidden": true,
|
|
1342
|
+
"name": "legacy",
|
|
1343
|
+
"allowNo": false,
|
|
1344
|
+
"type": "boolean"
|
|
1345
|
+
},
|
|
1346
|
+
"dry-run": {
|
|
1347
|
+
"description": "Show the install plan without executing it",
|
|
1348
|
+
"name": "dry-run",
|
|
1349
|
+
"allowNo": false,
|
|
1350
|
+
"type": "boolean"
|
|
1351
|
+
},
|
|
1352
|
+
"yes": {
|
|
1353
|
+
"char": "y",
|
|
1354
|
+
"description": "Non-interactive mode: auto-select latest version and accept defaults",
|
|
1355
|
+
"name": "yes",
|
|
1356
|
+
"allowNo": false,
|
|
1357
|
+
"type": "boolean"
|
|
1358
|
+
},
|
|
1359
|
+
"verbose": {
|
|
1360
|
+
"char": "v",
|
|
1361
|
+
"description": "Show detailed output",
|
|
1362
|
+
"name": "verbose",
|
|
1363
|
+
"allowNo": false,
|
|
1364
|
+
"type": "boolean"
|
|
1365
|
+
},
|
|
1366
|
+
"skip-db": {
|
|
1367
|
+
"description": "Skip database provisioning phases",
|
|
1368
|
+
"name": "skip-db",
|
|
1369
|
+
"allowNo": false,
|
|
1370
|
+
"type": "boolean"
|
|
1371
|
+
},
|
|
1372
|
+
"skip-start": {
|
|
1373
|
+
"description": "Skip service startup and smoke tests",
|
|
1374
|
+
"name": "skip-start",
|
|
1375
|
+
"allowNo": false,
|
|
1376
|
+
"type": "boolean"
|
|
1377
|
+
},
|
|
1378
|
+
"no-resume": {
|
|
1379
|
+
"description": "Ignore any existing checkpoint and start fresh",
|
|
1380
|
+
"name": "no-resume",
|
|
1381
|
+
"allowNo": false,
|
|
1382
|
+
"type": "boolean"
|
|
1383
|
+
},
|
|
1384
|
+
"fast": {
|
|
1385
|
+
"description": "Fast mode: skip smoke test and optimize post-codegen steps. Re-run without --fast if you encounter issues.",
|
|
1386
|
+
"name": "fast",
|
|
1387
|
+
"allowNo": false,
|
|
1388
|
+
"type": "boolean"
|
|
1389
|
+
},
|
|
1390
|
+
"overwrite-config": {
|
|
1391
|
+
"description": "Overwrite existing config files (.env, mj.config.cjs, environment.ts) instead of preserving them",
|
|
1392
|
+
"name": "overwrite-config",
|
|
1393
|
+
"allowNo": false,
|
|
1394
|
+
"type": "boolean"
|
|
1395
|
+
},
|
|
1396
|
+
"monorepo": {
|
|
1397
|
+
"description": "Install the full MemberJunction source repository instead of the lightweight distribution. Use this for MJ framework development.",
|
|
1398
|
+
"name": "monorepo",
|
|
1399
|
+
"allowNo": false,
|
|
1400
|
+
"type": "boolean"
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
"hasDynamicHelp": false,
|
|
1404
|
+
"hiddenAliases": [],
|
|
1405
|
+
"id": "install",
|
|
1406
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1407
|
+
"pluginName": "@memberjunction/cli",
|
|
1408
|
+
"pluginType": "core",
|
|
1409
|
+
"strict": true,
|
|
1410
|
+
"enableJsonFlag": false,
|
|
1411
|
+
"isESM": true,
|
|
1412
|
+
"relativePath": [
|
|
1413
|
+
"dist",
|
|
1414
|
+
"commands",
|
|
1415
|
+
"install",
|
|
1416
|
+
"index.js"
|
|
1417
|
+
]
|
|
1418
|
+
},
|
|
1419
|
+
"migrate": {
|
|
1420
|
+
"aliases": [],
|
|
1421
|
+
"args": {},
|
|
1422
|
+
"description": "Migrate MemberJunction database to latest version",
|
|
1423
|
+
"examples": [
|
|
1424
|
+
"<%= config.bin %> <%= command.id %>\n",
|
|
1425
|
+
"<%= config.bin %> <%= command.id %> --schema __BCSaaS --dir ./migrations/v1\n",
|
|
1426
|
+
"<%= config.bin %> <%= command.id %> --schema __BCSaaS --tag v1.0.0\n"
|
|
1427
1427
|
],
|
|
1428
1428
|
"flags": {
|
|
1429
1429
|
"verbose": {
|
|
@@ -1688,73 +1688,6 @@
|
|
|
1688
1688
|
"validate.js"
|
|
1689
1689
|
]
|
|
1690
1690
|
},
|
|
1691
|
-
"sql-audit": {
|
|
1692
|
-
"aliases": [],
|
|
1693
|
-
"args": {},
|
|
1694
|
-
"description": "Compare source and target databases for migration verification",
|
|
1695
|
-
"examples": [
|
|
1696
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
1697
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
1698
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
1699
|
-
],
|
|
1700
|
-
"flags": {
|
|
1701
|
-
"source": {
|
|
1702
|
-
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
1703
|
-
"name": "source",
|
|
1704
|
-
"required": true,
|
|
1705
|
-
"hasDynamicHelp": false,
|
|
1706
|
-
"multiple": false,
|
|
1707
|
-
"type": "option"
|
|
1708
|
-
},
|
|
1709
|
-
"target": {
|
|
1710
|
-
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
1711
|
-
"name": "target",
|
|
1712
|
-
"required": true,
|
|
1713
|
-
"hasDynamicHelp": false,
|
|
1714
|
-
"multiple": false,
|
|
1715
|
-
"type": "option"
|
|
1716
|
-
},
|
|
1717
|
-
"source-schema": {
|
|
1718
|
-
"description": "Source schema name",
|
|
1719
|
-
"name": "source-schema",
|
|
1720
|
-
"default": "__mj",
|
|
1721
|
-
"hasDynamicHelp": false,
|
|
1722
|
-
"multiple": false,
|
|
1723
|
-
"type": "option"
|
|
1724
|
-
},
|
|
1725
|
-
"target-schema": {
|
|
1726
|
-
"description": "Target schema name",
|
|
1727
|
-
"name": "target-schema",
|
|
1728
|
-
"default": "__mj",
|
|
1729
|
-
"hasDynamicHelp": false,
|
|
1730
|
-
"multiple": false,
|
|
1731
|
-
"type": "option"
|
|
1732
|
-
},
|
|
1733
|
-
"output": {
|
|
1734
|
-
"char": "o",
|
|
1735
|
-
"description": "Save report to file",
|
|
1736
|
-
"name": "output",
|
|
1737
|
-
"hasDynamicHelp": false,
|
|
1738
|
-
"multiple": false,
|
|
1739
|
-
"type": "option"
|
|
1740
|
-
}
|
|
1741
|
-
},
|
|
1742
|
-
"hasDynamicHelp": false,
|
|
1743
|
-
"hiddenAliases": [],
|
|
1744
|
-
"id": "sql-audit",
|
|
1745
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1746
|
-
"pluginName": "@memberjunction/cli",
|
|
1747
|
-
"pluginType": "core",
|
|
1748
|
-
"strict": true,
|
|
1749
|
-
"enableJsonFlag": false,
|
|
1750
|
-
"isESM": true,
|
|
1751
|
-
"relativePath": [
|
|
1752
|
-
"dist",
|
|
1753
|
-
"commands",
|
|
1754
|
-
"sql-audit",
|
|
1755
|
-
"index.js"
|
|
1756
|
-
]
|
|
1757
|
-
},
|
|
1758
1691
|
"sql-convert": {
|
|
1759
1692
|
"aliases": [],
|
|
1760
1693
|
"args": {
|
|
@@ -1840,60 +1773,60 @@
|
|
|
1840
1773
|
"index.js"
|
|
1841
1774
|
]
|
|
1842
1775
|
},
|
|
1843
|
-
"
|
|
1776
|
+
"sql-audit": {
|
|
1844
1777
|
"aliases": [],
|
|
1845
1778
|
"args": {},
|
|
1846
|
-
"description": "
|
|
1779
|
+
"description": "Compare source and target databases for migration verification",
|
|
1847
1780
|
"examples": [
|
|
1848
|
-
"<%= config.bin %>
|
|
1849
|
-
"<%= config.bin %>
|
|
1850
|
-
"<%= config.bin %>
|
|
1851
|
-
"<%= config.bin %> <%= command.id %> --all"
|
|
1781
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
1782
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
1783
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
1852
1784
|
],
|
|
1853
1785
|
"flags": {
|
|
1854
|
-
"
|
|
1855
|
-
"description": "
|
|
1856
|
-
"name": "
|
|
1786
|
+
"source": {
|
|
1787
|
+
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
1788
|
+
"name": "source",
|
|
1789
|
+
"required": true,
|
|
1857
1790
|
"hasDynamicHelp": false,
|
|
1858
1791
|
"multiple": false,
|
|
1859
1792
|
"type": "option"
|
|
1860
1793
|
},
|
|
1861
|
-
"
|
|
1862
|
-
"description": "
|
|
1863
|
-
"name": "
|
|
1794
|
+
"target": {
|
|
1795
|
+
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
1796
|
+
"name": "target",
|
|
1797
|
+
"required": true,
|
|
1864
1798
|
"hasDynamicHelp": false,
|
|
1865
1799
|
"multiple": false,
|
|
1866
1800
|
"type": "option"
|
|
1867
1801
|
},
|
|
1868
|
-
"
|
|
1869
|
-
"description": "
|
|
1870
|
-
"name": "
|
|
1871
|
-
"
|
|
1872
|
-
"
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
"description": "Show what would be reset without actually resetting",
|
|
1876
|
-
"name": "dry-run",
|
|
1877
|
-
"allowNo": false,
|
|
1878
|
-
"type": "boolean"
|
|
1802
|
+
"source-schema": {
|
|
1803
|
+
"description": "Source schema name",
|
|
1804
|
+
"name": "source-schema",
|
|
1805
|
+
"default": "__mj",
|
|
1806
|
+
"hasDynamicHelp": false,
|
|
1807
|
+
"multiple": false,
|
|
1808
|
+
"type": "option"
|
|
1879
1809
|
},
|
|
1880
|
-
"
|
|
1881
|
-
"description": "
|
|
1882
|
-
"name": "
|
|
1883
|
-
"
|
|
1884
|
-
"
|
|
1810
|
+
"target-schema": {
|
|
1811
|
+
"description": "Target schema name",
|
|
1812
|
+
"name": "target-schema",
|
|
1813
|
+
"default": "__mj",
|
|
1814
|
+
"hasDynamicHelp": false,
|
|
1815
|
+
"multiple": false,
|
|
1816
|
+
"type": "option"
|
|
1885
1817
|
},
|
|
1886
|
-
"
|
|
1887
|
-
"char": "
|
|
1888
|
-
"description": "
|
|
1889
|
-
"name": "
|
|
1890
|
-
"
|
|
1891
|
-
"
|
|
1818
|
+
"output": {
|
|
1819
|
+
"char": "o",
|
|
1820
|
+
"description": "Save report to file",
|
|
1821
|
+
"name": "output",
|
|
1822
|
+
"hasDynamicHelp": false,
|
|
1823
|
+
"multiple": false,
|
|
1824
|
+
"type": "option"
|
|
1892
1825
|
}
|
|
1893
1826
|
},
|
|
1894
1827
|
"hasDynamicHelp": false,
|
|
1895
1828
|
"hiddenAliases": [],
|
|
1896
|
-
"id": "
|
|
1829
|
+
"id": "sql-audit",
|
|
1897
1830
|
"pluginAlias": "@memberjunction/cli",
|
|
1898
1831
|
"pluginName": "@memberjunction/cli",
|
|
1899
1832
|
"pluginType": "core",
|
|
@@ -1903,21 +1836,86 @@
|
|
|
1903
1836
|
"relativePath": [
|
|
1904
1837
|
"dist",
|
|
1905
1838
|
"commands",
|
|
1906
|
-
"
|
|
1907
|
-
"
|
|
1839
|
+
"sql-audit",
|
|
1840
|
+
"index.js"
|
|
1908
1841
|
]
|
|
1909
1842
|
},
|
|
1910
|
-
"
|
|
1843
|
+
"test:compare": {
|
|
1911
1844
|
"aliases": [],
|
|
1912
|
-
"args": {
|
|
1913
|
-
|
|
1845
|
+
"args": {
|
|
1846
|
+
"runId1": {
|
|
1847
|
+
"description": "First test run ID to compare",
|
|
1848
|
+
"name": "runId1",
|
|
1849
|
+
"required": false
|
|
1850
|
+
},
|
|
1851
|
+
"runId2": {
|
|
1852
|
+
"description": "Second test run ID to compare",
|
|
1853
|
+
"name": "runId2",
|
|
1854
|
+
"required": false
|
|
1855
|
+
}
|
|
1856
|
+
},
|
|
1857
|
+
"description": "Compare test runs for regression detection",
|
|
1914
1858
|
"examples": [
|
|
1915
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1859
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
1860
|
+
"<%= config.bin %> <%= command.id %> --baseline=<run-id> --current=<run-id>",
|
|
1861
|
+
"<%= config.bin %> <%= command.id %> --suite=<suite-id> --since=\"2024-01-01\"",
|
|
1862
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2> --format=json"
|
|
1916
1863
|
],
|
|
1917
|
-
"flags": {
|
|
1864
|
+
"flags": {
|
|
1865
|
+
"version": {
|
|
1866
|
+
"char": "v",
|
|
1867
|
+
"description": "Compare runs by version",
|
|
1868
|
+
"name": "version",
|
|
1869
|
+
"hasDynamicHelp": false,
|
|
1870
|
+
"multiple": true,
|
|
1871
|
+
"type": "option"
|
|
1872
|
+
},
|
|
1873
|
+
"commit": {
|
|
1874
|
+
"char": "c",
|
|
1875
|
+
"description": "Compare runs by git commit",
|
|
1876
|
+
"name": "commit",
|
|
1877
|
+
"hasDynamicHelp": false,
|
|
1878
|
+
"multiple": true,
|
|
1879
|
+
"type": "option"
|
|
1880
|
+
},
|
|
1881
|
+
"diff-only": {
|
|
1882
|
+
"description": "Show only differences",
|
|
1883
|
+
"name": "diff-only",
|
|
1884
|
+
"allowNo": false,
|
|
1885
|
+
"type": "boolean"
|
|
1886
|
+
},
|
|
1887
|
+
"format": {
|
|
1888
|
+
"char": "f",
|
|
1889
|
+
"description": "Output format",
|
|
1890
|
+
"name": "format",
|
|
1891
|
+
"default": "console",
|
|
1892
|
+
"hasDynamicHelp": false,
|
|
1893
|
+
"multiple": false,
|
|
1894
|
+
"options": [
|
|
1895
|
+
"console",
|
|
1896
|
+
"json",
|
|
1897
|
+
"markdown"
|
|
1898
|
+
],
|
|
1899
|
+
"type": "option"
|
|
1900
|
+
},
|
|
1901
|
+
"output": {
|
|
1902
|
+
"char": "o",
|
|
1903
|
+
"description": "Output file path",
|
|
1904
|
+
"name": "output",
|
|
1905
|
+
"hasDynamicHelp": false,
|
|
1906
|
+
"multiple": false,
|
|
1907
|
+
"type": "option"
|
|
1908
|
+
},
|
|
1909
|
+
"verbose": {
|
|
1910
|
+
"description": "Show detailed information",
|
|
1911
|
+
"name": "verbose",
|
|
1912
|
+
"allowNo": false,
|
|
1913
|
+
"type": "boolean"
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1918
1916
|
"hasDynamicHelp": false,
|
|
1919
1917
|
"hiddenAliases": [],
|
|
1920
|
-
"id": "
|
|
1918
|
+
"id": "test:compare",
|
|
1921
1919
|
"pluginAlias": "@memberjunction/cli",
|
|
1922
1920
|
"pluginName": "@memberjunction/cli",
|
|
1923
1921
|
"pluginType": "core",
|
|
@@ -1927,127 +1925,86 @@
|
|
|
1927
1925
|
"relativePath": [
|
|
1928
1926
|
"dist",
|
|
1929
1927
|
"commands",
|
|
1930
|
-
"
|
|
1931
|
-
"
|
|
1928
|
+
"test",
|
|
1929
|
+
"compare.js"
|
|
1932
1930
|
]
|
|
1933
1931
|
},
|
|
1934
|
-
"
|
|
1932
|
+
"test:history": {
|
|
1935
1933
|
"aliases": [],
|
|
1936
1934
|
"args": {},
|
|
1937
|
-
"description": "
|
|
1935
|
+
"description": "View test execution history",
|
|
1938
1936
|
"examples": [
|
|
1939
|
-
"<%= config.bin %> <%= command.id %>
|
|
1940
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1941
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1942
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1943
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1944
|
-
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\" --exclude-fields=InternalNotes,DebugInfo"
|
|
1937
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1938
|
+
"<%= config.bin %> <%= command.id %> --test=<test-id>",
|
|
1939
|
+
"<%= config.bin %> <%= command.id %> --suite=<suite-id>",
|
|
1940
|
+
"<%= config.bin %> <%= command.id %> --since=\"2024-01-01\"",
|
|
1941
|
+
"<%= config.bin %> <%= command.id %> --limit=50"
|
|
1945
1942
|
],
|
|
1946
1943
|
"flags": {
|
|
1947
|
-
"
|
|
1948
|
-
"
|
|
1949
|
-
"
|
|
1950
|
-
"
|
|
1944
|
+
"test": {
|
|
1945
|
+
"char": "t",
|
|
1946
|
+
"description": "Filter by test ID",
|
|
1947
|
+
"name": "test",
|
|
1951
1948
|
"hasDynamicHelp": false,
|
|
1952
1949
|
"multiple": false,
|
|
1953
1950
|
"type": "option"
|
|
1954
1951
|
},
|
|
1955
|
-
"
|
|
1956
|
-
"
|
|
1957
|
-
"
|
|
1952
|
+
"recent": {
|
|
1953
|
+
"char": "r",
|
|
1954
|
+
"description": "Number of recent runs to show",
|
|
1955
|
+
"name": "recent",
|
|
1958
1956
|
"hasDynamicHelp": false,
|
|
1959
1957
|
"multiple": false,
|
|
1960
1958
|
"type": "option"
|
|
1961
1959
|
},
|
|
1962
|
-
"
|
|
1963
|
-
"description": "Show
|
|
1964
|
-
"name": "
|
|
1965
|
-
"allowNo": false,
|
|
1966
|
-
"type": "boolean"
|
|
1967
|
-
},
|
|
1968
|
-
"multi-file": {
|
|
1969
|
-
"description": "Create a single file with multiple records (provide filename)",
|
|
1970
|
-
"name": "multi-file",
|
|
1960
|
+
"from": {
|
|
1961
|
+
"description": "Show history from date (YYYY-MM-DD)",
|
|
1962
|
+
"name": "from",
|
|
1971
1963
|
"hasDynamicHelp": false,
|
|
1972
1964
|
"multiple": false,
|
|
1973
1965
|
"type": "option"
|
|
1974
1966
|
},
|
|
1975
|
-
"
|
|
1976
|
-
"char": "
|
|
1977
|
-
"description": "
|
|
1978
|
-
"name": "
|
|
1979
|
-
"allowNo": false,
|
|
1980
|
-
"type": "boolean"
|
|
1981
|
-
},
|
|
1982
|
-
"no-validate": {
|
|
1983
|
-
"description": "Skip validation before pull",
|
|
1984
|
-
"name": "no-validate",
|
|
1985
|
-
"allowNo": false,
|
|
1986
|
-
"type": "boolean"
|
|
1987
|
-
},
|
|
1988
|
-
"update-existing": {
|
|
1989
|
-
"description": "Update existing records during pull",
|
|
1990
|
-
"name": "update-existing",
|
|
1991
|
-
"allowNo": false,
|
|
1992
|
-
"type": "boolean"
|
|
1993
|
-
},
|
|
1994
|
-
"create-new": {
|
|
1995
|
-
"description": "Create new files for records not found locally",
|
|
1996
|
-
"name": "create-new",
|
|
1997
|
-
"allowNo": false,
|
|
1998
|
-
"type": "boolean"
|
|
1999
|
-
},
|
|
2000
|
-
"backup-before-update": {
|
|
2001
|
-
"description": "Create backups before updating files",
|
|
2002
|
-
"name": "backup-before-update",
|
|
2003
|
-
"allowNo": false,
|
|
2004
|
-
"type": "boolean"
|
|
2005
|
-
},
|
|
2006
|
-
"merge-strategy": {
|
|
2007
|
-
"description": "Merge strategy for updates",
|
|
2008
|
-
"name": "merge-strategy",
|
|
2009
|
-
"default": "merge",
|
|
1967
|
+
"status": {
|
|
1968
|
+
"char": "s",
|
|
1969
|
+
"description": "Filter by status",
|
|
1970
|
+
"name": "status",
|
|
2010
1971
|
"hasDynamicHelp": false,
|
|
2011
1972
|
"multiple": false,
|
|
2012
|
-
"options": [
|
|
2013
|
-
"merge",
|
|
2014
|
-
"overwrite",
|
|
2015
|
-
"skip"
|
|
2016
|
-
],
|
|
2017
1973
|
"type": "option"
|
|
2018
1974
|
},
|
|
2019
|
-
"
|
|
2020
|
-
"
|
|
2021
|
-
"
|
|
1975
|
+
"format": {
|
|
1976
|
+
"char": "f",
|
|
1977
|
+
"description": "Output format",
|
|
1978
|
+
"name": "format",
|
|
1979
|
+
"default": "console",
|
|
2022
1980
|
"hasDynamicHelp": false,
|
|
2023
1981
|
"multiple": false,
|
|
1982
|
+
"options": [
|
|
1983
|
+
"console",
|
|
1984
|
+
"json",
|
|
1985
|
+
"markdown"
|
|
1986
|
+
],
|
|
2024
1987
|
"type": "option"
|
|
2025
1988
|
},
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2028
|
-
"
|
|
2029
|
-
"
|
|
2030
|
-
"multiple": true,
|
|
2031
|
-
"type": "option"
|
|
2032
|
-
},
|
|
2033
|
-
"exclude-fields": {
|
|
2034
|
-
"description": "Comma-separated list of fields to exclude from pull",
|
|
2035
|
-
"name": "exclude-fields",
|
|
2036
|
-
"hasDynamicHelp": false,
|
|
2037
|
-
"multiple": true,
|
|
2038
|
-
"type": "option"
|
|
2039
|
-
},
|
|
2040
|
-
"target-dir": {
|
|
2041
|
-
"description": "Specific target directory (overrides auto-discovery)",
|
|
2042
|
-
"name": "target-dir",
|
|
1989
|
+
"output": {
|
|
1990
|
+
"char": "o",
|
|
1991
|
+
"description": "Output file path",
|
|
1992
|
+
"name": "output",
|
|
2043
1993
|
"hasDynamicHelp": false,
|
|
2044
1994
|
"multiple": false,
|
|
2045
1995
|
"type": "option"
|
|
1996
|
+
},
|
|
1997
|
+
"verbose": {
|
|
1998
|
+
"char": "v",
|
|
1999
|
+
"description": "Show detailed information",
|
|
2000
|
+
"name": "verbose",
|
|
2001
|
+
"allowNo": false,
|
|
2002
|
+
"type": "boolean"
|
|
2046
2003
|
}
|
|
2047
2004
|
},
|
|
2048
2005
|
"hasDynamicHelp": false,
|
|
2049
2006
|
"hiddenAliases": [],
|
|
2050
|
-
"id": "
|
|
2007
|
+
"id": "test:history",
|
|
2051
2008
|
"pluginAlias": "@memberjunction/cli",
|
|
2052
2009
|
"pluginName": "@memberjunction/cli",
|
|
2053
2010
|
"pluginType": "core",
|
|
@@ -2057,85 +2014,120 @@
|
|
|
2057
2014
|
"relativePath": [
|
|
2058
2015
|
"dist",
|
|
2059
2016
|
"commands",
|
|
2060
|
-
"
|
|
2061
|
-
"
|
|
2017
|
+
"test",
|
|
2018
|
+
"history.js"
|
|
2062
2019
|
]
|
|
2063
2020
|
},
|
|
2064
|
-
"
|
|
2021
|
+
"test": {
|
|
2065
2022
|
"aliases": [],
|
|
2066
2023
|
"args": {},
|
|
2067
|
-
"description": "
|
|
2024
|
+
"description": "MemberJunction Testing Framework - Execute and manage tests",
|
|
2025
|
+
"examples": [
|
|
2026
|
+
"<%= config.bin %> <%= command.id %> run <test-id>",
|
|
2027
|
+
"<%= config.bin %> <%= command.id %> run --name=\"Active Members Count\"",
|
|
2028
|
+
"<%= config.bin %> <%= command.id %> suite <suite-id>",
|
|
2029
|
+
"<%= config.bin %> <%= command.id %> list",
|
|
2030
|
+
"<%= config.bin %> <%= command.id %> list --suites",
|
|
2031
|
+
"<%= config.bin %> <%= command.id %> validate --all"
|
|
2032
|
+
],
|
|
2033
|
+
"flags": {},
|
|
2034
|
+
"hasDynamicHelp": false,
|
|
2035
|
+
"hiddenAliases": [],
|
|
2036
|
+
"id": "test",
|
|
2037
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2038
|
+
"pluginName": "@memberjunction/cli",
|
|
2039
|
+
"pluginType": "core",
|
|
2040
|
+
"strict": true,
|
|
2041
|
+
"enableJsonFlag": false,
|
|
2042
|
+
"isESM": true,
|
|
2043
|
+
"relativePath": [
|
|
2044
|
+
"dist",
|
|
2045
|
+
"commands",
|
|
2046
|
+
"test",
|
|
2047
|
+
"index.js"
|
|
2048
|
+
]
|
|
2049
|
+
},
|
|
2050
|
+
"test:list": {
|
|
2051
|
+
"aliases": [],
|
|
2052
|
+
"args": {},
|
|
2053
|
+
"description": "List available tests, suites, and types",
|
|
2068
2054
|
"examples": [
|
|
2069
2055
|
"<%= config.bin %> <%= command.id %>",
|
|
2070
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2071
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2072
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2056
|
+
"<%= config.bin %> <%= command.id %> --suites",
|
|
2057
|
+
"<%= config.bin %> <%= command.id %> --types",
|
|
2058
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
2059
|
+
"<%= config.bin %> <%= command.id %> --tag=smoke",
|
|
2060
|
+
"<%= config.bin %> <%= command.id %> --status=active --verbose"
|
|
2073
2061
|
],
|
|
2074
2062
|
"flags": {
|
|
2075
|
-
"
|
|
2076
|
-
"description": "
|
|
2077
|
-
"name": "
|
|
2078
|
-
"hasDynamicHelp": false,
|
|
2079
|
-
"multiple": false,
|
|
2080
|
-
"type": "option"
|
|
2081
|
-
},
|
|
2082
|
-
"dry-run": {
|
|
2083
|
-
"description": "Show what would be pushed without actually pushing",
|
|
2084
|
-
"name": "dry-run",
|
|
2085
|
-
"allowNo": false,
|
|
2086
|
-
"type": "boolean"
|
|
2087
|
-
},
|
|
2088
|
-
"ci": {
|
|
2089
|
-
"description": "CI mode - no prompts, fail on issues",
|
|
2090
|
-
"name": "ci",
|
|
2063
|
+
"suites": {
|
|
2064
|
+
"description": "List test suites instead of tests",
|
|
2065
|
+
"name": "suites",
|
|
2091
2066
|
"allowNo": false,
|
|
2092
2067
|
"type": "boolean"
|
|
2093
2068
|
},
|
|
2094
|
-
"
|
|
2095
|
-
"
|
|
2096
|
-
"
|
|
2097
|
-
"name": "verbose",
|
|
2069
|
+
"types": {
|
|
2070
|
+
"description": "List test types",
|
|
2071
|
+
"name": "types",
|
|
2098
2072
|
"allowNo": false,
|
|
2099
2073
|
"type": "boolean"
|
|
2100
2074
|
},
|
|
2101
|
-
"
|
|
2102
|
-
"
|
|
2103
|
-
"
|
|
2104
|
-
"
|
|
2105
|
-
"
|
|
2075
|
+
"type": {
|
|
2076
|
+
"char": "t",
|
|
2077
|
+
"description": "Filter by test type",
|
|
2078
|
+
"name": "type",
|
|
2079
|
+
"hasDynamicHelp": false,
|
|
2080
|
+
"multiple": false,
|
|
2081
|
+
"type": "option"
|
|
2106
2082
|
},
|
|
2107
|
-
"
|
|
2108
|
-
"description": "
|
|
2109
|
-
"name": "
|
|
2110
|
-
"
|
|
2111
|
-
"
|
|
2083
|
+
"tag": {
|
|
2084
|
+
"description": "Filter by tag",
|
|
2085
|
+
"name": "tag",
|
|
2086
|
+
"hasDynamicHelp": false,
|
|
2087
|
+
"multiple": false,
|
|
2088
|
+
"type": "option"
|
|
2112
2089
|
},
|
|
2113
|
-
"
|
|
2114
|
-
"
|
|
2115
|
-
"
|
|
2116
|
-
"
|
|
2090
|
+
"status": {
|
|
2091
|
+
"char": "s",
|
|
2092
|
+
"description": "Filter by status",
|
|
2093
|
+
"name": "status",
|
|
2117
2094
|
"hasDynamicHelp": false,
|
|
2118
2095
|
"multiple": false,
|
|
2119
2096
|
"type": "option"
|
|
2120
2097
|
},
|
|
2121
|
-
"
|
|
2122
|
-
"
|
|
2123
|
-
"
|
|
2098
|
+
"format": {
|
|
2099
|
+
"char": "f",
|
|
2100
|
+
"description": "Output format",
|
|
2101
|
+
"name": "format",
|
|
2102
|
+
"default": "console",
|
|
2124
2103
|
"hasDynamicHelp": false,
|
|
2125
2104
|
"multiple": false,
|
|
2105
|
+
"options": [
|
|
2106
|
+
"console",
|
|
2107
|
+
"json",
|
|
2108
|
+
"markdown"
|
|
2109
|
+
],
|
|
2126
2110
|
"type": "option"
|
|
2127
2111
|
},
|
|
2128
|
-
"
|
|
2129
|
-
"
|
|
2130
|
-
"
|
|
2112
|
+
"output": {
|
|
2113
|
+
"char": "o",
|
|
2114
|
+
"description": "Output file path",
|
|
2115
|
+
"name": "output",
|
|
2131
2116
|
"hasDynamicHelp": false,
|
|
2132
2117
|
"multiple": false,
|
|
2133
2118
|
"type": "option"
|
|
2119
|
+
},
|
|
2120
|
+
"verbose": {
|
|
2121
|
+
"char": "v",
|
|
2122
|
+
"description": "Show detailed information",
|
|
2123
|
+
"name": "verbose",
|
|
2124
|
+
"allowNo": false,
|
|
2125
|
+
"type": "boolean"
|
|
2134
2126
|
}
|
|
2135
2127
|
},
|
|
2136
2128
|
"hasDynamicHelp": false,
|
|
2137
2129
|
"hiddenAliases": [],
|
|
2138
|
-
"id": "
|
|
2130
|
+
"id": "test:list",
|
|
2139
2131
|
"pluginAlias": "@memberjunction/cli",
|
|
2140
2132
|
"pluginName": "@memberjunction/cli",
|
|
2141
2133
|
"pluginType": "core",
|
|
@@ -2145,107 +2137,83 @@
|
|
|
2145
2137
|
"relativePath": [
|
|
2146
2138
|
"dist",
|
|
2147
2139
|
"commands",
|
|
2148
|
-
"
|
|
2149
|
-
"
|
|
2140
|
+
"test",
|
|
2141
|
+
"list.js"
|
|
2150
2142
|
]
|
|
2151
2143
|
},
|
|
2152
|
-
"
|
|
2144
|
+
"test:run": {
|
|
2153
2145
|
"aliases": [],
|
|
2154
|
-
"args": {
|
|
2155
|
-
|
|
2146
|
+
"args": {
|
|
2147
|
+
"testId": {
|
|
2148
|
+
"description": "Test ID to execute",
|
|
2149
|
+
"name": "testId",
|
|
2150
|
+
"required": false
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
"description": "Execute a single test by ID or name",
|
|
2156
2154
|
"examples": [
|
|
2157
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2158
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2159
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2155
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
2156
|
+
"<%= config.bin %> <%= command.id %> --name=\"Active Members Count\"",
|
|
2157
|
+
"<%= config.bin %> <%= command.id %> <test-id> --environment=staging",
|
|
2158
|
+
"<%= config.bin %> <%= command.id %> <test-id> --format=json --output=results.json",
|
|
2159
|
+
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
2160
2160
|
],
|
|
2161
2161
|
"flags": {
|
|
2162
|
-
"
|
|
2163
|
-
"
|
|
2164
|
-
"
|
|
2162
|
+
"name": {
|
|
2163
|
+
"char": "n",
|
|
2164
|
+
"description": "Test name to execute",
|
|
2165
|
+
"name": "name",
|
|
2165
2166
|
"hasDynamicHelp": false,
|
|
2166
2167
|
"multiple": false,
|
|
2167
2168
|
"type": "option"
|
|
2168
2169
|
},
|
|
2169
|
-
"
|
|
2170
|
-
"char": "
|
|
2171
|
-
"description": "
|
|
2172
|
-
"name": "
|
|
2173
|
-
"allowNo": false,
|
|
2174
|
-
"type": "boolean"
|
|
2175
|
-
},
|
|
2176
|
-
"include": {
|
|
2177
|
-
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
2178
|
-
"name": "include",
|
|
2170
|
+
"environment": {
|
|
2171
|
+
"char": "e",
|
|
2172
|
+
"description": "Environment context (dev, staging, prod)",
|
|
2173
|
+
"name": "environment",
|
|
2179
2174
|
"hasDynamicHelp": false,
|
|
2180
2175
|
"multiple": false,
|
|
2181
2176
|
"type": "option"
|
|
2182
2177
|
},
|
|
2183
|
-
"
|
|
2184
|
-
"
|
|
2185
|
-
"
|
|
2178
|
+
"format": {
|
|
2179
|
+
"char": "f",
|
|
2180
|
+
"description": "Output format",
|
|
2181
|
+
"name": "format",
|
|
2182
|
+
"default": "console",
|
|
2186
2183
|
"hasDynamicHelp": false,
|
|
2187
2184
|
"multiple": false,
|
|
2185
|
+
"options": [
|
|
2186
|
+
"console",
|
|
2187
|
+
"json",
|
|
2188
|
+
"markdown"
|
|
2189
|
+
],
|
|
2188
2190
|
"type": "option"
|
|
2189
|
-
}
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2195
|
-
"pluginName": "@memberjunction/cli",
|
|
2196
|
-
"pluginType": "core",
|
|
2197
|
-
"strict": true,
|
|
2198
|
-
"enableJsonFlag": false,
|
|
2199
|
-
"isESM": true,
|
|
2200
|
-
"relativePath": [
|
|
2201
|
-
"dist",
|
|
2202
|
-
"commands",
|
|
2203
|
-
"sync",
|
|
2204
|
-
"status.js"
|
|
2205
|
-
]
|
|
2206
|
-
},
|
|
2207
|
-
"sync:validate": {
|
|
2208
|
-
"aliases": [],
|
|
2209
|
-
"args": {},
|
|
2210
|
-
"description": "Validate metadata files",
|
|
2211
|
-
"examples": [
|
|
2212
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2213
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2214
|
-
"<%= config.bin %> <%= command.id %> --save-report",
|
|
2215
|
-
"<%= config.bin %> <%= command.id %> --verbose"
|
|
2216
|
-
],
|
|
2217
|
-
"flags": {
|
|
2218
|
-
"dir": {
|
|
2219
|
-
"description": "Specific entity directory to validate",
|
|
2220
|
-
"name": "dir",
|
|
2191
|
+
},
|
|
2192
|
+
"output": {
|
|
2193
|
+
"char": "o",
|
|
2194
|
+
"description": "Output file path",
|
|
2195
|
+
"name": "output",
|
|
2221
2196
|
"hasDynamicHelp": false,
|
|
2222
2197
|
"multiple": false,
|
|
2223
2198
|
"type": "option"
|
|
2224
2199
|
},
|
|
2225
|
-
"
|
|
2226
|
-
"
|
|
2227
|
-
"
|
|
2228
|
-
"name": "verbose",
|
|
2200
|
+
"dry-run": {
|
|
2201
|
+
"description": "Validate without executing",
|
|
2202
|
+
"name": "dry-run",
|
|
2229
2203
|
"allowNo": false,
|
|
2230
2204
|
"type": "boolean"
|
|
2231
2205
|
},
|
|
2232
|
-
"
|
|
2233
|
-
"
|
|
2234
|
-
"
|
|
2206
|
+
"verbose": {
|
|
2207
|
+
"char": "v",
|
|
2208
|
+
"description": "Show detailed execution information",
|
|
2209
|
+
"name": "verbose",
|
|
2235
2210
|
"allowNo": false,
|
|
2236
2211
|
"type": "boolean"
|
|
2237
|
-
},
|
|
2238
|
-
"output": {
|
|
2239
|
-
"description": "Output file path for validation report (default: validation-report.md)",
|
|
2240
|
-
"name": "output",
|
|
2241
|
-
"hasDynamicHelp": false,
|
|
2242
|
-
"multiple": false,
|
|
2243
|
-
"type": "option"
|
|
2244
2212
|
}
|
|
2245
2213
|
},
|
|
2246
2214
|
"hasDynamicHelp": false,
|
|
2247
2215
|
"hiddenAliases": [],
|
|
2248
|
-
"id": "
|
|
2216
|
+
"id": "test:run",
|
|
2249
2217
|
"pluginAlias": "@memberjunction/cli",
|
|
2250
2218
|
"pluginName": "@memberjunction/cli",
|
|
2251
2219
|
"pluginType": "core",
|
|
@@ -2255,44 +2223,60 @@
|
|
|
2255
2223
|
"relativePath": [
|
|
2256
2224
|
"dist",
|
|
2257
2225
|
"commands",
|
|
2258
|
-
"
|
|
2259
|
-
"
|
|
2226
|
+
"test",
|
|
2227
|
+
"run.js"
|
|
2260
2228
|
]
|
|
2261
2229
|
},
|
|
2262
|
-
"
|
|
2230
|
+
"test:suite": {
|
|
2263
2231
|
"aliases": [],
|
|
2264
|
-
"args": {
|
|
2265
|
-
|
|
2232
|
+
"args": {
|
|
2233
|
+
"suiteId": {
|
|
2234
|
+
"description": "Test suite ID to execute",
|
|
2235
|
+
"name": "suiteId",
|
|
2236
|
+
"required": false
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2239
|
+
"description": "Execute a test suite",
|
|
2266
2240
|
"examples": [
|
|
2267
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2268
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2269
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2270
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2241
|
+
"<%= config.bin %> <%= command.id %> <suite-id>",
|
|
2242
|
+
"<%= config.bin %> <%= command.id %> --name=\"Agent Quality Suite\"",
|
|
2243
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --format=json",
|
|
2244
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
2271
2245
|
],
|
|
2272
2246
|
"flags": {
|
|
2273
|
-
"
|
|
2274
|
-
"
|
|
2275
|
-
"
|
|
2247
|
+
"name": {
|
|
2248
|
+
"char": "n",
|
|
2249
|
+
"description": "Test suite name to execute",
|
|
2250
|
+
"name": "name",
|
|
2276
2251
|
"hasDynamicHelp": false,
|
|
2277
2252
|
"multiple": false,
|
|
2278
2253
|
"type": "option"
|
|
2279
2254
|
},
|
|
2280
|
-
"
|
|
2281
|
-
"
|
|
2282
|
-
"
|
|
2255
|
+
"format": {
|
|
2256
|
+
"char": "f",
|
|
2257
|
+
"description": "Output format",
|
|
2258
|
+
"name": "format",
|
|
2259
|
+
"default": "console",
|
|
2283
2260
|
"hasDynamicHelp": false,
|
|
2284
2261
|
"multiple": false,
|
|
2262
|
+
"options": [
|
|
2263
|
+
"console",
|
|
2264
|
+
"json",
|
|
2265
|
+
"markdown"
|
|
2266
|
+
],
|
|
2285
2267
|
"type": "option"
|
|
2286
2268
|
},
|
|
2287
|
-
"
|
|
2288
|
-
"
|
|
2289
|
-
"
|
|
2290
|
-
"
|
|
2291
|
-
"
|
|
2269
|
+
"output": {
|
|
2270
|
+
"char": "o",
|
|
2271
|
+
"description": "Output file path",
|
|
2272
|
+
"name": "output",
|
|
2273
|
+
"hasDynamicHelp": false,
|
|
2274
|
+
"multiple": false,
|
|
2275
|
+
"type": "option"
|
|
2292
2276
|
},
|
|
2293
2277
|
"verbose": {
|
|
2294
2278
|
"char": "v",
|
|
2295
|
-
"description": "Show detailed
|
|
2279
|
+
"description": "Show detailed execution information",
|
|
2296
2280
|
"name": "verbose",
|
|
2297
2281
|
"allowNo": false,
|
|
2298
2282
|
"type": "boolean"
|
|
@@ -2300,7 +2284,7 @@
|
|
|
2300
2284
|
},
|
|
2301
2285
|
"hasDynamicHelp": false,
|
|
2302
2286
|
"hiddenAliases": [],
|
|
2303
|
-
"id": "
|
|
2287
|
+
"id": "test:suite",
|
|
2304
2288
|
"pluginAlias": "@memberjunction/cli",
|
|
2305
2289
|
"pluginName": "@memberjunction/cli",
|
|
2306
2290
|
"pluginType": "core",
|
|
@@ -2310,51 +2294,46 @@
|
|
|
2310
2294
|
"relativePath": [
|
|
2311
2295
|
"dist",
|
|
2312
2296
|
"commands",
|
|
2313
|
-
"
|
|
2314
|
-
"
|
|
2297
|
+
"test",
|
|
2298
|
+
"suite.js"
|
|
2315
2299
|
]
|
|
2316
2300
|
},
|
|
2317
|
-
"test:
|
|
2301
|
+
"test:validate": {
|
|
2318
2302
|
"aliases": [],
|
|
2319
2303
|
"args": {
|
|
2320
|
-
"
|
|
2321
|
-
"description": "
|
|
2322
|
-
"name": "
|
|
2323
|
-
"required": false
|
|
2324
|
-
},
|
|
2325
|
-
"runId2": {
|
|
2326
|
-
"description": "Second test run ID to compare",
|
|
2327
|
-
"name": "runId2",
|
|
2304
|
+
"testId": {
|
|
2305
|
+
"description": "Test ID to validate",
|
|
2306
|
+
"name": "testId",
|
|
2328
2307
|
"required": false
|
|
2329
2308
|
}
|
|
2330
2309
|
},
|
|
2331
|
-
"description": "
|
|
2310
|
+
"description": "Validate test definitions without executing",
|
|
2332
2311
|
"examples": [
|
|
2333
|
-
"<%= config.bin %> <%= command.id %> <
|
|
2334
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2335
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2336
|
-
"<%= config.bin %> <%= command.id %>
|
|
2312
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
2313
|
+
"<%= config.bin %> <%= command.id %> --all",
|
|
2314
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
2315
|
+
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
2316
|
+
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
2337
2317
|
],
|
|
2338
2318
|
"flags": {
|
|
2339
|
-
"
|
|
2340
|
-
"char": "
|
|
2341
|
-
"description": "
|
|
2342
|
-
"name": "
|
|
2343
|
-
"
|
|
2344
|
-
"
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
"
|
|
2349
|
-
"
|
|
2350
|
-
"name": "commit",
|
|
2319
|
+
"all": {
|
|
2320
|
+
"char": "a",
|
|
2321
|
+
"description": "Validate all tests",
|
|
2322
|
+
"name": "all",
|
|
2323
|
+
"allowNo": false,
|
|
2324
|
+
"type": "boolean"
|
|
2325
|
+
},
|
|
2326
|
+
"type": {
|
|
2327
|
+
"char": "t",
|
|
2328
|
+
"description": "Validate tests by type",
|
|
2329
|
+
"name": "type",
|
|
2351
2330
|
"hasDynamicHelp": false,
|
|
2352
|
-
"multiple":
|
|
2331
|
+
"multiple": false,
|
|
2353
2332
|
"type": "option"
|
|
2354
2333
|
},
|
|
2355
|
-
"
|
|
2356
|
-
"description": "
|
|
2357
|
-
"name": "
|
|
2334
|
+
"save-report": {
|
|
2335
|
+
"description": "Save validation report to file",
|
|
2336
|
+
"name": "save-report",
|
|
2358
2337
|
"allowNo": false,
|
|
2359
2338
|
"type": "boolean"
|
|
2360
2339
|
},
|
|
@@ -2381,6 +2360,7 @@
|
|
|
2381
2360
|
"type": "option"
|
|
2382
2361
|
},
|
|
2383
2362
|
"verbose": {
|
|
2363
|
+
"char": "v",
|
|
2384
2364
|
"description": "Show detailed information",
|
|
2385
2365
|
"name": "verbose",
|
|
2386
2366
|
"allowNo": false,
|
|
@@ -2389,7 +2369,7 @@
|
|
|
2389
2369
|
},
|
|
2390
2370
|
"hasDynamicHelp": false,
|
|
2391
2371
|
"hiddenAliases": [],
|
|
2392
|
-
"id": "test:
|
|
2372
|
+
"id": "test:validate",
|
|
2393
2373
|
"pluginAlias": "@memberjunction/cli",
|
|
2394
2374
|
"pluginName": "@memberjunction/cli",
|
|
2395
2375
|
"pluginType": "core",
|
|
@@ -2400,77 +2380,154 @@
|
|
|
2400
2380
|
"dist",
|
|
2401
2381
|
"commands",
|
|
2402
2382
|
"test",
|
|
2403
|
-
"
|
|
2383
|
+
"validate.js"
|
|
2404
2384
|
]
|
|
2405
2385
|
},
|
|
2406
|
-
"
|
|
2386
|
+
"translate-sql": {
|
|
2407
2387
|
"aliases": [],
|
|
2408
2388
|
"args": {},
|
|
2409
|
-
"description": "
|
|
2389
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
2410
2390
|
"examples": [
|
|
2411
|
-
"<%= config.bin %>
|
|
2412
|
-
"<%= config.bin %>
|
|
2413
|
-
"<%= config.bin %>
|
|
2414
|
-
"<%= config.bin %>
|
|
2415
|
-
"<%= config.bin %> <%= command.id %> --limit=50"
|
|
2391
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
2392
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
2393
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
2394
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
2416
2395
|
],
|
|
2417
2396
|
"flags": {
|
|
2418
|
-
"
|
|
2419
|
-
"
|
|
2420
|
-
"
|
|
2421
|
-
"
|
|
2397
|
+
"from": {
|
|
2398
|
+
"description": "Source SQL dialect",
|
|
2399
|
+
"name": "from",
|
|
2400
|
+
"required": true,
|
|
2422
2401
|
"hasDynamicHelp": false,
|
|
2423
2402
|
"multiple": false,
|
|
2403
|
+
"options": [
|
|
2404
|
+
"sqlserver",
|
|
2405
|
+
"postgresql"
|
|
2406
|
+
],
|
|
2424
2407
|
"type": "option"
|
|
2425
2408
|
},
|
|
2426
|
-
"
|
|
2427
|
-
"
|
|
2428
|
-
"
|
|
2429
|
-
"
|
|
2409
|
+
"to": {
|
|
2410
|
+
"description": "Target SQL dialect",
|
|
2411
|
+
"name": "to",
|
|
2412
|
+
"required": true,
|
|
2430
2413
|
"hasDynamicHelp": false,
|
|
2431
2414
|
"multiple": false,
|
|
2415
|
+
"options": [
|
|
2416
|
+
"sqlserver",
|
|
2417
|
+
"postgresql"
|
|
2418
|
+
],
|
|
2432
2419
|
"type": "option"
|
|
2433
2420
|
},
|
|
2434
|
-
"
|
|
2435
|
-
"description": "
|
|
2436
|
-
"name": "
|
|
2421
|
+
"scope": {
|
|
2422
|
+
"description": "What to scan for translation",
|
|
2423
|
+
"name": "scope",
|
|
2424
|
+
"default": "all",
|
|
2437
2425
|
"hasDynamicHelp": false,
|
|
2438
2426
|
"multiple": false,
|
|
2427
|
+
"options": [
|
|
2428
|
+
"queries",
|
|
2429
|
+
"views",
|
|
2430
|
+
"filters",
|
|
2431
|
+
"all"
|
|
2432
|
+
],
|
|
2439
2433
|
"type": "option"
|
|
2440
2434
|
},
|
|
2441
|
-
"
|
|
2442
|
-
"
|
|
2443
|
-
"
|
|
2444
|
-
"name": "status",
|
|
2435
|
+
"sql": {
|
|
2436
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
2437
|
+
"name": "sql",
|
|
2445
2438
|
"hasDynamicHelp": false,
|
|
2446
2439
|
"multiple": false,
|
|
2447
2440
|
"type": "option"
|
|
2448
2441
|
},
|
|
2449
|
-
"
|
|
2450
|
-
"
|
|
2451
|
-
"
|
|
2452
|
-
"
|
|
2453
|
-
"
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
"
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
],
|
|
2461
|
-
"type": "option"
|
|
2442
|
+
"dry-run": {
|
|
2443
|
+
"description": "Show what would be translated without making changes",
|
|
2444
|
+
"name": "dry-run",
|
|
2445
|
+
"allowNo": false,
|
|
2446
|
+
"type": "boolean"
|
|
2447
|
+
},
|
|
2448
|
+
"review": {
|
|
2449
|
+
"description": "Generate review report only (no writes to database)",
|
|
2450
|
+
"name": "review",
|
|
2451
|
+
"allowNo": false,
|
|
2452
|
+
"type": "boolean"
|
|
2462
2453
|
},
|
|
2463
2454
|
"output": {
|
|
2464
2455
|
"char": "o",
|
|
2465
|
-
"description": "Output
|
|
2456
|
+
"description": "Output directory for the translation report",
|
|
2466
2457
|
"name": "output",
|
|
2467
2458
|
"hasDynamicHelp": false,
|
|
2468
2459
|
"multiple": false,
|
|
2469
2460
|
"type": "option"
|
|
2470
2461
|
},
|
|
2462
|
+
"force": {
|
|
2463
|
+
"description": "Re-translate even if platform variants already exist",
|
|
2464
|
+
"name": "force",
|
|
2465
|
+
"allowNo": false,
|
|
2466
|
+
"type": "boolean"
|
|
2467
|
+
}
|
|
2468
|
+
},
|
|
2469
|
+
"hasDynamicHelp": false,
|
|
2470
|
+
"hiddenAliases": [],
|
|
2471
|
+
"id": "translate-sql",
|
|
2472
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2473
|
+
"pluginName": "@memberjunction/cli",
|
|
2474
|
+
"pluginType": "core",
|
|
2475
|
+
"strict": true,
|
|
2476
|
+
"enableJsonFlag": false,
|
|
2477
|
+
"isESM": true,
|
|
2478
|
+
"relativePath": [
|
|
2479
|
+
"dist",
|
|
2480
|
+
"commands",
|
|
2481
|
+
"translate-sql",
|
|
2482
|
+
"index.js"
|
|
2483
|
+
]
|
|
2484
|
+
},
|
|
2485
|
+
"sync:file-reset": {
|
|
2486
|
+
"aliases": [],
|
|
2487
|
+
"args": {},
|
|
2488
|
+
"description": "Reset file metadata sections",
|
|
2489
|
+
"examples": [
|
|
2490
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2491
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2492
|
+
"<%= config.bin %> <%= command.id %> --sections=\"dependencies,references\"",
|
|
2493
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
2494
|
+
],
|
|
2495
|
+
"flags": {
|
|
2496
|
+
"dir": {
|
|
2497
|
+
"description": "Specific entity directory to reset",
|
|
2498
|
+
"name": "dir",
|
|
2499
|
+
"hasDynamicHelp": false,
|
|
2500
|
+
"multiple": false,
|
|
2501
|
+
"type": "option"
|
|
2502
|
+
},
|
|
2503
|
+
"sections": {
|
|
2504
|
+
"description": "Comma-separated list of sections to reset (dependencies,references,related,lookup)",
|
|
2505
|
+
"name": "sections",
|
|
2506
|
+
"hasDynamicHelp": false,
|
|
2507
|
+
"multiple": false,
|
|
2508
|
+
"type": "option"
|
|
2509
|
+
},
|
|
2510
|
+
"all": {
|
|
2511
|
+
"description": "Reset all metadata sections",
|
|
2512
|
+
"name": "all",
|
|
2513
|
+
"allowNo": false,
|
|
2514
|
+
"type": "boolean"
|
|
2515
|
+
},
|
|
2516
|
+
"dry-run": {
|
|
2517
|
+
"description": "Show what would be reset without actually resetting",
|
|
2518
|
+
"name": "dry-run",
|
|
2519
|
+
"allowNo": false,
|
|
2520
|
+
"type": "boolean"
|
|
2521
|
+
},
|
|
2522
|
+
"force": {
|
|
2523
|
+
"description": "Skip confirmation prompts",
|
|
2524
|
+
"name": "force",
|
|
2525
|
+
"allowNo": false,
|
|
2526
|
+
"type": "boolean"
|
|
2527
|
+
},
|
|
2471
2528
|
"verbose": {
|
|
2472
2529
|
"char": "v",
|
|
2473
|
-
"description": "Show detailed
|
|
2530
|
+
"description": "Show detailed output",
|
|
2474
2531
|
"name": "verbose",
|
|
2475
2532
|
"allowNo": false,
|
|
2476
2533
|
"type": "boolean"
|
|
@@ -2478,7 +2535,7 @@
|
|
|
2478
2535
|
},
|
|
2479
2536
|
"hasDynamicHelp": false,
|
|
2480
2537
|
"hiddenAliases": [],
|
|
2481
|
-
"id": "
|
|
2538
|
+
"id": "sync:file-reset",
|
|
2482
2539
|
"pluginAlias": "@memberjunction/cli",
|
|
2483
2540
|
"pluginName": "@memberjunction/cli",
|
|
2484
2541
|
"pluginType": "core",
|
|
@@ -2488,26 +2545,21 @@
|
|
|
2488
2545
|
"relativePath": [
|
|
2489
2546
|
"dist",
|
|
2490
2547
|
"commands",
|
|
2491
|
-
"
|
|
2492
|
-
"
|
|
2548
|
+
"sync",
|
|
2549
|
+
"file-reset.js"
|
|
2493
2550
|
]
|
|
2494
2551
|
},
|
|
2495
|
-
"
|
|
2552
|
+
"sync:init": {
|
|
2496
2553
|
"aliases": [],
|
|
2497
2554
|
"args": {},
|
|
2498
|
-
"description": "
|
|
2555
|
+
"description": "Initialize a directory for metadata synchronization",
|
|
2499
2556
|
"examples": [
|
|
2500
|
-
"<%= config.bin %> <%= command.id %>
|
|
2501
|
-
"<%= config.bin %> <%= command.id %> run --name=\"Active Members Count\"",
|
|
2502
|
-
"<%= config.bin %> <%= command.id %> suite <suite-id>",
|
|
2503
|
-
"<%= config.bin %> <%= command.id %> list",
|
|
2504
|
-
"<%= config.bin %> <%= command.id %> list --suites",
|
|
2505
|
-
"<%= config.bin %> <%= command.id %> validate --all"
|
|
2557
|
+
"<%= config.bin %> <%= command.id %>"
|
|
2506
2558
|
],
|
|
2507
2559
|
"flags": {},
|
|
2508
2560
|
"hasDynamicHelp": false,
|
|
2509
2561
|
"hiddenAliases": [],
|
|
2510
|
-
"id": "
|
|
2562
|
+
"id": "sync:init",
|
|
2511
2563
|
"pluginAlias": "@memberjunction/cli",
|
|
2512
2564
|
"pluginName": "@memberjunction/cli",
|
|
2513
2565
|
"pluginType": "core",
|
|
@@ -2517,91 +2569,127 @@
|
|
|
2517
2569
|
"relativePath": [
|
|
2518
2570
|
"dist",
|
|
2519
2571
|
"commands",
|
|
2520
|
-
"
|
|
2521
|
-
"
|
|
2572
|
+
"sync",
|
|
2573
|
+
"init.js"
|
|
2522
2574
|
]
|
|
2523
2575
|
},
|
|
2524
|
-
"
|
|
2576
|
+
"sync:pull": {
|
|
2525
2577
|
"aliases": [],
|
|
2526
2578
|
"args": {},
|
|
2527
|
-
"description": "
|
|
2579
|
+
"description": "Pull metadata from database to local files",
|
|
2528
2580
|
"examples": [
|
|
2529
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2530
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2531
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2532
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2533
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2534
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2581
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\"",
|
|
2582
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\" --filter=\"CategoryID='customer-service-id'\"",
|
|
2583
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Agents\" --merge-strategy=overwrite",
|
|
2584
|
+
"<%= config.bin %> <%= command.id %> --entity=\"Actions\" --target-dir=./custom-actions --no-validate",
|
|
2585
|
+
"<%= config.bin %> <%= command.id %> --entity=\"Templates\" --dry-run --verbose",
|
|
2586
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\" --exclude-fields=InternalNotes,DebugInfo"
|
|
2535
2587
|
],
|
|
2536
2588
|
"flags": {
|
|
2537
|
-
"
|
|
2538
|
-
"description": "
|
|
2539
|
-
"name": "
|
|
2589
|
+
"entity": {
|
|
2590
|
+
"description": "Entity name to pull",
|
|
2591
|
+
"name": "entity",
|
|
2592
|
+
"required": true,
|
|
2593
|
+
"hasDynamicHelp": false,
|
|
2594
|
+
"multiple": false,
|
|
2595
|
+
"type": "option"
|
|
2596
|
+
},
|
|
2597
|
+
"filter": {
|
|
2598
|
+
"description": "Additional filter for pulling specific records",
|
|
2599
|
+
"name": "filter",
|
|
2600
|
+
"hasDynamicHelp": false,
|
|
2601
|
+
"multiple": false,
|
|
2602
|
+
"type": "option"
|
|
2603
|
+
},
|
|
2604
|
+
"dry-run": {
|
|
2605
|
+
"description": "Show what would be pulled without actually pulling",
|
|
2606
|
+
"name": "dry-run",
|
|
2607
|
+
"allowNo": false,
|
|
2608
|
+
"type": "boolean"
|
|
2609
|
+
},
|
|
2610
|
+
"multi-file": {
|
|
2611
|
+
"description": "Create a single file with multiple records (provide filename)",
|
|
2612
|
+
"name": "multi-file",
|
|
2613
|
+
"hasDynamicHelp": false,
|
|
2614
|
+
"multiple": false,
|
|
2615
|
+
"type": "option"
|
|
2616
|
+
},
|
|
2617
|
+
"verbose": {
|
|
2618
|
+
"char": "v",
|
|
2619
|
+
"description": "Show detailed output",
|
|
2620
|
+
"name": "verbose",
|
|
2621
|
+
"allowNo": false,
|
|
2622
|
+
"type": "boolean"
|
|
2623
|
+
},
|
|
2624
|
+
"no-validate": {
|
|
2625
|
+
"description": "Skip validation before pull",
|
|
2626
|
+
"name": "no-validate",
|
|
2627
|
+
"allowNo": false,
|
|
2628
|
+
"type": "boolean"
|
|
2629
|
+
},
|
|
2630
|
+
"update-existing": {
|
|
2631
|
+
"description": "Update existing records during pull",
|
|
2632
|
+
"name": "update-existing",
|
|
2633
|
+
"allowNo": false,
|
|
2634
|
+
"type": "boolean"
|
|
2635
|
+
},
|
|
2636
|
+
"create-new": {
|
|
2637
|
+
"description": "Create new files for records not found locally",
|
|
2638
|
+
"name": "create-new",
|
|
2540
2639
|
"allowNo": false,
|
|
2541
2640
|
"type": "boolean"
|
|
2542
2641
|
},
|
|
2543
|
-
"
|
|
2544
|
-
"description": "
|
|
2545
|
-
"name": "
|
|
2642
|
+
"backup-before-update": {
|
|
2643
|
+
"description": "Create backups before updating files",
|
|
2644
|
+
"name": "backup-before-update",
|
|
2546
2645
|
"allowNo": false,
|
|
2547
2646
|
"type": "boolean"
|
|
2548
2647
|
},
|
|
2549
|
-
"
|
|
2550
|
-
"
|
|
2551
|
-
"
|
|
2552
|
-
"
|
|
2648
|
+
"merge-strategy": {
|
|
2649
|
+
"description": "Merge strategy for updates",
|
|
2650
|
+
"name": "merge-strategy",
|
|
2651
|
+
"default": "merge",
|
|
2553
2652
|
"hasDynamicHelp": false,
|
|
2554
2653
|
"multiple": false,
|
|
2654
|
+
"options": [
|
|
2655
|
+
"merge",
|
|
2656
|
+
"overwrite",
|
|
2657
|
+
"skip"
|
|
2658
|
+
],
|
|
2555
2659
|
"type": "option"
|
|
2556
2660
|
},
|
|
2557
|
-
"
|
|
2558
|
-
"description": "
|
|
2559
|
-
"name": "
|
|
2661
|
+
"backup-directory": {
|
|
2662
|
+
"description": "Custom backup directory (default: .backups)",
|
|
2663
|
+
"name": "backup-directory",
|
|
2560
2664
|
"hasDynamicHelp": false,
|
|
2561
2665
|
"multiple": false,
|
|
2562
2666
|
"type": "option"
|
|
2563
2667
|
},
|
|
2564
|
-
"
|
|
2565
|
-
"
|
|
2566
|
-
"
|
|
2567
|
-
"name": "status",
|
|
2668
|
+
"preserve-fields": {
|
|
2669
|
+
"description": "Comma-separated list of fields to preserve during updates",
|
|
2670
|
+
"name": "preserve-fields",
|
|
2568
2671
|
"hasDynamicHelp": false,
|
|
2569
|
-
"multiple":
|
|
2672
|
+
"multiple": true,
|
|
2570
2673
|
"type": "option"
|
|
2571
2674
|
},
|
|
2572
|
-
"
|
|
2573
|
-
"
|
|
2574
|
-
"
|
|
2575
|
-
"name": "format",
|
|
2576
|
-
"default": "console",
|
|
2675
|
+
"exclude-fields": {
|
|
2676
|
+
"description": "Comma-separated list of fields to exclude from pull",
|
|
2677
|
+
"name": "exclude-fields",
|
|
2577
2678
|
"hasDynamicHelp": false,
|
|
2578
|
-
"multiple":
|
|
2579
|
-
"options": [
|
|
2580
|
-
"console",
|
|
2581
|
-
"json",
|
|
2582
|
-
"markdown"
|
|
2583
|
-
],
|
|
2679
|
+
"multiple": true,
|
|
2584
2680
|
"type": "option"
|
|
2585
2681
|
},
|
|
2586
|
-
"
|
|
2587
|
-
"
|
|
2588
|
-
"
|
|
2589
|
-
"name": "output",
|
|
2682
|
+
"target-dir": {
|
|
2683
|
+
"description": "Specific target directory (overrides auto-discovery)",
|
|
2684
|
+
"name": "target-dir",
|
|
2590
2685
|
"hasDynamicHelp": false,
|
|
2591
2686
|
"multiple": false,
|
|
2592
2687
|
"type": "option"
|
|
2593
|
-
},
|
|
2594
|
-
"verbose": {
|
|
2595
|
-
"char": "v",
|
|
2596
|
-
"description": "Show detailed information",
|
|
2597
|
-
"name": "verbose",
|
|
2598
|
-
"allowNo": false,
|
|
2599
|
-
"type": "boolean"
|
|
2600
2688
|
}
|
|
2601
2689
|
},
|
|
2602
2690
|
"hasDynamicHelp": false,
|
|
2603
2691
|
"hiddenAliases": [],
|
|
2604
|
-
"id": "
|
|
2692
|
+
"id": "sync:pull",
|
|
2605
2693
|
"pluginAlias": "@memberjunction/cli",
|
|
2606
2694
|
"pluginName": "@memberjunction/cli",
|
|
2607
2695
|
"pluginType": "core",
|
|
@@ -2611,83 +2699,85 @@
|
|
|
2611
2699
|
"relativePath": [
|
|
2612
2700
|
"dist",
|
|
2613
2701
|
"commands",
|
|
2614
|
-
"
|
|
2615
|
-
"
|
|
2702
|
+
"sync",
|
|
2703
|
+
"pull.js"
|
|
2616
2704
|
]
|
|
2617
2705
|
},
|
|
2618
|
-
"
|
|
2706
|
+
"sync:push": {
|
|
2619
2707
|
"aliases": [],
|
|
2620
|
-
"args": {
|
|
2621
|
-
|
|
2622
|
-
"description": "Test ID to execute",
|
|
2623
|
-
"name": "testId",
|
|
2624
|
-
"required": false
|
|
2625
|
-
}
|
|
2626
|
-
},
|
|
2627
|
-
"description": "Execute a single test by ID or name",
|
|
2708
|
+
"args": {},
|
|
2709
|
+
"description": "Push local file changes to the database",
|
|
2628
2710
|
"examples": [
|
|
2629
|
-
"<%= config.bin %> <%= command.id %>
|
|
2630
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2631
|
-
"<%= config.bin %> <%= command.id %>
|
|
2632
|
-
"<%= config.bin %> <%= command.id %>
|
|
2633
|
-
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
2711
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2712
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
2713
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2714
|
+
"<%= config.bin %> <%= command.id %> --ci"
|
|
2634
2715
|
],
|
|
2635
2716
|
"flags": {
|
|
2636
|
-
"
|
|
2637
|
-
"
|
|
2638
|
-
"
|
|
2639
|
-
"name": "name",
|
|
2717
|
+
"dir": {
|
|
2718
|
+
"description": "Specific entity directory to push",
|
|
2719
|
+
"name": "dir",
|
|
2640
2720
|
"hasDynamicHelp": false,
|
|
2641
2721
|
"multiple": false,
|
|
2642
2722
|
"type": "option"
|
|
2643
2723
|
},
|
|
2644
|
-
"
|
|
2645
|
-
"
|
|
2646
|
-
"
|
|
2647
|
-
"
|
|
2724
|
+
"dry-run": {
|
|
2725
|
+
"description": "Show what would be pushed without actually pushing",
|
|
2726
|
+
"name": "dry-run",
|
|
2727
|
+
"allowNo": false,
|
|
2728
|
+
"type": "boolean"
|
|
2729
|
+
},
|
|
2730
|
+
"ci": {
|
|
2731
|
+
"description": "CI mode - no prompts, fail on issues",
|
|
2732
|
+
"name": "ci",
|
|
2733
|
+
"allowNo": false,
|
|
2734
|
+
"type": "boolean"
|
|
2735
|
+
},
|
|
2736
|
+
"verbose": {
|
|
2737
|
+
"char": "v",
|
|
2738
|
+
"description": "Show detailed field-level output",
|
|
2739
|
+
"name": "verbose",
|
|
2740
|
+
"allowNo": false,
|
|
2741
|
+
"type": "boolean"
|
|
2742
|
+
},
|
|
2743
|
+
"no-validate": {
|
|
2744
|
+
"description": "Skip validation before push",
|
|
2745
|
+
"name": "no-validate",
|
|
2746
|
+
"allowNo": false,
|
|
2747
|
+
"type": "boolean"
|
|
2748
|
+
},
|
|
2749
|
+
"delete-db-only": {
|
|
2750
|
+
"description": "Delete database-only records that reference records being deleted (prevents FK errors)",
|
|
2751
|
+
"name": "delete-db-only",
|
|
2752
|
+
"allowNo": false,
|
|
2753
|
+
"type": "boolean"
|
|
2754
|
+
},
|
|
2755
|
+
"parallel-batch-size": {
|
|
2756
|
+
"description": "Number of records to process in parallel (default: 10)",
|
|
2757
|
+
"name": "parallel-batch-size",
|
|
2758
|
+
"default": 10,
|
|
2648
2759
|
"hasDynamicHelp": false,
|
|
2649
2760
|
"multiple": false,
|
|
2650
2761
|
"type": "option"
|
|
2651
2762
|
},
|
|
2652
|
-
"
|
|
2653
|
-
"
|
|
2654
|
-
"
|
|
2655
|
-
"name": "format",
|
|
2656
|
-
"default": "console",
|
|
2763
|
+
"include": {
|
|
2764
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
2765
|
+
"name": "include",
|
|
2657
2766
|
"hasDynamicHelp": false,
|
|
2658
2767
|
"multiple": false,
|
|
2659
|
-
"options": [
|
|
2660
|
-
"console",
|
|
2661
|
-
"json",
|
|
2662
|
-
"markdown"
|
|
2663
|
-
],
|
|
2664
2768
|
"type": "option"
|
|
2665
2769
|
},
|
|
2666
|
-
"
|
|
2667
|
-
"
|
|
2668
|
-
"
|
|
2669
|
-
"name": "output",
|
|
2770
|
+
"exclude": {
|
|
2771
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
2772
|
+
"name": "exclude",
|
|
2670
2773
|
"hasDynamicHelp": false,
|
|
2671
2774
|
"multiple": false,
|
|
2672
2775
|
"type": "option"
|
|
2673
|
-
},
|
|
2674
|
-
"dry-run": {
|
|
2675
|
-
"description": "Validate without executing",
|
|
2676
|
-
"name": "dry-run",
|
|
2677
|
-
"allowNo": false,
|
|
2678
|
-
"type": "boolean"
|
|
2679
|
-
},
|
|
2680
|
-
"verbose": {
|
|
2681
|
-
"char": "v",
|
|
2682
|
-
"description": "Show detailed execution information",
|
|
2683
|
-
"name": "verbose",
|
|
2684
|
-
"allowNo": false,
|
|
2685
|
-
"type": "boolean"
|
|
2686
2776
|
}
|
|
2687
2777
|
},
|
|
2688
2778
|
"hasDynamicHelp": false,
|
|
2689
2779
|
"hiddenAliases": [],
|
|
2690
|
-
"id": "
|
|
2780
|
+
"id": "sync:push",
|
|
2691
2781
|
"pluginAlias": "@memberjunction/cli",
|
|
2692
2782
|
"pluginName": "@memberjunction/cli",
|
|
2693
2783
|
"pluginType": "core",
|
|
@@ -2697,68 +2787,52 @@
|
|
|
2697
2787
|
"relativePath": [
|
|
2698
2788
|
"dist",
|
|
2699
2789
|
"commands",
|
|
2700
|
-
"
|
|
2701
|
-
"
|
|
2790
|
+
"sync",
|
|
2791
|
+
"push.js"
|
|
2702
2792
|
]
|
|
2703
2793
|
},
|
|
2704
|
-
"
|
|
2794
|
+
"sync:status": {
|
|
2705
2795
|
"aliases": [],
|
|
2706
|
-
"args": {
|
|
2707
|
-
|
|
2708
|
-
"description": "Test suite ID to execute",
|
|
2709
|
-
"name": "suiteId",
|
|
2710
|
-
"required": false
|
|
2711
|
-
}
|
|
2712
|
-
},
|
|
2713
|
-
"description": "Execute a test suite",
|
|
2796
|
+
"args": {},
|
|
2797
|
+
"description": "Show status of local files vs database",
|
|
2714
2798
|
"examples": [
|
|
2715
|
-
"<%= config.bin %> <%= command.id %>
|
|
2716
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2717
|
-
"<%= config.bin %> <%= command.id %>
|
|
2718
|
-
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
2799
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2800
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2801
|
+
"<%= config.bin %> <%= command.id %> --verbose"
|
|
2719
2802
|
],
|
|
2720
2803
|
"flags": {
|
|
2721
|
-
"
|
|
2722
|
-
"
|
|
2723
|
-
"
|
|
2724
|
-
"name": "name",
|
|
2804
|
+
"dir": {
|
|
2805
|
+
"description": "Specific entity directory to check status",
|
|
2806
|
+
"name": "dir",
|
|
2725
2807
|
"hasDynamicHelp": false,
|
|
2726
2808
|
"multiple": false,
|
|
2727
2809
|
"type": "option"
|
|
2728
2810
|
},
|
|
2729
|
-
"
|
|
2730
|
-
"char": "
|
|
2731
|
-
"description": "
|
|
2732
|
-
"name": "
|
|
2733
|
-
"
|
|
2811
|
+
"verbose": {
|
|
2812
|
+
"char": "v",
|
|
2813
|
+
"description": "Show detailed field-level differences",
|
|
2814
|
+
"name": "verbose",
|
|
2815
|
+
"allowNo": false,
|
|
2816
|
+
"type": "boolean"
|
|
2817
|
+
},
|
|
2818
|
+
"include": {
|
|
2819
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
2820
|
+
"name": "include",
|
|
2734
2821
|
"hasDynamicHelp": false,
|
|
2735
2822
|
"multiple": false,
|
|
2736
|
-
"options": [
|
|
2737
|
-
"console",
|
|
2738
|
-
"json",
|
|
2739
|
-
"markdown"
|
|
2740
|
-
],
|
|
2741
2823
|
"type": "option"
|
|
2742
2824
|
},
|
|
2743
|
-
"
|
|
2744
|
-
"
|
|
2745
|
-
"
|
|
2746
|
-
"name": "output",
|
|
2825
|
+
"exclude": {
|
|
2826
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
2827
|
+
"name": "exclude",
|
|
2747
2828
|
"hasDynamicHelp": false,
|
|
2748
2829
|
"multiple": false,
|
|
2749
2830
|
"type": "option"
|
|
2750
|
-
},
|
|
2751
|
-
"verbose": {
|
|
2752
|
-
"char": "v",
|
|
2753
|
-
"description": "Show detailed execution information",
|
|
2754
|
-
"name": "verbose",
|
|
2755
|
-
"allowNo": false,
|
|
2756
|
-
"type": "boolean"
|
|
2757
2831
|
}
|
|
2758
2832
|
},
|
|
2759
2833
|
"hasDynamicHelp": false,
|
|
2760
2834
|
"hiddenAliases": [],
|
|
2761
|
-
"id": "
|
|
2835
|
+
"id": "sync:status",
|
|
2762
2836
|
"pluginAlias": "@memberjunction/cli",
|
|
2763
2837
|
"pluginName": "@memberjunction/cli",
|
|
2764
2838
|
"pluginType": "core",
|
|
@@ -2768,82 +2842,52 @@
|
|
|
2768
2842
|
"relativePath": [
|
|
2769
2843
|
"dist",
|
|
2770
2844
|
"commands",
|
|
2771
|
-
"
|
|
2772
|
-
"
|
|
2845
|
+
"sync",
|
|
2846
|
+
"status.js"
|
|
2773
2847
|
]
|
|
2774
2848
|
},
|
|
2775
|
-
"
|
|
2776
|
-
"aliases": [],
|
|
2777
|
-
"args": {
|
|
2778
|
-
|
|
2779
|
-
"description": "Test ID to validate",
|
|
2780
|
-
"name": "testId",
|
|
2781
|
-
"required": false
|
|
2782
|
-
}
|
|
2783
|
-
},
|
|
2784
|
-
"description": "Validate test definitions without executing",
|
|
2849
|
+
"sync:validate": {
|
|
2850
|
+
"aliases": [],
|
|
2851
|
+
"args": {},
|
|
2852
|
+
"description": "Validate metadata files",
|
|
2785
2853
|
"examples": [
|
|
2786
|
-
"<%= config.bin %> <%= command.id %>
|
|
2787
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2788
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2789
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2790
|
-
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
2854
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2855
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2856
|
+
"<%= config.bin %> <%= command.id %> --save-report",
|
|
2857
|
+
"<%= config.bin %> <%= command.id %> --verbose"
|
|
2791
2858
|
],
|
|
2792
2859
|
"flags": {
|
|
2793
|
-
"
|
|
2794
|
-
"
|
|
2795
|
-
"
|
|
2796
|
-
"name": "all",
|
|
2797
|
-
"allowNo": false,
|
|
2798
|
-
"type": "boolean"
|
|
2799
|
-
},
|
|
2800
|
-
"type": {
|
|
2801
|
-
"char": "t",
|
|
2802
|
-
"description": "Validate tests by type",
|
|
2803
|
-
"name": "type",
|
|
2860
|
+
"dir": {
|
|
2861
|
+
"description": "Specific entity directory to validate",
|
|
2862
|
+
"name": "dir",
|
|
2804
2863
|
"hasDynamicHelp": false,
|
|
2805
2864
|
"multiple": false,
|
|
2806
2865
|
"type": "option"
|
|
2807
2866
|
},
|
|
2867
|
+
"verbose": {
|
|
2868
|
+
"char": "v",
|
|
2869
|
+
"description": "Show detailed validation output",
|
|
2870
|
+
"name": "verbose",
|
|
2871
|
+
"allowNo": false,
|
|
2872
|
+
"type": "boolean"
|
|
2873
|
+
},
|
|
2808
2874
|
"save-report": {
|
|
2809
|
-
"description": "Save validation report
|
|
2875
|
+
"description": "Save validation report as markdown file",
|
|
2810
2876
|
"name": "save-report",
|
|
2811
2877
|
"allowNo": false,
|
|
2812
2878
|
"type": "boolean"
|
|
2813
2879
|
},
|
|
2814
|
-
"format": {
|
|
2815
|
-
"char": "f",
|
|
2816
|
-
"description": "Output format",
|
|
2817
|
-
"name": "format",
|
|
2818
|
-
"default": "console",
|
|
2819
|
-
"hasDynamicHelp": false,
|
|
2820
|
-
"multiple": false,
|
|
2821
|
-
"options": [
|
|
2822
|
-
"console",
|
|
2823
|
-
"json",
|
|
2824
|
-
"markdown"
|
|
2825
|
-
],
|
|
2826
|
-
"type": "option"
|
|
2827
|
-
},
|
|
2828
2880
|
"output": {
|
|
2829
|
-
"
|
|
2830
|
-
"description": "Output file path",
|
|
2881
|
+
"description": "Output file path for validation report (default: validation-report.md)",
|
|
2831
2882
|
"name": "output",
|
|
2832
2883
|
"hasDynamicHelp": false,
|
|
2833
2884
|
"multiple": false,
|
|
2834
2885
|
"type": "option"
|
|
2835
|
-
},
|
|
2836
|
-
"verbose": {
|
|
2837
|
-
"char": "v",
|
|
2838
|
-
"description": "Show detailed information",
|
|
2839
|
-
"name": "verbose",
|
|
2840
|
-
"allowNo": false,
|
|
2841
|
-
"type": "boolean"
|
|
2842
2886
|
}
|
|
2843
2887
|
},
|
|
2844
2888
|
"hasDynamicHelp": false,
|
|
2845
2889
|
"hiddenAliases": [],
|
|
2846
|
-
"id": "
|
|
2890
|
+
"id": "sync:validate",
|
|
2847
2891
|
"pluginAlias": "@memberjunction/cli",
|
|
2848
2892
|
"pluginName": "@memberjunction/cli",
|
|
2849
2893
|
"pluginType": "core",
|
|
@@ -2853,96 +2897,52 @@
|
|
|
2853
2897
|
"relativePath": [
|
|
2854
2898
|
"dist",
|
|
2855
2899
|
"commands",
|
|
2856
|
-
"
|
|
2900
|
+
"sync",
|
|
2857
2901
|
"validate.js"
|
|
2858
2902
|
]
|
|
2859
2903
|
},
|
|
2860
|
-
"
|
|
2904
|
+
"sync:watch": {
|
|
2861
2905
|
"aliases": [],
|
|
2862
2906
|
"args": {},
|
|
2863
|
-
"description": "
|
|
2907
|
+
"description": "Watch for file changes and sync automatically",
|
|
2864
2908
|
"examples": [
|
|
2865
|
-
"<%= config.bin %>
|
|
2866
|
-
"<%= config.bin %>
|
|
2867
|
-
"<%= config.bin %>
|
|
2868
|
-
"<%= config.bin %>
|
|
2909
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2910
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2911
|
+
"<%= config.bin %> <%= command.id %> --debounce=1000",
|
|
2912
|
+
"<%= config.bin %> <%= command.id %> --no-validate"
|
|
2869
2913
|
],
|
|
2870
2914
|
"flags": {
|
|
2871
|
-
"
|
|
2872
|
-
"description": "
|
|
2873
|
-
"name": "
|
|
2874
|
-
"required": true,
|
|
2875
|
-
"hasDynamicHelp": false,
|
|
2876
|
-
"multiple": false,
|
|
2877
|
-
"options": [
|
|
2878
|
-
"sqlserver",
|
|
2879
|
-
"postgresql"
|
|
2880
|
-
],
|
|
2881
|
-
"type": "option"
|
|
2882
|
-
},
|
|
2883
|
-
"to": {
|
|
2884
|
-
"description": "Target SQL dialect",
|
|
2885
|
-
"name": "to",
|
|
2886
|
-
"required": true,
|
|
2887
|
-
"hasDynamicHelp": false,
|
|
2888
|
-
"multiple": false,
|
|
2889
|
-
"options": [
|
|
2890
|
-
"sqlserver",
|
|
2891
|
-
"postgresql"
|
|
2892
|
-
],
|
|
2893
|
-
"type": "option"
|
|
2894
|
-
},
|
|
2895
|
-
"scope": {
|
|
2896
|
-
"description": "What to scan for translation",
|
|
2897
|
-
"name": "scope",
|
|
2898
|
-
"default": "all",
|
|
2915
|
+
"dir": {
|
|
2916
|
+
"description": "Specific entity directory to watch",
|
|
2917
|
+
"name": "dir",
|
|
2899
2918
|
"hasDynamicHelp": false,
|
|
2900
2919
|
"multiple": false,
|
|
2901
|
-
"options": [
|
|
2902
|
-
"queries",
|
|
2903
|
-
"views",
|
|
2904
|
-
"filters",
|
|
2905
|
-
"all"
|
|
2906
|
-
],
|
|
2907
2920
|
"type": "option"
|
|
2908
2921
|
},
|
|
2909
|
-
"
|
|
2910
|
-
"description": "
|
|
2911
|
-
"name": "
|
|
2922
|
+
"debounce": {
|
|
2923
|
+
"description": "Debounce delay in milliseconds (default: 500)",
|
|
2924
|
+
"name": "debounce",
|
|
2912
2925
|
"hasDynamicHelp": false,
|
|
2913
2926
|
"multiple": false,
|
|
2914
2927
|
"type": "option"
|
|
2915
2928
|
},
|
|
2916
|
-
"
|
|
2917
|
-
"description": "
|
|
2918
|
-
"name": "
|
|
2919
|
-
"allowNo": false,
|
|
2920
|
-
"type": "boolean"
|
|
2921
|
-
},
|
|
2922
|
-
"review": {
|
|
2923
|
-
"description": "Generate review report only (no writes to database)",
|
|
2924
|
-
"name": "review",
|
|
2929
|
+
"no-validate": {
|
|
2930
|
+
"description": "Skip validation before sync",
|
|
2931
|
+
"name": "no-validate",
|
|
2925
2932
|
"allowNo": false,
|
|
2926
2933
|
"type": "boolean"
|
|
2927
2934
|
},
|
|
2928
|
-
"
|
|
2929
|
-
"char": "
|
|
2930
|
-
"description": "
|
|
2931
|
-
"name": "
|
|
2932
|
-
"hasDynamicHelp": false,
|
|
2933
|
-
"multiple": false,
|
|
2934
|
-
"type": "option"
|
|
2935
|
-
},
|
|
2936
|
-
"force": {
|
|
2937
|
-
"description": "Re-translate even if platform variants already exist",
|
|
2938
|
-
"name": "force",
|
|
2935
|
+
"verbose": {
|
|
2936
|
+
"char": "v",
|
|
2937
|
+
"description": "Show detailed output",
|
|
2938
|
+
"name": "verbose",
|
|
2939
2939
|
"allowNo": false,
|
|
2940
2940
|
"type": "boolean"
|
|
2941
2941
|
}
|
|
2942
2942
|
},
|
|
2943
2943
|
"hasDynamicHelp": false,
|
|
2944
2944
|
"hiddenAliases": [],
|
|
2945
|
-
"id": "
|
|
2945
|
+
"id": "sync:watch",
|
|
2946
2946
|
"pluginAlias": "@memberjunction/cli",
|
|
2947
2947
|
"pluginName": "@memberjunction/cli",
|
|
2948
2948
|
"pluginType": "core",
|
|
@@ -2952,14 +2952,14 @@
|
|
|
2952
2952
|
"relativePath": [
|
|
2953
2953
|
"dist",
|
|
2954
2954
|
"commands",
|
|
2955
|
-
"
|
|
2956
|
-
"
|
|
2955
|
+
"sync",
|
|
2956
|
+
"watch.js"
|
|
2957
2957
|
]
|
|
2958
2958
|
},
|
|
2959
|
-
"ai:
|
|
2959
|
+
"ai:actions:list": {
|
|
2960
2960
|
"aliases": [],
|
|
2961
2961
|
"args": {},
|
|
2962
|
-
"description": "List available AI
|
|
2962
|
+
"description": "List available AI actions",
|
|
2963
2963
|
"examples": [
|
|
2964
2964
|
"<%= config.bin %> <%= command.id %>",
|
|
2965
2965
|
"<%= config.bin %> <%= command.id %> --output=table",
|
|
@@ -2983,7 +2983,7 @@
|
|
|
2983
2983
|
},
|
|
2984
2984
|
"hasDynamicHelp": false,
|
|
2985
2985
|
"hiddenAliases": [],
|
|
2986
|
-
"id": "ai:
|
|
2986
|
+
"id": "ai:actions:list",
|
|
2987
2987
|
"pluginAlias": "@memberjunction/cli",
|
|
2988
2988
|
"pluginName": "@memberjunction/cli",
|
|
2989
2989
|
"pluginType": "core",
|
|
@@ -2994,47 +2994,41 @@
|
|
|
2994
2994
|
"dist",
|
|
2995
2995
|
"commands",
|
|
2996
2996
|
"ai",
|
|
2997
|
-
"
|
|
2997
|
+
"actions",
|
|
2998
2998
|
"list.js"
|
|
2999
2999
|
]
|
|
3000
3000
|
},
|
|
3001
|
-
"ai:
|
|
3001
|
+
"ai:actions:run": {
|
|
3002
3002
|
"aliases": [],
|
|
3003
3003
|
"args": {},
|
|
3004
|
-
"description": "Execute an AI
|
|
3004
|
+
"description": "Execute an AI action with parameters",
|
|
3005
3005
|
"examples": [
|
|
3006
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3007
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3008
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3006
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
3007
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
3008
|
+
"<%= 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\"",
|
|
3009
|
+
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
3009
3010
|
],
|
|
3010
3011
|
"flags": {
|
|
3011
|
-
"
|
|
3012
|
-
"char": "
|
|
3013
|
-
"description": "
|
|
3014
|
-
"name": "
|
|
3012
|
+
"name": {
|
|
3013
|
+
"char": "n",
|
|
3014
|
+
"description": "Action name",
|
|
3015
|
+
"name": "name",
|
|
3015
3016
|
"required": true,
|
|
3016
3017
|
"hasDynamicHelp": false,
|
|
3017
3018
|
"multiple": false,
|
|
3018
3019
|
"type": "option"
|
|
3019
3020
|
},
|
|
3020
|
-
"
|
|
3021
|
+
"param": {
|
|
3021
3022
|
"char": "p",
|
|
3022
|
-
"description": "
|
|
3023
|
-
"
|
|
3024
|
-
"chat"
|
|
3025
|
-
],
|
|
3026
|
-
"name": "prompt",
|
|
3023
|
+
"description": "Action parameters in key=value format",
|
|
3024
|
+
"name": "param",
|
|
3027
3025
|
"hasDynamicHelp": false,
|
|
3028
|
-
"multiple":
|
|
3026
|
+
"multiple": true,
|
|
3029
3027
|
"type": "option"
|
|
3030
3028
|
},
|
|
3031
|
-
"
|
|
3032
|
-
"
|
|
3033
|
-
"
|
|
3034
|
-
"exclusive": [
|
|
3035
|
-
"prompt"
|
|
3036
|
-
],
|
|
3037
|
-
"name": "chat",
|
|
3029
|
+
"dry-run": {
|
|
3030
|
+
"description": "Validate without executing",
|
|
3031
|
+
"name": "dry-run",
|
|
3038
3032
|
"allowNo": false,
|
|
3039
3033
|
"type": "boolean"
|
|
3040
3034
|
},
|
|
@@ -3070,7 +3064,7 @@
|
|
|
3070
3064
|
},
|
|
3071
3065
|
"hasDynamicHelp": false,
|
|
3072
3066
|
"hiddenAliases": [],
|
|
3073
|
-
"id": "ai:
|
|
3067
|
+
"id": "ai:actions:run",
|
|
3074
3068
|
"pluginAlias": "@memberjunction/cli",
|
|
3075
3069
|
"pluginName": "@memberjunction/cli",
|
|
3076
3070
|
"pluginType": "core",
|
|
@@ -3081,7 +3075,7 @@
|
|
|
3081
3075
|
"dist",
|
|
3082
3076
|
"commands",
|
|
3083
3077
|
"ai",
|
|
3084
|
-
"
|
|
3078
|
+
"actions",
|
|
3085
3079
|
"run.js"
|
|
3086
3080
|
]
|
|
3087
3081
|
},
|
|
@@ -3301,10 +3295,10 @@
|
|
|
3301
3295
|
"index.js"
|
|
3302
3296
|
]
|
|
3303
3297
|
},
|
|
3304
|
-
"ai:
|
|
3298
|
+
"ai:agents:list": {
|
|
3305
3299
|
"aliases": [],
|
|
3306
3300
|
"args": {},
|
|
3307
|
-
"description": "List available AI
|
|
3301
|
+
"description": "List available AI agents",
|
|
3308
3302
|
"examples": [
|
|
3309
3303
|
"<%= config.bin %> <%= command.id %>",
|
|
3310
3304
|
"<%= config.bin %> <%= command.id %> --output=table",
|
|
@@ -3328,7 +3322,7 @@
|
|
|
3328
3322
|
},
|
|
3329
3323
|
"hasDynamicHelp": false,
|
|
3330
3324
|
"hiddenAliases": [],
|
|
3331
|
-
"id": "ai:
|
|
3325
|
+
"id": "ai:agents:list",
|
|
3332
3326
|
"pluginAlias": "@memberjunction/cli",
|
|
3333
3327
|
"pluginName": "@memberjunction/cli",
|
|
3334
3328
|
"pluginType": "core",
|
|
@@ -3339,41 +3333,47 @@
|
|
|
3339
3333
|
"dist",
|
|
3340
3334
|
"commands",
|
|
3341
3335
|
"ai",
|
|
3342
|
-
"
|
|
3336
|
+
"agents",
|
|
3343
3337
|
"list.js"
|
|
3344
3338
|
]
|
|
3345
3339
|
},
|
|
3346
|
-
"ai:
|
|
3340
|
+
"ai:agents:run": {
|
|
3347
3341
|
"aliases": [],
|
|
3348
3342
|
"args": {},
|
|
3349
|
-
"description": "Execute an AI
|
|
3343
|
+
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
3350
3344
|
"examples": [
|
|
3351
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3352
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3353
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3354
|
-
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
3345
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Requirements Expert\" -p \"Create a dashboard for sales metrics\"",
|
|
3346
|
+
"<%= config.bin %> <%= command.id %> -a \"Child Component Generator Sub-agent\" --chat",
|
|
3347
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Technical Design Expert\" -p \"Build a React component\" --verbose --timeout=600000"
|
|
3355
3348
|
],
|
|
3356
3349
|
"flags": {
|
|
3357
|
-
"
|
|
3358
|
-
"char": "
|
|
3359
|
-
"description": "
|
|
3360
|
-
"name": "
|
|
3350
|
+
"agent": {
|
|
3351
|
+
"char": "a",
|
|
3352
|
+
"description": "Agent name",
|
|
3353
|
+
"name": "agent",
|
|
3361
3354
|
"required": true,
|
|
3362
3355
|
"hasDynamicHelp": false,
|
|
3363
3356
|
"multiple": false,
|
|
3364
3357
|
"type": "option"
|
|
3365
3358
|
},
|
|
3366
|
-
"
|
|
3359
|
+
"prompt": {
|
|
3367
3360
|
"char": "p",
|
|
3368
|
-
"description": "
|
|
3369
|
-
"
|
|
3361
|
+
"description": "Prompt to execute",
|
|
3362
|
+
"exclusive": [
|
|
3363
|
+
"chat"
|
|
3364
|
+
],
|
|
3365
|
+
"name": "prompt",
|
|
3370
3366
|
"hasDynamicHelp": false,
|
|
3371
|
-
"multiple":
|
|
3367
|
+
"multiple": false,
|
|
3372
3368
|
"type": "option"
|
|
3373
3369
|
},
|
|
3374
|
-
"
|
|
3375
|
-
"
|
|
3376
|
-
"
|
|
3370
|
+
"chat": {
|
|
3371
|
+
"char": "c",
|
|
3372
|
+
"description": "Start interactive chat mode",
|
|
3373
|
+
"exclusive": [
|
|
3374
|
+
"prompt"
|
|
3375
|
+
],
|
|
3376
|
+
"name": "chat",
|
|
3377
3377
|
"allowNo": false,
|
|
3378
3378
|
"type": "boolean"
|
|
3379
3379
|
},
|
|
@@ -3409,7 +3409,7 @@
|
|
|
3409
3409
|
},
|
|
3410
3410
|
"hasDynamicHelp": false,
|
|
3411
3411
|
"hiddenAliases": [],
|
|
3412
|
-
"id": "ai:
|
|
3412
|
+
"id": "ai:agents:run",
|
|
3413
3413
|
"pluginAlias": "@memberjunction/cli",
|
|
3414
3414
|
"pluginName": "@memberjunction/cli",
|
|
3415
3415
|
"pluginType": "core",
|
|
@@ -3420,7 +3420,7 @@
|
|
|
3420
3420
|
"dist",
|
|
3421
3421
|
"commands",
|
|
3422
3422
|
"ai",
|
|
3423
|
-
"
|
|
3423
|
+
"agents",
|
|
3424
3424
|
"run.js"
|
|
3425
3425
|
]
|
|
3426
3426
|
},
|
|
@@ -3564,5 +3564,5 @@
|
|
|
3564
3564
|
]
|
|
3565
3565
|
}
|
|
3566
3566
|
},
|
|
3567
|
-
"version": "5.
|
|
3567
|
+
"version": "5.27.0"
|
|
3568
3568
|
}
|