@memberjunction/cli 5.10.1 → 5.11.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.
Files changed (2) hide show
  1. package/oclif.manifest.json +233 -233
  2. package/package.json +13 -13
@@ -794,6 +794,48 @@
794
794
  "manifest.js"
795
795
  ]
796
796
  },
797
+ "doctor": {
798
+ "aliases": [],
799
+ "args": {},
800
+ "description": "Diagnose a MemberJunction installation",
801
+ "examples": [
802
+ "<%= config.bin %> <%= command.id %>",
803
+ "<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
804
+ "<%= config.bin %> <%= command.id %> --verbose"
805
+ ],
806
+ "flags": {
807
+ "dir": {
808
+ "description": "Target directory to diagnose",
809
+ "name": "dir",
810
+ "default": ".",
811
+ "hasDynamicHelp": false,
812
+ "multiple": false,
813
+ "type": "option"
814
+ },
815
+ "verbose": {
816
+ "char": "v",
817
+ "description": "Show detailed output including suggested fixes inline",
818
+ "name": "verbose",
819
+ "allowNo": false,
820
+ "type": "boolean"
821
+ }
822
+ },
823
+ "hasDynamicHelp": false,
824
+ "hiddenAliases": [],
825
+ "id": "doctor",
826
+ "pluginAlias": "@memberjunction/cli",
827
+ "pluginName": "@memberjunction/cli",
828
+ "pluginType": "core",
829
+ "strict": true,
830
+ "enableJsonFlag": false,
831
+ "isESM": true,
832
+ "relativePath": [
833
+ "dist",
834
+ "commands",
835
+ "doctor",
836
+ "index.js"
837
+ ]
838
+ },
797
839
  "dbdoc:analyze": {
798
840
  "aliases": [],
799
841
  "args": {},
@@ -1231,48 +1273,6 @@
1231
1273
  "status.js"
1232
1274
  ]
1233
1275
  },
1234
- "doctor": {
1235
- "aliases": [],
1236
- "args": {},
1237
- "description": "Diagnose a MemberJunction installation",
1238
- "examples": [
1239
- "<%= config.bin %> <%= command.id %>",
1240
- "<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
1241
- "<%= config.bin %> <%= command.id %> --verbose"
1242
- ],
1243
- "flags": {
1244
- "dir": {
1245
- "description": "Target directory to diagnose",
1246
- "name": "dir",
1247
- "default": ".",
1248
- "hasDynamicHelp": false,
1249
- "multiple": false,
1250
- "type": "option"
1251
- },
1252
- "verbose": {
1253
- "char": "v",
1254
- "description": "Show detailed output including suggested fixes inline",
1255
- "name": "verbose",
1256
- "allowNo": false,
1257
- "type": "boolean"
1258
- }
1259
- },
1260
- "hasDynamicHelp": false,
1261
- "hiddenAliases": [],
1262
- "id": "doctor",
1263
- "pluginAlias": "@memberjunction/cli",
1264
- "pluginName": "@memberjunction/cli",
1265
- "pluginType": "core",
1266
- "strict": true,
1267
- "enableJsonFlag": false,
1268
- "isESM": true,
1269
- "relativePath": [
1270
- "dist",
1271
- "commands",
1272
- "doctor",
1273
- "index.js"
1274
- ]
1275
- },
1276
1276
  "install": {
1277
1277
  "aliases": [],
1278
1278
  "args": {},
@@ -1433,6 +1433,73 @@
1433
1433
  "index.js"
1434
1434
  ]
1435
1435
  },
1436
+ "sql-audit": {
1437
+ "aliases": [],
1438
+ "args": {},
1439
+ "description": "Compare source and target databases for migration verification",
1440
+ "examples": [
1441
+ "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
1442
+ "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
1443
+ "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
1444
+ ],
1445
+ "flags": {
1446
+ "source": {
1447
+ "description": "Source database connection string (mssql://... or postgres://...)",
1448
+ "name": "source",
1449
+ "required": true,
1450
+ "hasDynamicHelp": false,
1451
+ "multiple": false,
1452
+ "type": "option"
1453
+ },
1454
+ "target": {
1455
+ "description": "Target database connection string (mssql://... or postgres://...)",
1456
+ "name": "target",
1457
+ "required": true,
1458
+ "hasDynamicHelp": false,
1459
+ "multiple": false,
1460
+ "type": "option"
1461
+ },
1462
+ "source-schema": {
1463
+ "description": "Source schema name",
1464
+ "name": "source-schema",
1465
+ "default": "__mj",
1466
+ "hasDynamicHelp": false,
1467
+ "multiple": false,
1468
+ "type": "option"
1469
+ },
1470
+ "target-schema": {
1471
+ "description": "Target schema name",
1472
+ "name": "target-schema",
1473
+ "default": "__mj",
1474
+ "hasDynamicHelp": false,
1475
+ "multiple": false,
1476
+ "type": "option"
1477
+ },
1478
+ "output": {
1479
+ "char": "o",
1480
+ "description": "Save report to file",
1481
+ "name": "output",
1482
+ "hasDynamicHelp": false,
1483
+ "multiple": false,
1484
+ "type": "option"
1485
+ }
1486
+ },
1487
+ "hasDynamicHelp": false,
1488
+ "hiddenAliases": [],
1489
+ "id": "sql-audit",
1490
+ "pluginAlias": "@memberjunction/cli",
1491
+ "pluginName": "@memberjunction/cli",
1492
+ "pluginType": "core",
1493
+ "strict": true,
1494
+ "enableJsonFlag": false,
1495
+ "isESM": true,
1496
+ "relativePath": [
1497
+ "dist",
1498
+ "commands",
1499
+ "sql-audit",
1500
+ "index.js"
1501
+ ]
1502
+ },
1436
1503
  "querygen:export": {
1437
1504
  "aliases": [],
1438
1505
  "args": {},
@@ -1648,73 +1715,6 @@
1648
1715
  "validate.js"
1649
1716
  ]
1650
1717
  },
1651
- "sql-audit": {
1652
- "aliases": [],
1653
- "args": {},
1654
- "description": "Compare source and target databases for migration verification",
1655
- "examples": [
1656
- "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
1657
- "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
1658
- "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
1659
- ],
1660
- "flags": {
1661
- "source": {
1662
- "description": "Source database connection string (mssql://... or postgres://...)",
1663
- "name": "source",
1664
- "required": true,
1665
- "hasDynamicHelp": false,
1666
- "multiple": false,
1667
- "type": "option"
1668
- },
1669
- "target": {
1670
- "description": "Target database connection string (mssql://... or postgres://...)",
1671
- "name": "target",
1672
- "required": true,
1673
- "hasDynamicHelp": false,
1674
- "multiple": false,
1675
- "type": "option"
1676
- },
1677
- "source-schema": {
1678
- "description": "Source schema name",
1679
- "name": "source-schema",
1680
- "default": "__mj",
1681
- "hasDynamicHelp": false,
1682
- "multiple": false,
1683
- "type": "option"
1684
- },
1685
- "target-schema": {
1686
- "description": "Target schema name",
1687
- "name": "target-schema",
1688
- "default": "__mj",
1689
- "hasDynamicHelp": false,
1690
- "multiple": false,
1691
- "type": "option"
1692
- },
1693
- "output": {
1694
- "char": "o",
1695
- "description": "Save report to file",
1696
- "name": "output",
1697
- "hasDynamicHelp": false,
1698
- "multiple": false,
1699
- "type": "option"
1700
- }
1701
- },
1702
- "hasDynamicHelp": false,
1703
- "hiddenAliases": [],
1704
- "id": "sql-audit",
1705
- "pluginAlias": "@memberjunction/cli",
1706
- "pluginName": "@memberjunction/cli",
1707
- "pluginType": "core",
1708
- "strict": true,
1709
- "enableJsonFlag": false,
1710
- "isESM": true,
1711
- "relativePath": [
1712
- "dist",
1713
- "commands",
1714
- "sql-audit",
1715
- "index.js"
1716
- ]
1717
- },
1718
1718
  "sql-convert": {
1719
1719
  "aliases": [],
1720
1720
  "args": {
@@ -2916,129 +2916,6 @@
2916
2916
  "validate.js"
2917
2917
  ]
2918
2918
  },
2919
- "ai:actions:list": {
2920
- "aliases": [],
2921
- "args": {},
2922
- "description": "List available AI actions",
2923
- "examples": [
2924
- "<%= config.bin %> <%= command.id %>",
2925
- "<%= config.bin %> <%= command.id %> --output=table",
2926
- "<%= config.bin %> <%= command.id %> --output=json"
2927
- ],
2928
- "flags": {
2929
- "output": {
2930
- "char": "o",
2931
- "description": "Output format",
2932
- "name": "output",
2933
- "default": "compact",
2934
- "hasDynamicHelp": false,
2935
- "multiple": false,
2936
- "options": [
2937
- "compact",
2938
- "json",
2939
- "table"
2940
- ],
2941
- "type": "option"
2942
- }
2943
- },
2944
- "hasDynamicHelp": false,
2945
- "hiddenAliases": [],
2946
- "id": "ai:actions:list",
2947
- "pluginAlias": "@memberjunction/cli",
2948
- "pluginName": "@memberjunction/cli",
2949
- "pluginType": "core",
2950
- "strict": true,
2951
- "enableJsonFlag": false,
2952
- "isESM": true,
2953
- "relativePath": [
2954
- "dist",
2955
- "commands",
2956
- "ai",
2957
- "actions",
2958
- "list.js"
2959
- ]
2960
- },
2961
- "ai:actions:run": {
2962
- "aliases": [],
2963
- "args": {},
2964
- "description": "Execute an AI action with parameters",
2965
- "examples": [
2966
- "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
2967
- "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
2968
- "<%= 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\"",
2969
- "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
2970
- ],
2971
- "flags": {
2972
- "name": {
2973
- "char": "n",
2974
- "description": "Action name",
2975
- "name": "name",
2976
- "required": true,
2977
- "hasDynamicHelp": false,
2978
- "multiple": false,
2979
- "type": "option"
2980
- },
2981
- "param": {
2982
- "char": "p",
2983
- "description": "Action parameters in key=value format",
2984
- "name": "param",
2985
- "hasDynamicHelp": false,
2986
- "multiple": true,
2987
- "type": "option"
2988
- },
2989
- "dry-run": {
2990
- "description": "Validate without executing",
2991
- "name": "dry-run",
2992
- "allowNo": false,
2993
- "type": "boolean"
2994
- },
2995
- "output": {
2996
- "char": "o",
2997
- "description": "Output format",
2998
- "name": "output",
2999
- "default": "compact",
3000
- "hasDynamicHelp": false,
3001
- "multiple": false,
3002
- "options": [
3003
- "compact",
3004
- "json",
3005
- "table"
3006
- ],
3007
- "type": "option"
3008
- },
3009
- "verbose": {
3010
- "char": "v",
3011
- "description": "Show detailed execution information",
3012
- "name": "verbose",
3013
- "allowNo": false,
3014
- "type": "boolean"
3015
- },
3016
- "timeout": {
3017
- "description": "Execution timeout in milliseconds",
3018
- "name": "timeout",
3019
- "default": 300000,
3020
- "hasDynamicHelp": false,
3021
- "multiple": false,
3022
- "type": "option"
3023
- }
3024
- },
3025
- "hasDynamicHelp": false,
3026
- "hiddenAliases": [],
3027
- "id": "ai:actions:run",
3028
- "pluginAlias": "@memberjunction/cli",
3029
- "pluginName": "@memberjunction/cli",
3030
- "pluginType": "core",
3031
- "strict": true,
3032
- "enableJsonFlag": false,
3033
- "isESM": true,
3034
- "relativePath": [
3035
- "dist",
3036
- "commands",
3037
- "ai",
3038
- "actions",
3039
- "run.js"
3040
- ]
3041
- },
3042
2919
  "ai:agents:list": {
3043
2920
  "aliases": [],
3044
2921
  "args": {},
@@ -3384,6 +3261,129 @@
3384
3261
  "index.js"
3385
3262
  ]
3386
3263
  },
3264
+ "ai:actions:list": {
3265
+ "aliases": [],
3266
+ "args": {},
3267
+ "description": "List available AI actions",
3268
+ "examples": [
3269
+ "<%= config.bin %> <%= command.id %>",
3270
+ "<%= config.bin %> <%= command.id %> --output=table",
3271
+ "<%= config.bin %> <%= command.id %> --output=json"
3272
+ ],
3273
+ "flags": {
3274
+ "output": {
3275
+ "char": "o",
3276
+ "description": "Output format",
3277
+ "name": "output",
3278
+ "default": "compact",
3279
+ "hasDynamicHelp": false,
3280
+ "multiple": false,
3281
+ "options": [
3282
+ "compact",
3283
+ "json",
3284
+ "table"
3285
+ ],
3286
+ "type": "option"
3287
+ }
3288
+ },
3289
+ "hasDynamicHelp": false,
3290
+ "hiddenAliases": [],
3291
+ "id": "ai:actions:list",
3292
+ "pluginAlias": "@memberjunction/cli",
3293
+ "pluginName": "@memberjunction/cli",
3294
+ "pluginType": "core",
3295
+ "strict": true,
3296
+ "enableJsonFlag": false,
3297
+ "isESM": true,
3298
+ "relativePath": [
3299
+ "dist",
3300
+ "commands",
3301
+ "ai",
3302
+ "actions",
3303
+ "list.js"
3304
+ ]
3305
+ },
3306
+ "ai:actions:run": {
3307
+ "aliases": [],
3308
+ "args": {},
3309
+ "description": "Execute an AI action with parameters",
3310
+ "examples": [
3311
+ "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
3312
+ "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
3313
+ "<%= 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\"",
3314
+ "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
3315
+ ],
3316
+ "flags": {
3317
+ "name": {
3318
+ "char": "n",
3319
+ "description": "Action name",
3320
+ "name": "name",
3321
+ "required": true,
3322
+ "hasDynamicHelp": false,
3323
+ "multiple": false,
3324
+ "type": "option"
3325
+ },
3326
+ "param": {
3327
+ "char": "p",
3328
+ "description": "Action parameters in key=value format",
3329
+ "name": "param",
3330
+ "hasDynamicHelp": false,
3331
+ "multiple": true,
3332
+ "type": "option"
3333
+ },
3334
+ "dry-run": {
3335
+ "description": "Validate without executing",
3336
+ "name": "dry-run",
3337
+ "allowNo": false,
3338
+ "type": "boolean"
3339
+ },
3340
+ "output": {
3341
+ "char": "o",
3342
+ "description": "Output format",
3343
+ "name": "output",
3344
+ "default": "compact",
3345
+ "hasDynamicHelp": false,
3346
+ "multiple": false,
3347
+ "options": [
3348
+ "compact",
3349
+ "json",
3350
+ "table"
3351
+ ],
3352
+ "type": "option"
3353
+ },
3354
+ "verbose": {
3355
+ "char": "v",
3356
+ "description": "Show detailed execution information",
3357
+ "name": "verbose",
3358
+ "allowNo": false,
3359
+ "type": "boolean"
3360
+ },
3361
+ "timeout": {
3362
+ "description": "Execution timeout in milliseconds",
3363
+ "name": "timeout",
3364
+ "default": 300000,
3365
+ "hasDynamicHelp": false,
3366
+ "multiple": false,
3367
+ "type": "option"
3368
+ }
3369
+ },
3370
+ "hasDynamicHelp": false,
3371
+ "hiddenAliases": [],
3372
+ "id": "ai:actions:run",
3373
+ "pluginAlias": "@memberjunction/cli",
3374
+ "pluginName": "@memberjunction/cli",
3375
+ "pluginType": "core",
3376
+ "strict": true,
3377
+ "enableJsonFlag": false,
3378
+ "isESM": true,
3379
+ "relativePath": [
3380
+ "dist",
3381
+ "commands",
3382
+ "ai",
3383
+ "actions",
3384
+ "run.js"
3385
+ ]
3386
+ },
3387
3387
  "ai:prompts:list": {
3388
3388
  "aliases": [],
3389
3389
  "args": {},
@@ -3524,5 +3524,5 @@
3524
3524
  ]
3525
3525
  }
3526
3526
  },
3527
- "version": "5.10.1"
3527
+ "version": "5.11.0"
3528
3528
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
3
  "type": "module",
4
- "version": "5.10.1",
4
+ "version": "5.11.0",
5
5
  "description": "MemberJunction command line tools",
6
6
  "keywords": [
7
7
  "oclif"
@@ -53,19 +53,19 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@inquirer/prompts": "^8.2.0",
56
- "@memberjunction/ai-cli": "5.10.1",
57
- "@memberjunction/codegen-lib": "5.10.1",
58
- "@memberjunction/config": "5.10.1",
59
- "@memberjunction/core": "5.10.1",
60
- "@memberjunction/installer": "5.10.1",
61
- "@memberjunction/db-auto-doc": "5.10.1",
62
- "@memberjunction/metadata-sync": "5.10.1",
63
- "@memberjunction/query-gen": "5.10.1",
64
- "@memberjunction/server-bootstrap-lite": "5.10.1",
56
+ "@memberjunction/ai-cli": "5.11.0",
57
+ "@memberjunction/codegen-lib": "5.11.0",
58
+ "@memberjunction/config": "5.11.0",
59
+ "@memberjunction/core": "5.11.0",
60
+ "@memberjunction/installer": "5.11.0",
61
+ "@memberjunction/db-auto-doc": "5.11.0",
62
+ "@memberjunction/metadata-sync": "5.11.0",
63
+ "@memberjunction/query-gen": "5.11.0",
64
+ "@memberjunction/server-bootstrap-lite": "5.11.0",
65
65
  "@memberjunction/skyway-core": "^0.5.3",
66
- "@memberjunction/sql-converter": "5.10.1",
67
- "@memberjunction/sqlserver-dataprovider": "5.10.1",
68
- "@memberjunction/testing-cli": "5.10.1",
66
+ "@memberjunction/sql-converter": "5.11.0",
67
+ "@memberjunction/sqlserver-dataprovider": "5.11.0",
68
+ "@memberjunction/testing-cli": "5.11.0",
69
69
  "@oclif/core": "^3.27.0",
70
70
  "@oclif/plugin-help": "^6.2.37",
71
71
  "@oclif/plugin-version": "^2.2.36",