@memberjunction/cli 6.1.4 → 6.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +645 -645
- package/package.json +22 -22
package/oclif.manifest.json
CHANGED
|
@@ -2295,6 +2295,97 @@
|
|
|
2295
2295
|
"usage.js"
|
|
2296
2296
|
]
|
|
2297
2297
|
},
|
|
2298
|
+
"doctor": {
|
|
2299
|
+
"aliases": [],
|
|
2300
|
+
"args": {},
|
|
2301
|
+
"description": "Diagnose a MemberJunction installation",
|
|
2302
|
+
"examples": [
|
|
2303
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2304
|
+
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
2305
|
+
"<%= config.bin %> <%= command.id %> --verbose",
|
|
2306
|
+
"<%= config.bin %> <%= command.id %> --report",
|
|
2307
|
+
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
2308
|
+
],
|
|
2309
|
+
"flags": {
|
|
2310
|
+
"dir": {
|
|
2311
|
+
"description": "Target directory to diagnose",
|
|
2312
|
+
"name": "dir",
|
|
2313
|
+
"default": ".",
|
|
2314
|
+
"hasDynamicHelp": false,
|
|
2315
|
+
"multiple": false,
|
|
2316
|
+
"type": "option"
|
|
2317
|
+
},
|
|
2318
|
+
"verbose": {
|
|
2319
|
+
"char": "v",
|
|
2320
|
+
"description": "Show detailed output including suggested fixes inline",
|
|
2321
|
+
"name": "verbose",
|
|
2322
|
+
"allowNo": false,
|
|
2323
|
+
"type": "boolean"
|
|
2324
|
+
},
|
|
2325
|
+
"report": {
|
|
2326
|
+
"char": "r",
|
|
2327
|
+
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
2328
|
+
"name": "report",
|
|
2329
|
+
"allowNo": false,
|
|
2330
|
+
"type": "boolean"
|
|
2331
|
+
},
|
|
2332
|
+
"report_extended": {
|
|
2333
|
+
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
2334
|
+
"name": "report_extended",
|
|
2335
|
+
"allowNo": false,
|
|
2336
|
+
"type": "boolean"
|
|
2337
|
+
}
|
|
2338
|
+
},
|
|
2339
|
+
"hasDynamicHelp": false,
|
|
2340
|
+
"hiddenAliases": [],
|
|
2341
|
+
"id": "doctor",
|
|
2342
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2343
|
+
"pluginName": "@memberjunction/cli",
|
|
2344
|
+
"pluginType": "core",
|
|
2345
|
+
"strict": true,
|
|
2346
|
+
"enableJsonFlag": false,
|
|
2347
|
+
"isESM": true,
|
|
2348
|
+
"relativePath": [
|
|
2349
|
+
"dist",
|
|
2350
|
+
"commands",
|
|
2351
|
+
"doctor",
|
|
2352
|
+
"index.js"
|
|
2353
|
+
]
|
|
2354
|
+
},
|
|
2355
|
+
"doctor:usage": {
|
|
2356
|
+
"aliases": [],
|
|
2357
|
+
"args": {},
|
|
2358
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj doctor` command.",
|
|
2359
|
+
"flags": {
|
|
2360
|
+
"format": {
|
|
2361
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2362
|
+
"name": "format",
|
|
2363
|
+
"hasDynamicHelp": false,
|
|
2364
|
+
"multiple": false,
|
|
2365
|
+
"options": [
|
|
2366
|
+
"text",
|
|
2367
|
+
"json",
|
|
2368
|
+
"md"
|
|
2369
|
+
],
|
|
2370
|
+
"type": "option"
|
|
2371
|
+
}
|
|
2372
|
+
},
|
|
2373
|
+
"hasDynamicHelp": false,
|
|
2374
|
+
"hiddenAliases": [],
|
|
2375
|
+
"id": "doctor:usage",
|
|
2376
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2377
|
+
"pluginName": "@memberjunction/cli",
|
|
2378
|
+
"pluginType": "core",
|
|
2379
|
+
"strict": true,
|
|
2380
|
+
"enableJsonFlag": false,
|
|
2381
|
+
"isESM": true,
|
|
2382
|
+
"relativePath": [
|
|
2383
|
+
"dist",
|
|
2384
|
+
"commands",
|
|
2385
|
+
"doctor",
|
|
2386
|
+
"usage.js"
|
|
2387
|
+
]
|
|
2388
|
+
},
|
|
2298
2389
|
"install:claude": {
|
|
2299
2390
|
"aliases": [],
|
|
2300
2391
|
"args": {},
|
|
@@ -2563,97 +2654,6 @@
|
|
|
2563
2654
|
"usage.js"
|
|
2564
2655
|
]
|
|
2565
2656
|
},
|
|
2566
|
-
"doctor": {
|
|
2567
|
-
"aliases": [],
|
|
2568
|
-
"args": {},
|
|
2569
|
-
"description": "Diagnose a MemberJunction installation",
|
|
2570
|
-
"examples": [
|
|
2571
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2572
|
-
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
2573
|
-
"<%= config.bin %> <%= command.id %> --verbose",
|
|
2574
|
-
"<%= config.bin %> <%= command.id %> --report",
|
|
2575
|
-
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
2576
|
-
],
|
|
2577
|
-
"flags": {
|
|
2578
|
-
"dir": {
|
|
2579
|
-
"description": "Target directory to diagnose",
|
|
2580
|
-
"name": "dir",
|
|
2581
|
-
"default": ".",
|
|
2582
|
-
"hasDynamicHelp": false,
|
|
2583
|
-
"multiple": false,
|
|
2584
|
-
"type": "option"
|
|
2585
|
-
},
|
|
2586
|
-
"verbose": {
|
|
2587
|
-
"char": "v",
|
|
2588
|
-
"description": "Show detailed output including suggested fixes inline",
|
|
2589
|
-
"name": "verbose",
|
|
2590
|
-
"allowNo": false,
|
|
2591
|
-
"type": "boolean"
|
|
2592
|
-
},
|
|
2593
|
-
"report": {
|
|
2594
|
-
"char": "r",
|
|
2595
|
-
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
2596
|
-
"name": "report",
|
|
2597
|
-
"allowNo": false,
|
|
2598
|
-
"type": "boolean"
|
|
2599
|
-
},
|
|
2600
|
-
"report_extended": {
|
|
2601
|
-
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
2602
|
-
"name": "report_extended",
|
|
2603
|
-
"allowNo": false,
|
|
2604
|
-
"type": "boolean"
|
|
2605
|
-
}
|
|
2606
|
-
},
|
|
2607
|
-
"hasDynamicHelp": false,
|
|
2608
|
-
"hiddenAliases": [],
|
|
2609
|
-
"id": "doctor",
|
|
2610
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2611
|
-
"pluginName": "@memberjunction/cli",
|
|
2612
|
-
"pluginType": "core",
|
|
2613
|
-
"strict": true,
|
|
2614
|
-
"enableJsonFlag": false,
|
|
2615
|
-
"isESM": true,
|
|
2616
|
-
"relativePath": [
|
|
2617
|
-
"dist",
|
|
2618
|
-
"commands",
|
|
2619
|
-
"doctor",
|
|
2620
|
-
"index.js"
|
|
2621
|
-
]
|
|
2622
|
-
},
|
|
2623
|
-
"doctor:usage": {
|
|
2624
|
-
"aliases": [],
|
|
2625
|
-
"args": {},
|
|
2626
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj doctor` command.",
|
|
2627
|
-
"flags": {
|
|
2628
|
-
"format": {
|
|
2629
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2630
|
-
"name": "format",
|
|
2631
|
-
"hasDynamicHelp": false,
|
|
2632
|
-
"multiple": false,
|
|
2633
|
-
"options": [
|
|
2634
|
-
"text",
|
|
2635
|
-
"json",
|
|
2636
|
-
"md"
|
|
2637
|
-
],
|
|
2638
|
-
"type": "option"
|
|
2639
|
-
}
|
|
2640
|
-
},
|
|
2641
|
-
"hasDynamicHelp": false,
|
|
2642
|
-
"hiddenAliases": [],
|
|
2643
|
-
"id": "doctor:usage",
|
|
2644
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2645
|
-
"pluginName": "@memberjunction/cli",
|
|
2646
|
-
"pluginType": "core",
|
|
2647
|
-
"strict": true,
|
|
2648
|
-
"enableJsonFlag": false,
|
|
2649
|
-
"isESM": true,
|
|
2650
|
-
"relativePath": [
|
|
2651
|
-
"dist",
|
|
2652
|
-
"commands",
|
|
2653
|
-
"doctor",
|
|
2654
|
-
"usage.js"
|
|
2655
|
-
]
|
|
2656
|
-
},
|
|
2657
2657
|
"migrate:convert": {
|
|
2658
2658
|
"aliases": [],
|
|
2659
2659
|
"args": {},
|
|
@@ -3071,36 +3071,60 @@
|
|
|
3071
3071
|
"usage.js"
|
|
3072
3072
|
]
|
|
3073
3073
|
},
|
|
3074
|
-
"
|
|
3074
|
+
"sql-audit": {
|
|
3075
3075
|
"aliases": [],
|
|
3076
3076
|
"args": {},
|
|
3077
|
-
"description": "
|
|
3077
|
+
"description": "Compare source and target databases for migration verification",
|
|
3078
3078
|
"examples": [
|
|
3079
|
-
"<%= config.bin %>
|
|
3080
|
-
"<%= config.bin %>
|
|
3081
|
-
"<%= config.bin %>
|
|
3079
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
3080
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
3081
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
3082
3082
|
],
|
|
3083
3083
|
"flags": {
|
|
3084
|
+
"source": {
|
|
3085
|
+
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
3086
|
+
"name": "source",
|
|
3087
|
+
"required": true,
|
|
3088
|
+
"hasDynamicHelp": false,
|
|
3089
|
+
"multiple": false,
|
|
3090
|
+
"type": "option"
|
|
3091
|
+
},
|
|
3092
|
+
"target": {
|
|
3093
|
+
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
3094
|
+
"name": "target",
|
|
3095
|
+
"required": true,
|
|
3096
|
+
"hasDynamicHelp": false,
|
|
3097
|
+
"multiple": false,
|
|
3098
|
+
"type": "option"
|
|
3099
|
+
},
|
|
3100
|
+
"source-schema": {
|
|
3101
|
+
"description": "Source schema name",
|
|
3102
|
+
"name": "source-schema",
|
|
3103
|
+
"default": "__mj",
|
|
3104
|
+
"hasDynamicHelp": false,
|
|
3105
|
+
"multiple": false,
|
|
3106
|
+
"type": "option"
|
|
3107
|
+
},
|
|
3108
|
+
"target-schema": {
|
|
3109
|
+
"description": "Target schema name",
|
|
3110
|
+
"name": "target-schema",
|
|
3111
|
+
"default": "__mj",
|
|
3112
|
+
"hasDynamicHelp": false,
|
|
3113
|
+
"multiple": false,
|
|
3114
|
+
"type": "option"
|
|
3115
|
+
},
|
|
3084
3116
|
"output": {
|
|
3085
3117
|
"char": "o",
|
|
3086
|
-
"description": "
|
|
3118
|
+
"description": "Save report to file",
|
|
3087
3119
|
"name": "output",
|
|
3088
|
-
"default": "./metadata/queries",
|
|
3089
3120
|
"hasDynamicHelp": false,
|
|
3090
3121
|
"multiple": false,
|
|
3091
3122
|
"type": "option"
|
|
3092
|
-
},
|
|
3093
|
-
"verbose": {
|
|
3094
|
-
"char": "v",
|
|
3095
|
-
"description": "Verbose output",
|
|
3096
|
-
"name": "verbose",
|
|
3097
|
-
"allowNo": false,
|
|
3098
|
-
"type": "boolean"
|
|
3099
3123
|
}
|
|
3100
3124
|
},
|
|
3101
3125
|
"hasDynamicHelp": false,
|
|
3102
3126
|
"hiddenAliases": [],
|
|
3103
|
-
"id": "
|
|
3127
|
+
"id": "sql-audit",
|
|
3104
3128
|
"pluginAlias": "@memberjunction/cli",
|
|
3105
3129
|
"pluginName": "@memberjunction/cli",
|
|
3106
3130
|
"pluginType": "core",
|
|
@@ -3110,27 +3134,104 @@
|
|
|
3110
3134
|
"relativePath": [
|
|
3111
3135
|
"dist",
|
|
3112
3136
|
"commands",
|
|
3113
|
-
"
|
|
3114
|
-
"
|
|
3137
|
+
"sql-audit",
|
|
3138
|
+
"index.js"
|
|
3115
3139
|
]
|
|
3116
3140
|
},
|
|
3117
|
-
"
|
|
3141
|
+
"sql-audit:usage": {
|
|
3118
3142
|
"aliases": [],
|
|
3119
3143
|
"args": {},
|
|
3120
|
-
"description": "
|
|
3121
|
-
"examples": [
|
|
3122
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3123
|
-
"<%= config.bin %> <%= command.id %> --entities \"Customers,Orders\"",
|
|
3124
|
-
"<%= config.bin %> <%= command.id %> --max-entities 5 --verbose",
|
|
3125
|
-
"<%= config.bin %> <%= command.id %> --mode database"
|
|
3126
|
-
],
|
|
3144
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj sql-audit` command.",
|
|
3127
3145
|
"flags": {
|
|
3128
|
-
"
|
|
3129
|
-
"
|
|
3130
|
-
"
|
|
3131
|
-
"
|
|
3132
|
-
"
|
|
3133
|
-
"
|
|
3146
|
+
"format": {
|
|
3147
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3148
|
+
"name": "format",
|
|
3149
|
+
"hasDynamicHelp": false,
|
|
3150
|
+
"multiple": false,
|
|
3151
|
+
"options": [
|
|
3152
|
+
"text",
|
|
3153
|
+
"json",
|
|
3154
|
+
"md"
|
|
3155
|
+
],
|
|
3156
|
+
"type": "option"
|
|
3157
|
+
}
|
|
3158
|
+
},
|
|
3159
|
+
"hasDynamicHelp": false,
|
|
3160
|
+
"hiddenAliases": [],
|
|
3161
|
+
"id": "sql-audit:usage",
|
|
3162
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3163
|
+
"pluginName": "@memberjunction/cli",
|
|
3164
|
+
"pluginType": "core",
|
|
3165
|
+
"strict": true,
|
|
3166
|
+
"enableJsonFlag": false,
|
|
3167
|
+
"isESM": true,
|
|
3168
|
+
"relativePath": [
|
|
3169
|
+
"dist",
|
|
3170
|
+
"commands",
|
|
3171
|
+
"sql-audit",
|
|
3172
|
+
"usage.js"
|
|
3173
|
+
]
|
|
3174
|
+
},
|
|
3175
|
+
"querygen:export": {
|
|
3176
|
+
"aliases": [],
|
|
3177
|
+
"args": {},
|
|
3178
|
+
"description": "Export queries from database to metadata files",
|
|
3179
|
+
"examples": [
|
|
3180
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3181
|
+
"<%= config.bin %> <%= command.id %> --output ./metadata/queries",
|
|
3182
|
+
"<%= config.bin %> <%= command.id %> --verbose"
|
|
3183
|
+
],
|
|
3184
|
+
"flags": {
|
|
3185
|
+
"output": {
|
|
3186
|
+
"char": "o",
|
|
3187
|
+
"description": "Output directory",
|
|
3188
|
+
"name": "output",
|
|
3189
|
+
"default": "./metadata/queries",
|
|
3190
|
+
"hasDynamicHelp": false,
|
|
3191
|
+
"multiple": false,
|
|
3192
|
+
"type": "option"
|
|
3193
|
+
},
|
|
3194
|
+
"verbose": {
|
|
3195
|
+
"char": "v",
|
|
3196
|
+
"description": "Verbose output",
|
|
3197
|
+
"name": "verbose",
|
|
3198
|
+
"allowNo": false,
|
|
3199
|
+
"type": "boolean"
|
|
3200
|
+
}
|
|
3201
|
+
},
|
|
3202
|
+
"hasDynamicHelp": false,
|
|
3203
|
+
"hiddenAliases": [],
|
|
3204
|
+
"id": "querygen:export",
|
|
3205
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3206
|
+
"pluginName": "@memberjunction/cli",
|
|
3207
|
+
"pluginType": "core",
|
|
3208
|
+
"strict": true,
|
|
3209
|
+
"enableJsonFlag": false,
|
|
3210
|
+
"isESM": true,
|
|
3211
|
+
"relativePath": [
|
|
3212
|
+
"dist",
|
|
3213
|
+
"commands",
|
|
3214
|
+
"querygen",
|
|
3215
|
+
"export.js"
|
|
3216
|
+
]
|
|
3217
|
+
},
|
|
3218
|
+
"querygen:generate": {
|
|
3219
|
+
"aliases": [],
|
|
3220
|
+
"args": {},
|
|
3221
|
+
"description": "Generate SQL query templates for entities using AI",
|
|
3222
|
+
"examples": [
|
|
3223
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3224
|
+
"<%= config.bin %> <%= command.id %> --entities \"Customers,Orders\"",
|
|
3225
|
+
"<%= config.bin %> <%= command.id %> --max-entities 5 --verbose",
|
|
3226
|
+
"<%= config.bin %> <%= command.id %> --mode database"
|
|
3227
|
+
],
|
|
3228
|
+
"flags": {
|
|
3229
|
+
"entities": {
|
|
3230
|
+
"char": "e",
|
|
3231
|
+
"description": "Specific entities to generate queries for (comma-separated)",
|
|
3232
|
+
"name": "entities",
|
|
3233
|
+
"hasDynamicHelp": false,
|
|
3234
|
+
"multiple": false,
|
|
3134
3235
|
"type": "option"
|
|
3135
3236
|
},
|
|
3136
3237
|
"exclude-entities": {
|
|
@@ -3320,107 +3421,6 @@
|
|
|
3320
3421
|
"validate.js"
|
|
3321
3422
|
]
|
|
3322
3423
|
},
|
|
3323
|
-
"sql-audit": {
|
|
3324
|
-
"aliases": [],
|
|
3325
|
-
"args": {},
|
|
3326
|
-
"description": "Compare source and target databases for migration verification",
|
|
3327
|
-
"examples": [
|
|
3328
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
3329
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
3330
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
3331
|
-
],
|
|
3332
|
-
"flags": {
|
|
3333
|
-
"source": {
|
|
3334
|
-
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
3335
|
-
"name": "source",
|
|
3336
|
-
"required": true,
|
|
3337
|
-
"hasDynamicHelp": false,
|
|
3338
|
-
"multiple": false,
|
|
3339
|
-
"type": "option"
|
|
3340
|
-
},
|
|
3341
|
-
"target": {
|
|
3342
|
-
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
3343
|
-
"name": "target",
|
|
3344
|
-
"required": true,
|
|
3345
|
-
"hasDynamicHelp": false,
|
|
3346
|
-
"multiple": false,
|
|
3347
|
-
"type": "option"
|
|
3348
|
-
},
|
|
3349
|
-
"source-schema": {
|
|
3350
|
-
"description": "Source schema name",
|
|
3351
|
-
"name": "source-schema",
|
|
3352
|
-
"default": "__mj",
|
|
3353
|
-
"hasDynamicHelp": false,
|
|
3354
|
-
"multiple": false,
|
|
3355
|
-
"type": "option"
|
|
3356
|
-
},
|
|
3357
|
-
"target-schema": {
|
|
3358
|
-
"description": "Target schema name",
|
|
3359
|
-
"name": "target-schema",
|
|
3360
|
-
"default": "__mj",
|
|
3361
|
-
"hasDynamicHelp": false,
|
|
3362
|
-
"multiple": false,
|
|
3363
|
-
"type": "option"
|
|
3364
|
-
},
|
|
3365
|
-
"output": {
|
|
3366
|
-
"char": "o",
|
|
3367
|
-
"description": "Save report to file",
|
|
3368
|
-
"name": "output",
|
|
3369
|
-
"hasDynamicHelp": false,
|
|
3370
|
-
"multiple": false,
|
|
3371
|
-
"type": "option"
|
|
3372
|
-
}
|
|
3373
|
-
},
|
|
3374
|
-
"hasDynamicHelp": false,
|
|
3375
|
-
"hiddenAliases": [],
|
|
3376
|
-
"id": "sql-audit",
|
|
3377
|
-
"pluginAlias": "@memberjunction/cli",
|
|
3378
|
-
"pluginName": "@memberjunction/cli",
|
|
3379
|
-
"pluginType": "core",
|
|
3380
|
-
"strict": true,
|
|
3381
|
-
"enableJsonFlag": false,
|
|
3382
|
-
"isESM": true,
|
|
3383
|
-
"relativePath": [
|
|
3384
|
-
"dist",
|
|
3385
|
-
"commands",
|
|
3386
|
-
"sql-audit",
|
|
3387
|
-
"index.js"
|
|
3388
|
-
]
|
|
3389
|
-
},
|
|
3390
|
-
"sql-audit:usage": {
|
|
3391
|
-
"aliases": [],
|
|
3392
|
-
"args": {},
|
|
3393
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj sql-audit` command.",
|
|
3394
|
-
"flags": {
|
|
3395
|
-
"format": {
|
|
3396
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3397
|
-
"name": "format",
|
|
3398
|
-
"hasDynamicHelp": false,
|
|
3399
|
-
"multiple": false,
|
|
3400
|
-
"options": [
|
|
3401
|
-
"text",
|
|
3402
|
-
"json",
|
|
3403
|
-
"md"
|
|
3404
|
-
],
|
|
3405
|
-
"type": "option"
|
|
3406
|
-
}
|
|
3407
|
-
},
|
|
3408
|
-
"hasDynamicHelp": false,
|
|
3409
|
-
"hiddenAliases": [],
|
|
3410
|
-
"id": "sql-audit:usage",
|
|
3411
|
-
"pluginAlias": "@memberjunction/cli",
|
|
3412
|
-
"pluginName": "@memberjunction/cli",
|
|
3413
|
-
"pluginType": "core",
|
|
3414
|
-
"strict": true,
|
|
3415
|
-
"enableJsonFlag": false,
|
|
3416
|
-
"isESM": true,
|
|
3417
|
-
"relativePath": [
|
|
3418
|
-
"dist",
|
|
3419
|
-
"commands",
|
|
3420
|
-
"sql-audit",
|
|
3421
|
-
"usage.js"
|
|
3422
|
-
]
|
|
3423
|
-
},
|
|
3424
3424
|
"sql-convert": {
|
|
3425
3425
|
"aliases": [],
|
|
3426
3426
|
"args": {
|
|
@@ -4510,57 +4510,362 @@
|
|
|
4510
4510
|
"watch.js"
|
|
4511
4511
|
]
|
|
4512
4512
|
},
|
|
4513
|
-
"
|
|
4513
|
+
"translate-sql": {
|
|
4514
4514
|
"aliases": [],
|
|
4515
|
-
"args": {
|
|
4516
|
-
|
|
4517
|
-
"description": "First test run ID to compare",
|
|
4518
|
-
"name": "runId1",
|
|
4519
|
-
"required": false
|
|
4520
|
-
},
|
|
4521
|
-
"runId2": {
|
|
4522
|
-
"description": "Second test run ID to compare",
|
|
4523
|
-
"name": "runId2",
|
|
4524
|
-
"required": false
|
|
4525
|
-
}
|
|
4526
|
-
},
|
|
4527
|
-
"description": "Compare test runs for regression detection",
|
|
4515
|
+
"args": {},
|
|
4516
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
4528
4517
|
"examples": [
|
|
4529
|
-
"<%= config.bin %>
|
|
4530
|
-
"<%= config.bin %>
|
|
4531
|
-
"<%= config.bin %>
|
|
4532
|
-
"<%= config.bin %>
|
|
4533
|
-
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
4534
|
-
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
4535
|
-
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
4518
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
4519
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
4520
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
4521
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
4536
4522
|
],
|
|
4537
4523
|
"flags": {
|
|
4538
|
-
"
|
|
4539
|
-
"
|
|
4540
|
-
"
|
|
4541
|
-
"
|
|
4524
|
+
"from": {
|
|
4525
|
+
"description": "Source SQL dialect",
|
|
4526
|
+
"name": "from",
|
|
4527
|
+
"required": true,
|
|
4542
4528
|
"hasDynamicHelp": false,
|
|
4543
|
-
"multiple":
|
|
4529
|
+
"multiple": false,
|
|
4530
|
+
"options": [
|
|
4531
|
+
"sqlserver",
|
|
4532
|
+
"postgresql"
|
|
4533
|
+
],
|
|
4544
4534
|
"type": "option"
|
|
4545
4535
|
},
|
|
4546
|
-
"
|
|
4547
|
-
"
|
|
4548
|
-
"
|
|
4549
|
-
"
|
|
4536
|
+
"to": {
|
|
4537
|
+
"description": "Target SQL dialect",
|
|
4538
|
+
"name": "to",
|
|
4539
|
+
"required": true,
|
|
4550
4540
|
"hasDynamicHelp": false,
|
|
4551
|
-
"multiple":
|
|
4541
|
+
"multiple": false,
|
|
4542
|
+
"options": [
|
|
4543
|
+
"sqlserver",
|
|
4544
|
+
"postgresql"
|
|
4545
|
+
],
|
|
4552
4546
|
"type": "option"
|
|
4553
4547
|
},
|
|
4554
|
-
"
|
|
4555
|
-
"description": "
|
|
4556
|
-
"name": "
|
|
4557
|
-
"
|
|
4558
|
-
"
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4548
|
+
"scope": {
|
|
4549
|
+
"description": "What to scan for translation",
|
|
4550
|
+
"name": "scope",
|
|
4551
|
+
"default": "all",
|
|
4552
|
+
"hasDynamicHelp": false,
|
|
4553
|
+
"multiple": false,
|
|
4554
|
+
"options": [
|
|
4555
|
+
"queries",
|
|
4556
|
+
"views",
|
|
4557
|
+
"filters",
|
|
4558
|
+
"all"
|
|
4559
|
+
],
|
|
4560
|
+
"type": "option"
|
|
4561
|
+
},
|
|
4562
|
+
"sql": {
|
|
4563
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
4564
|
+
"name": "sql",
|
|
4565
|
+
"hasDynamicHelp": false,
|
|
4566
|
+
"multiple": false,
|
|
4567
|
+
"type": "option"
|
|
4568
|
+
},
|
|
4569
|
+
"dry-run": {
|
|
4570
|
+
"description": "Show what would be translated without making changes",
|
|
4571
|
+
"name": "dry-run",
|
|
4572
|
+
"allowNo": false,
|
|
4573
|
+
"type": "boolean"
|
|
4574
|
+
},
|
|
4575
|
+
"review": {
|
|
4576
|
+
"description": "Generate review report only (no writes to database)",
|
|
4577
|
+
"name": "review",
|
|
4578
|
+
"allowNo": false,
|
|
4579
|
+
"type": "boolean"
|
|
4580
|
+
},
|
|
4581
|
+
"output": {
|
|
4582
|
+
"char": "o",
|
|
4583
|
+
"description": "Output directory for the translation report",
|
|
4584
|
+
"name": "output",
|
|
4585
|
+
"hasDynamicHelp": false,
|
|
4586
|
+
"multiple": false,
|
|
4587
|
+
"type": "option"
|
|
4588
|
+
},
|
|
4589
|
+
"force": {
|
|
4590
|
+
"description": "Re-translate even if platform variants already exist",
|
|
4591
|
+
"name": "force",
|
|
4592
|
+
"allowNo": false,
|
|
4593
|
+
"type": "boolean"
|
|
4594
|
+
}
|
|
4595
|
+
},
|
|
4596
|
+
"hasDynamicHelp": false,
|
|
4597
|
+
"hiddenAliases": [],
|
|
4598
|
+
"id": "translate-sql",
|
|
4599
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4600
|
+
"pluginName": "@memberjunction/cli",
|
|
4601
|
+
"pluginType": "core",
|
|
4602
|
+
"strict": true,
|
|
4603
|
+
"enableJsonFlag": false,
|
|
4604
|
+
"isESM": true,
|
|
4605
|
+
"relativePath": [
|
|
4606
|
+
"dist",
|
|
4607
|
+
"commands",
|
|
4608
|
+
"translate-sql",
|
|
4609
|
+
"index.js"
|
|
4610
|
+
]
|
|
4611
|
+
},
|
|
4612
|
+
"translate-sql:usage": {
|
|
4613
|
+
"aliases": [],
|
|
4614
|
+
"args": {},
|
|
4615
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj translate-sql` command.",
|
|
4616
|
+
"flags": {
|
|
4617
|
+
"format": {
|
|
4618
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4619
|
+
"name": "format",
|
|
4620
|
+
"hasDynamicHelp": false,
|
|
4621
|
+
"multiple": false,
|
|
4622
|
+
"options": [
|
|
4623
|
+
"text",
|
|
4624
|
+
"json",
|
|
4625
|
+
"md"
|
|
4626
|
+
],
|
|
4627
|
+
"type": "option"
|
|
4628
|
+
}
|
|
4629
|
+
},
|
|
4630
|
+
"hasDynamicHelp": false,
|
|
4631
|
+
"hiddenAliases": [],
|
|
4632
|
+
"id": "translate-sql:usage",
|
|
4633
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4634
|
+
"pluginName": "@memberjunction/cli",
|
|
4635
|
+
"pluginType": "core",
|
|
4636
|
+
"strict": true,
|
|
4637
|
+
"enableJsonFlag": false,
|
|
4638
|
+
"isESM": true,
|
|
4639
|
+
"relativePath": [
|
|
4640
|
+
"dist",
|
|
4641
|
+
"commands",
|
|
4642
|
+
"translate-sql",
|
|
4643
|
+
"usage.js"
|
|
4644
|
+
]
|
|
4645
|
+
},
|
|
4646
|
+
"update:claude": {
|
|
4647
|
+
"aliases": [],
|
|
4648
|
+
"args": {},
|
|
4649
|
+
"description": "Update the Claude Code pack in the current directory.",
|
|
4650
|
+
"examples": [
|
|
4651
|
+
"<%= config.bin %> update:claude",
|
|
4652
|
+
"<%= config.bin %> update:claude --check",
|
|
4653
|
+
"<%= config.bin %> update:claude --refresh-commands",
|
|
4654
|
+
"<%= config.bin %> update:claude --allow-major",
|
|
4655
|
+
"<%= config.bin %> update:claude --json"
|
|
4656
|
+
],
|
|
4657
|
+
"flags": {
|
|
4658
|
+
"dir": {
|
|
4659
|
+
"description": "Target directory",
|
|
4660
|
+
"name": "dir",
|
|
4661
|
+
"default": ".",
|
|
4662
|
+
"hasDynamicHelp": false,
|
|
4663
|
+
"multiple": false,
|
|
4664
|
+
"type": "option"
|
|
4665
|
+
},
|
|
4666
|
+
"major": {
|
|
4667
|
+
"description": "Force a specific MJ major (default: detected from package.json)",
|
|
4668
|
+
"name": "major",
|
|
4669
|
+
"hasDynamicHelp": false,
|
|
4670
|
+
"multiple": false,
|
|
4671
|
+
"type": "option"
|
|
4672
|
+
},
|
|
4673
|
+
"ref": {
|
|
4674
|
+
"description": "Git ref to fetch from (branch or tag). Default: main.",
|
|
4675
|
+
"name": "ref",
|
|
4676
|
+
"hasDynamicHelp": false,
|
|
4677
|
+
"multiple": false,
|
|
4678
|
+
"type": "option"
|
|
4679
|
+
},
|
|
4680
|
+
"from": {
|
|
4681
|
+
"description": "Use a local pack source instead of fetching from GitHub",
|
|
4682
|
+
"name": "from",
|
|
4683
|
+
"hasDynamicHelp": false,
|
|
4684
|
+
"multiple": false,
|
|
4685
|
+
"type": "option"
|
|
4686
|
+
},
|
|
4687
|
+
"offline": {
|
|
4688
|
+
"description": "Forbid network; requires --from <path>",
|
|
4689
|
+
"name": "offline",
|
|
4690
|
+
"allowNo": false,
|
|
4691
|
+
"type": "boolean"
|
|
4692
|
+
},
|
|
4693
|
+
"dry-run": {
|
|
4694
|
+
"description": "Print what would be written; change nothing",
|
|
4695
|
+
"name": "dry-run",
|
|
4696
|
+
"allowNo": false,
|
|
4697
|
+
"type": "boolean"
|
|
4698
|
+
},
|
|
4699
|
+
"yes": {
|
|
4700
|
+
"char": "y",
|
|
4701
|
+
"description": "Don't prompt (reserved for future interactive paths; currently no-op)",
|
|
4702
|
+
"name": "yes",
|
|
4703
|
+
"allowNo": false,
|
|
4704
|
+
"type": "boolean"
|
|
4705
|
+
},
|
|
4706
|
+
"force": {
|
|
4707
|
+
"description": "Overwrite user-customized commands/skills (saves .bak files)",
|
|
4708
|
+
"name": "force",
|
|
4709
|
+
"allowNo": false,
|
|
4710
|
+
"type": "boolean"
|
|
4711
|
+
},
|
|
4712
|
+
"skip-commands": {
|
|
4713
|
+
"description": "Skip seeding .claude/commands/",
|
|
4714
|
+
"name": "skip-commands",
|
|
4715
|
+
"allowNo": false,
|
|
4716
|
+
"type": "boolean"
|
|
4717
|
+
},
|
|
4718
|
+
"skip-skills": {
|
|
4719
|
+
"description": "Skip seeding .claude/skills/",
|
|
4720
|
+
"name": "skip-skills",
|
|
4721
|
+
"allowNo": false,
|
|
4722
|
+
"type": "boolean"
|
|
4723
|
+
},
|
|
4724
|
+
"skip-settings": {
|
|
4725
|
+
"description": "Skip merging .claude/settings.json",
|
|
4726
|
+
"name": "skip-settings",
|
|
4727
|
+
"allowNo": false,
|
|
4728
|
+
"type": "boolean"
|
|
4729
|
+
},
|
|
4730
|
+
"check": {
|
|
4731
|
+
"description": "Compare local pack version to remote without writing anything",
|
|
4732
|
+
"name": "check",
|
|
4733
|
+
"allowNo": false,
|
|
4734
|
+
"type": "boolean"
|
|
4735
|
+
},
|
|
4736
|
+
"refresh-commands": {
|
|
4737
|
+
"description": "Force-resync .claude/commands/* from the pack (saves .bak files)",
|
|
4738
|
+
"name": "refresh-commands",
|
|
4739
|
+
"allowNo": false,
|
|
4740
|
+
"type": "boolean"
|
|
4741
|
+
},
|
|
4742
|
+
"refresh-skills": {
|
|
4743
|
+
"description": "Force-resync .claude/skills/** from the pack (saves .bak files)",
|
|
4744
|
+
"name": "refresh-skills",
|
|
4745
|
+
"allowNo": false,
|
|
4746
|
+
"type": "boolean"
|
|
4747
|
+
},
|
|
4748
|
+
"allow-major": {
|
|
4749
|
+
"description": "Allow the remote pack's major to differ from local MJ's major",
|
|
4750
|
+
"name": "allow-major",
|
|
4751
|
+
"allowNo": false,
|
|
4752
|
+
"type": "boolean"
|
|
4753
|
+
},
|
|
4754
|
+
"json": {
|
|
4755
|
+
"description": "Output as JSON (matches plan §7.5 schema)",
|
|
4756
|
+
"name": "json",
|
|
4757
|
+
"allowNo": false,
|
|
4758
|
+
"type": "boolean"
|
|
4759
|
+
},
|
|
4760
|
+
"verbose": {
|
|
4761
|
+
"char": "v",
|
|
4762
|
+
"description": "Show progress messages",
|
|
4763
|
+
"name": "verbose",
|
|
4764
|
+
"allowNo": false,
|
|
4765
|
+
"type": "boolean"
|
|
4766
|
+
}
|
|
4767
|
+
},
|
|
4768
|
+
"hasDynamicHelp": false,
|
|
4769
|
+
"hiddenAliases": [],
|
|
4770
|
+
"id": "update:claude",
|
|
4771
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4772
|
+
"pluginName": "@memberjunction/cli",
|
|
4773
|
+
"pluginType": "core",
|
|
4774
|
+
"strict": true,
|
|
4775
|
+
"enableJsonFlag": false,
|
|
4776
|
+
"isESM": true,
|
|
4777
|
+
"relativePath": [
|
|
4778
|
+
"dist",
|
|
4779
|
+
"commands",
|
|
4780
|
+
"update",
|
|
4781
|
+
"claude.js"
|
|
4782
|
+
]
|
|
4783
|
+
},
|
|
4784
|
+
"update:usage": {
|
|
4785
|
+
"aliases": [],
|
|
4786
|
+
"args": {},
|
|
4787
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj update` command.",
|
|
4788
|
+
"flags": {
|
|
4789
|
+
"format": {
|
|
4790
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4791
|
+
"name": "format",
|
|
4792
|
+
"hasDynamicHelp": false,
|
|
4793
|
+
"multiple": false,
|
|
4794
|
+
"options": [
|
|
4795
|
+
"text",
|
|
4796
|
+
"json",
|
|
4797
|
+
"md"
|
|
4798
|
+
],
|
|
4799
|
+
"type": "option"
|
|
4800
|
+
}
|
|
4801
|
+
},
|
|
4802
|
+
"hasDynamicHelp": false,
|
|
4803
|
+
"hiddenAliases": [],
|
|
4804
|
+
"id": "update:usage",
|
|
4805
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4806
|
+
"pluginName": "@memberjunction/cli",
|
|
4807
|
+
"pluginType": "core",
|
|
4808
|
+
"strict": true,
|
|
4809
|
+
"enableJsonFlag": false,
|
|
4810
|
+
"isESM": true,
|
|
4811
|
+
"relativePath": [
|
|
4812
|
+
"dist",
|
|
4813
|
+
"commands",
|
|
4814
|
+
"update",
|
|
4815
|
+
"usage.js"
|
|
4816
|
+
]
|
|
4817
|
+
},
|
|
4818
|
+
"test:compare": {
|
|
4819
|
+
"aliases": [],
|
|
4820
|
+
"args": {
|
|
4821
|
+
"runId1": {
|
|
4822
|
+
"description": "First test run ID to compare",
|
|
4823
|
+
"name": "runId1",
|
|
4824
|
+
"required": false
|
|
4825
|
+
},
|
|
4826
|
+
"runId2": {
|
|
4827
|
+
"description": "Second test run ID to compare",
|
|
4828
|
+
"name": "runId2",
|
|
4829
|
+
"required": false
|
|
4830
|
+
}
|
|
4831
|
+
},
|
|
4832
|
+
"description": "Compare test runs for regression detection",
|
|
4833
|
+
"examples": [
|
|
4834
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4835
|
+
"<%= config.bin %> <%= command.id %> --latest",
|
|
4836
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
4837
|
+
"<%= config.bin %> <%= command.id %> -v 5.17.0 -v 5.18.0",
|
|
4838
|
+
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
4839
|
+
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
4840
|
+
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
4841
|
+
],
|
|
4842
|
+
"flags": {
|
|
4843
|
+
"version": {
|
|
4844
|
+
"char": "v",
|
|
4845
|
+
"description": "Compare runs by version",
|
|
4846
|
+
"name": "version",
|
|
4847
|
+
"hasDynamicHelp": false,
|
|
4848
|
+
"multiple": true,
|
|
4849
|
+
"type": "option"
|
|
4850
|
+
},
|
|
4851
|
+
"commit": {
|
|
4852
|
+
"char": "c",
|
|
4853
|
+
"description": "Compare runs by git commit",
|
|
4854
|
+
"name": "commit",
|
|
4855
|
+
"hasDynamicHelp": false,
|
|
4856
|
+
"multiple": true,
|
|
4857
|
+
"type": "option"
|
|
4858
|
+
},
|
|
4859
|
+
"diff-only": {
|
|
4860
|
+
"description": "Show only differences",
|
|
4861
|
+
"name": "diff-only",
|
|
4862
|
+
"allowNo": false,
|
|
4863
|
+
"type": "boolean"
|
|
4864
|
+
},
|
|
4865
|
+
"latest": {
|
|
4866
|
+
"char": "l",
|
|
4867
|
+
"description": "Compare the two most recent completed suite runs",
|
|
4868
|
+
"name": "latest",
|
|
4564
4869
|
"allowNo": false,
|
|
4565
4870
|
"type": "boolean"
|
|
4566
4871
|
},
|
|
@@ -5022,264 +5327,42 @@
|
|
|
5022
5327
|
"char": "p",
|
|
5023
5328
|
"description": "Run tests in parallel with shared browser sessions",
|
|
5024
5329
|
"name": "parallel",
|
|
5025
|
-
"allowNo": false,
|
|
5026
|
-
"type": "boolean"
|
|
5027
|
-
},
|
|
5028
|
-
"max-parallel": {
|
|
5029
|
-
"description": "Maximum number of parallel workers (default 4)",
|
|
5030
|
-
"name": "max-parallel",
|
|
5031
|
-
"default": 4,
|
|
5032
|
-
"hasDynamicHelp": false,
|
|
5033
|
-
"multiple": false,
|
|
5034
|
-
"type": "option"
|
|
5035
|
-
},
|
|
5036
|
-
"flaky-check": {
|
|
5037
|
-
"description": "Run each test N times to detect flakiness (variance > 0.3 or mixed pass/fail = flaky). Recommended: 3 or 5",
|
|
5038
|
-
"name": "flaky-check",
|
|
5039
|
-
"hasDynamicHelp": false,
|
|
5040
|
-
"multiple": false,
|
|
5041
|
-
"type": "option"
|
|
5042
|
-
},
|
|
5043
|
-
"checks-module": {
|
|
5044
|
-
"description": "Module specifier (package name or path) side-effect-imported before the run so its integration check bundles register on the IntegrationCheckRegistry. Durable form: mj.config.cjs `testing.checkModules` (this repo loads '@memberjunction/integration-test-suite' that way).",
|
|
5045
|
-
"name": "checks-module",
|
|
5046
|
-
"hasDynamicHelp": false,
|
|
5047
|
-
"multiple": false,
|
|
5048
|
-
"type": "option"
|
|
5049
|
-
},
|
|
5050
|
-
"oracles-module": {
|
|
5051
|
-
"description": "Path to a JS/TS module that exports custom IOracle classes or instances. Each export is registered on the engine before the suite runs — used by non-MJ adopters to plug app-specific oracle types without modifying TestingFramework.",
|
|
5052
|
-
"name": "oracles-module",
|
|
5053
|
-
"hasDynamicHelp": false,
|
|
5054
|
-
"multiple": false,
|
|
5055
|
-
"type": "option"
|
|
5056
|
-
}
|
|
5057
|
-
},
|
|
5058
|
-
"hasDynamicHelp": false,
|
|
5059
|
-
"hiddenAliases": [],
|
|
5060
|
-
"id": "test:suite",
|
|
5061
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5062
|
-
"pluginName": "@memberjunction/cli",
|
|
5063
|
-
"pluginType": "core",
|
|
5064
|
-
"strict": true,
|
|
5065
|
-
"enableJsonFlag": false,
|
|
5066
|
-
"isESM": true,
|
|
5067
|
-
"relativePath": [
|
|
5068
|
-
"dist",
|
|
5069
|
-
"commands",
|
|
5070
|
-
"test",
|
|
5071
|
-
"suite.js"
|
|
5072
|
-
]
|
|
5073
|
-
},
|
|
5074
|
-
"test:usage": {
|
|
5075
|
-
"aliases": [],
|
|
5076
|
-
"args": {},
|
|
5077
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj test` command.",
|
|
5078
|
-
"flags": {
|
|
5079
|
-
"format": {
|
|
5080
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5081
|
-
"name": "format",
|
|
5082
|
-
"hasDynamicHelp": false,
|
|
5083
|
-
"multiple": false,
|
|
5084
|
-
"options": [
|
|
5085
|
-
"text",
|
|
5086
|
-
"json",
|
|
5087
|
-
"md"
|
|
5088
|
-
],
|
|
5089
|
-
"type": "option"
|
|
5090
|
-
}
|
|
5091
|
-
},
|
|
5092
|
-
"hasDynamicHelp": false,
|
|
5093
|
-
"hiddenAliases": [],
|
|
5094
|
-
"id": "test:usage",
|
|
5095
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5096
|
-
"pluginName": "@memberjunction/cli",
|
|
5097
|
-
"pluginType": "core",
|
|
5098
|
-
"strict": true,
|
|
5099
|
-
"enableJsonFlag": false,
|
|
5100
|
-
"isESM": true,
|
|
5101
|
-
"relativePath": [
|
|
5102
|
-
"dist",
|
|
5103
|
-
"commands",
|
|
5104
|
-
"test",
|
|
5105
|
-
"usage.js"
|
|
5106
|
-
]
|
|
5107
|
-
},
|
|
5108
|
-
"test:validate": {
|
|
5109
|
-
"aliases": [],
|
|
5110
|
-
"args": {
|
|
5111
|
-
"testId": {
|
|
5112
|
-
"description": "Test ID to validate",
|
|
5113
|
-
"name": "testId",
|
|
5114
|
-
"required": false
|
|
5115
|
-
}
|
|
5116
|
-
},
|
|
5117
|
-
"description": "Validate test definitions without executing",
|
|
5118
|
-
"examples": [
|
|
5119
|
-
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
5120
|
-
"<%= config.bin %> <%= command.id %> --all",
|
|
5121
|
-
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
5122
|
-
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
5123
|
-
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
5124
|
-
],
|
|
5125
|
-
"flags": {
|
|
5126
|
-
"all": {
|
|
5127
|
-
"char": "a",
|
|
5128
|
-
"description": "Validate all tests",
|
|
5129
|
-
"name": "all",
|
|
5130
|
-
"allowNo": false,
|
|
5131
|
-
"type": "boolean"
|
|
5132
|
-
},
|
|
5133
|
-
"type": {
|
|
5134
|
-
"char": "t",
|
|
5135
|
-
"description": "Validate tests by type",
|
|
5136
|
-
"name": "type",
|
|
5137
|
-
"hasDynamicHelp": false,
|
|
5138
|
-
"multiple": false,
|
|
5139
|
-
"type": "option"
|
|
5140
|
-
},
|
|
5141
|
-
"save-report": {
|
|
5142
|
-
"description": "Save validation report to file",
|
|
5143
|
-
"name": "save-report",
|
|
5144
|
-
"allowNo": false,
|
|
5145
|
-
"type": "boolean"
|
|
5146
|
-
},
|
|
5147
|
-
"format": {
|
|
5148
|
-
"char": "f",
|
|
5149
|
-
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5150
|
-
"name": "format",
|
|
5151
|
-
"hasDynamicHelp": false,
|
|
5152
|
-
"multiple": false,
|
|
5153
|
-
"options": [
|
|
5154
|
-
"text",
|
|
5155
|
-
"json",
|
|
5156
|
-
"md",
|
|
5157
|
-
"human",
|
|
5158
|
-
"console",
|
|
5159
|
-
"markdown",
|
|
5160
|
-
"compact",
|
|
5161
|
-
"table"
|
|
5162
|
-
],
|
|
5163
|
-
"type": "option"
|
|
5164
|
-
},
|
|
5165
|
-
"output": {
|
|
5166
|
-
"char": "o",
|
|
5167
|
-
"description": "Output file path",
|
|
5168
|
-
"name": "output",
|
|
5169
|
-
"hasDynamicHelp": false,
|
|
5170
|
-
"multiple": false,
|
|
5171
|
-
"type": "option"
|
|
5172
|
-
},
|
|
5173
|
-
"verbose": {
|
|
5174
|
-
"char": "v",
|
|
5175
|
-
"description": "Show detailed information",
|
|
5176
|
-
"name": "verbose",
|
|
5177
|
-
"allowNo": false,
|
|
5178
|
-
"type": "boolean"
|
|
5179
|
-
}
|
|
5180
|
-
},
|
|
5181
|
-
"hasDynamicHelp": false,
|
|
5182
|
-
"hiddenAliases": [],
|
|
5183
|
-
"id": "test:validate",
|
|
5184
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5185
|
-
"pluginName": "@memberjunction/cli",
|
|
5186
|
-
"pluginType": "core",
|
|
5187
|
-
"strict": true,
|
|
5188
|
-
"enableJsonFlag": false,
|
|
5189
|
-
"isESM": true,
|
|
5190
|
-
"relativePath": [
|
|
5191
|
-
"dist",
|
|
5192
|
-
"commands",
|
|
5193
|
-
"test",
|
|
5194
|
-
"validate.js"
|
|
5195
|
-
]
|
|
5196
|
-
},
|
|
5197
|
-
"translate-sql": {
|
|
5198
|
-
"aliases": [],
|
|
5199
|
-
"args": {},
|
|
5200
|
-
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
5201
|
-
"examples": [
|
|
5202
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
5203
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
5204
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
5205
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
5206
|
-
],
|
|
5207
|
-
"flags": {
|
|
5208
|
-
"from": {
|
|
5209
|
-
"description": "Source SQL dialect",
|
|
5210
|
-
"name": "from",
|
|
5211
|
-
"required": true,
|
|
5212
|
-
"hasDynamicHelp": false,
|
|
5213
|
-
"multiple": false,
|
|
5214
|
-
"options": [
|
|
5215
|
-
"sqlserver",
|
|
5216
|
-
"postgresql"
|
|
5217
|
-
],
|
|
5218
|
-
"type": "option"
|
|
5219
|
-
},
|
|
5220
|
-
"to": {
|
|
5221
|
-
"description": "Target SQL dialect",
|
|
5222
|
-
"name": "to",
|
|
5223
|
-
"required": true,
|
|
5330
|
+
"allowNo": false,
|
|
5331
|
+
"type": "boolean"
|
|
5332
|
+
},
|
|
5333
|
+
"max-parallel": {
|
|
5334
|
+
"description": "Maximum number of parallel workers (default 4)",
|
|
5335
|
+
"name": "max-parallel",
|
|
5336
|
+
"default": 4,
|
|
5224
5337
|
"hasDynamicHelp": false,
|
|
5225
5338
|
"multiple": false,
|
|
5226
|
-
"options": [
|
|
5227
|
-
"sqlserver",
|
|
5228
|
-
"postgresql"
|
|
5229
|
-
],
|
|
5230
5339
|
"type": "option"
|
|
5231
5340
|
},
|
|
5232
|
-
"
|
|
5233
|
-
"description": "
|
|
5234
|
-
"name": "
|
|
5235
|
-
"default": "all",
|
|
5341
|
+
"flaky-check": {
|
|
5342
|
+
"description": "Run each test N times to detect flakiness (variance > 0.3 or mixed pass/fail = flaky). Recommended: 3 or 5",
|
|
5343
|
+
"name": "flaky-check",
|
|
5236
5344
|
"hasDynamicHelp": false,
|
|
5237
5345
|
"multiple": false,
|
|
5238
|
-
"options": [
|
|
5239
|
-
"queries",
|
|
5240
|
-
"views",
|
|
5241
|
-
"filters",
|
|
5242
|
-
"all"
|
|
5243
|
-
],
|
|
5244
5346
|
"type": "option"
|
|
5245
5347
|
},
|
|
5246
|
-
"
|
|
5247
|
-
"description": "
|
|
5248
|
-
"name": "
|
|
5348
|
+
"checks-module": {
|
|
5349
|
+
"description": "Module specifier (package name or path) side-effect-imported before the run so its integration check bundles register on the IntegrationCheckRegistry. Durable form: mj.config.cjs `testing.checkModules` (this repo loads '@memberjunction/integration-test-suite' that way).",
|
|
5350
|
+
"name": "checks-module",
|
|
5249
5351
|
"hasDynamicHelp": false,
|
|
5250
5352
|
"multiple": false,
|
|
5251
5353
|
"type": "option"
|
|
5252
5354
|
},
|
|
5253
|
-
"
|
|
5254
|
-
"description": "
|
|
5255
|
-
"name": "
|
|
5256
|
-
"allowNo": false,
|
|
5257
|
-
"type": "boolean"
|
|
5258
|
-
},
|
|
5259
|
-
"review": {
|
|
5260
|
-
"description": "Generate review report only (no writes to database)",
|
|
5261
|
-
"name": "review",
|
|
5262
|
-
"allowNo": false,
|
|
5263
|
-
"type": "boolean"
|
|
5264
|
-
},
|
|
5265
|
-
"output": {
|
|
5266
|
-
"char": "o",
|
|
5267
|
-
"description": "Output directory for the translation report",
|
|
5268
|
-
"name": "output",
|
|
5355
|
+
"oracles-module": {
|
|
5356
|
+
"description": "Path to a JS/TS module that exports custom IOracle classes or instances. Each export is registered on the engine before the suite runs — used by non-MJ adopters to plug app-specific oracle types without modifying TestingFramework.",
|
|
5357
|
+
"name": "oracles-module",
|
|
5269
5358
|
"hasDynamicHelp": false,
|
|
5270
5359
|
"multiple": false,
|
|
5271
5360
|
"type": "option"
|
|
5272
|
-
},
|
|
5273
|
-
"force": {
|
|
5274
|
-
"description": "Re-translate even if platform variants already exist",
|
|
5275
|
-
"name": "force",
|
|
5276
|
-
"allowNo": false,
|
|
5277
|
-
"type": "boolean"
|
|
5278
5361
|
}
|
|
5279
5362
|
},
|
|
5280
5363
|
"hasDynamicHelp": false,
|
|
5281
5364
|
"hiddenAliases": [],
|
|
5282
|
-
"id": "
|
|
5365
|
+
"id": "test:suite",
|
|
5283
5366
|
"pluginAlias": "@memberjunction/cli",
|
|
5284
5367
|
"pluginName": "@memberjunction/cli",
|
|
5285
5368
|
"pluginType": "core",
|
|
@@ -5289,14 +5372,14 @@
|
|
|
5289
5372
|
"relativePath": [
|
|
5290
5373
|
"dist",
|
|
5291
5374
|
"commands",
|
|
5292
|
-
"
|
|
5293
|
-
"
|
|
5375
|
+
"test",
|
|
5376
|
+
"suite.js"
|
|
5294
5377
|
]
|
|
5295
5378
|
},
|
|
5296
|
-
"
|
|
5379
|
+
"test:usage": {
|
|
5297
5380
|
"aliases": [],
|
|
5298
5381
|
"args": {},
|
|
5299
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj
|
|
5382
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj test` command.",
|
|
5300
5383
|
"flags": {
|
|
5301
5384
|
"format": {
|
|
5302
5385
|
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
@@ -5313,7 +5396,7 @@
|
|
|
5313
5396
|
},
|
|
5314
5397
|
"hasDynamicHelp": false,
|
|
5315
5398
|
"hiddenAliases": [],
|
|
5316
|
-
"id": "
|
|
5399
|
+
"id": "test:usage",
|
|
5317
5400
|
"pluginAlias": "@memberjunction/cli",
|
|
5318
5401
|
"pluginName": "@memberjunction/cli",
|
|
5319
5402
|
"pluginType": "core",
|
|
@@ -5323,127 +5406,78 @@
|
|
|
5323
5406
|
"relativePath": [
|
|
5324
5407
|
"dist",
|
|
5325
5408
|
"commands",
|
|
5326
|
-
"
|
|
5409
|
+
"test",
|
|
5327
5410
|
"usage.js"
|
|
5328
5411
|
]
|
|
5329
5412
|
},
|
|
5330
|
-
"
|
|
5413
|
+
"test:validate": {
|
|
5331
5414
|
"aliases": [],
|
|
5332
|
-
"args": {
|
|
5333
|
-
|
|
5415
|
+
"args": {
|
|
5416
|
+
"testId": {
|
|
5417
|
+
"description": "Test ID to validate",
|
|
5418
|
+
"name": "testId",
|
|
5419
|
+
"required": false
|
|
5420
|
+
}
|
|
5421
|
+
},
|
|
5422
|
+
"description": "Validate test definitions without executing",
|
|
5334
5423
|
"examples": [
|
|
5335
|
-
"<%= config.bin %>
|
|
5336
|
-
"<%= config.bin %>
|
|
5337
|
-
"<%= config.bin %>
|
|
5338
|
-
"<%= config.bin %>
|
|
5339
|
-
"<%= config.bin %>
|
|
5424
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
5425
|
+
"<%= config.bin %> <%= command.id %> --all",
|
|
5426
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
5427
|
+
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
5428
|
+
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
5340
5429
|
],
|
|
5341
5430
|
"flags": {
|
|
5342
|
-
"
|
|
5343
|
-
"
|
|
5344
|
-
"
|
|
5345
|
-
"
|
|
5346
|
-
"
|
|
5347
|
-
"
|
|
5348
|
-
"type": "option"
|
|
5431
|
+
"all": {
|
|
5432
|
+
"char": "a",
|
|
5433
|
+
"description": "Validate all tests",
|
|
5434
|
+
"name": "all",
|
|
5435
|
+
"allowNo": false,
|
|
5436
|
+
"type": "boolean"
|
|
5349
5437
|
},
|
|
5350
|
-
"
|
|
5351
|
-
"
|
|
5352
|
-
"
|
|
5438
|
+
"type": {
|
|
5439
|
+
"char": "t",
|
|
5440
|
+
"description": "Validate tests by type",
|
|
5441
|
+
"name": "type",
|
|
5353
5442
|
"hasDynamicHelp": false,
|
|
5354
5443
|
"multiple": false,
|
|
5355
5444
|
"type": "option"
|
|
5356
5445
|
},
|
|
5357
|
-
"
|
|
5358
|
-
"description": "
|
|
5359
|
-
"name": "
|
|
5446
|
+
"save-report": {
|
|
5447
|
+
"description": "Save validation report to file",
|
|
5448
|
+
"name": "save-report",
|
|
5449
|
+
"allowNo": false,
|
|
5450
|
+
"type": "boolean"
|
|
5451
|
+
},
|
|
5452
|
+
"format": {
|
|
5453
|
+
"char": "f",
|
|
5454
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5455
|
+
"name": "format",
|
|
5360
5456
|
"hasDynamicHelp": false,
|
|
5361
5457
|
"multiple": false,
|
|
5458
|
+
"options": [
|
|
5459
|
+
"text",
|
|
5460
|
+
"json",
|
|
5461
|
+
"md",
|
|
5462
|
+
"human",
|
|
5463
|
+
"console",
|
|
5464
|
+
"markdown",
|
|
5465
|
+
"compact",
|
|
5466
|
+
"table"
|
|
5467
|
+
],
|
|
5362
5468
|
"type": "option"
|
|
5363
5469
|
},
|
|
5364
|
-
"
|
|
5365
|
-
"
|
|
5366
|
-
"
|
|
5470
|
+
"output": {
|
|
5471
|
+
"char": "o",
|
|
5472
|
+
"description": "Output file path",
|
|
5473
|
+
"name": "output",
|
|
5367
5474
|
"hasDynamicHelp": false,
|
|
5368
5475
|
"multiple": false,
|
|
5369
5476
|
"type": "option"
|
|
5370
5477
|
},
|
|
5371
|
-
"offline": {
|
|
5372
|
-
"description": "Forbid network; requires --from <path>",
|
|
5373
|
-
"name": "offline",
|
|
5374
|
-
"allowNo": false,
|
|
5375
|
-
"type": "boolean"
|
|
5376
|
-
},
|
|
5377
|
-
"dry-run": {
|
|
5378
|
-
"description": "Print what would be written; change nothing",
|
|
5379
|
-
"name": "dry-run",
|
|
5380
|
-
"allowNo": false,
|
|
5381
|
-
"type": "boolean"
|
|
5382
|
-
},
|
|
5383
|
-
"yes": {
|
|
5384
|
-
"char": "y",
|
|
5385
|
-
"description": "Don't prompt (reserved for future interactive paths; currently no-op)",
|
|
5386
|
-
"name": "yes",
|
|
5387
|
-
"allowNo": false,
|
|
5388
|
-
"type": "boolean"
|
|
5389
|
-
},
|
|
5390
|
-
"force": {
|
|
5391
|
-
"description": "Overwrite user-customized commands/skills (saves .bak files)",
|
|
5392
|
-
"name": "force",
|
|
5393
|
-
"allowNo": false,
|
|
5394
|
-
"type": "boolean"
|
|
5395
|
-
},
|
|
5396
|
-
"skip-commands": {
|
|
5397
|
-
"description": "Skip seeding .claude/commands/",
|
|
5398
|
-
"name": "skip-commands",
|
|
5399
|
-
"allowNo": false,
|
|
5400
|
-
"type": "boolean"
|
|
5401
|
-
},
|
|
5402
|
-
"skip-skills": {
|
|
5403
|
-
"description": "Skip seeding .claude/skills/",
|
|
5404
|
-
"name": "skip-skills",
|
|
5405
|
-
"allowNo": false,
|
|
5406
|
-
"type": "boolean"
|
|
5407
|
-
},
|
|
5408
|
-
"skip-settings": {
|
|
5409
|
-
"description": "Skip merging .claude/settings.json",
|
|
5410
|
-
"name": "skip-settings",
|
|
5411
|
-
"allowNo": false,
|
|
5412
|
-
"type": "boolean"
|
|
5413
|
-
},
|
|
5414
|
-
"check": {
|
|
5415
|
-
"description": "Compare local pack version to remote without writing anything",
|
|
5416
|
-
"name": "check",
|
|
5417
|
-
"allowNo": false,
|
|
5418
|
-
"type": "boolean"
|
|
5419
|
-
},
|
|
5420
|
-
"refresh-commands": {
|
|
5421
|
-
"description": "Force-resync .claude/commands/* from the pack (saves .bak files)",
|
|
5422
|
-
"name": "refresh-commands",
|
|
5423
|
-
"allowNo": false,
|
|
5424
|
-
"type": "boolean"
|
|
5425
|
-
},
|
|
5426
|
-
"refresh-skills": {
|
|
5427
|
-
"description": "Force-resync .claude/skills/** from the pack (saves .bak files)",
|
|
5428
|
-
"name": "refresh-skills",
|
|
5429
|
-
"allowNo": false,
|
|
5430
|
-
"type": "boolean"
|
|
5431
|
-
},
|
|
5432
|
-
"allow-major": {
|
|
5433
|
-
"description": "Allow the remote pack's major to differ from local MJ's major",
|
|
5434
|
-
"name": "allow-major",
|
|
5435
|
-
"allowNo": false,
|
|
5436
|
-
"type": "boolean"
|
|
5437
|
-
},
|
|
5438
|
-
"json": {
|
|
5439
|
-
"description": "Output as JSON (matches plan §7.5 schema)",
|
|
5440
|
-
"name": "json",
|
|
5441
|
-
"allowNo": false,
|
|
5442
|
-
"type": "boolean"
|
|
5443
|
-
},
|
|
5444
5478
|
"verbose": {
|
|
5445
5479
|
"char": "v",
|
|
5446
|
-
"description": "Show
|
|
5480
|
+
"description": "Show detailed information",
|
|
5447
5481
|
"name": "verbose",
|
|
5448
5482
|
"allowNo": false,
|
|
5449
5483
|
"type": "boolean"
|
|
@@ -5451,41 +5485,7 @@
|
|
|
5451
5485
|
},
|
|
5452
5486
|
"hasDynamicHelp": false,
|
|
5453
5487
|
"hiddenAliases": [],
|
|
5454
|
-
"id": "
|
|
5455
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5456
|
-
"pluginName": "@memberjunction/cli",
|
|
5457
|
-
"pluginType": "core",
|
|
5458
|
-
"strict": true,
|
|
5459
|
-
"enableJsonFlag": false,
|
|
5460
|
-
"isESM": true,
|
|
5461
|
-
"relativePath": [
|
|
5462
|
-
"dist",
|
|
5463
|
-
"commands",
|
|
5464
|
-
"update",
|
|
5465
|
-
"claude.js"
|
|
5466
|
-
]
|
|
5467
|
-
},
|
|
5468
|
-
"update:usage": {
|
|
5469
|
-
"aliases": [],
|
|
5470
|
-
"args": {},
|
|
5471
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj update` command.",
|
|
5472
|
-
"flags": {
|
|
5473
|
-
"format": {
|
|
5474
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5475
|
-
"name": "format",
|
|
5476
|
-
"hasDynamicHelp": false,
|
|
5477
|
-
"multiple": false,
|
|
5478
|
-
"options": [
|
|
5479
|
-
"text",
|
|
5480
|
-
"json",
|
|
5481
|
-
"md"
|
|
5482
|
-
],
|
|
5483
|
-
"type": "option"
|
|
5484
|
-
}
|
|
5485
|
-
},
|
|
5486
|
-
"hasDynamicHelp": false,
|
|
5487
|
-
"hiddenAliases": [],
|
|
5488
|
-
"id": "update:usage",
|
|
5488
|
+
"id": "test:validate",
|
|
5489
5489
|
"pluginAlias": "@memberjunction/cli",
|
|
5490
5490
|
"pluginName": "@memberjunction/cli",
|
|
5491
5491
|
"pluginType": "core",
|
|
@@ -5495,8 +5495,8 @@
|
|
|
5495
5495
|
"relativePath": [
|
|
5496
5496
|
"dist",
|
|
5497
5497
|
"commands",
|
|
5498
|
-
"
|
|
5499
|
-
"
|
|
5498
|
+
"test",
|
|
5499
|
+
"validate.js"
|
|
5500
5500
|
]
|
|
5501
5501
|
},
|
|
5502
5502
|
"ai:actions:list": {
|
|
@@ -6862,5 +6862,5 @@
|
|
|
6862
6862
|
]
|
|
6863
6863
|
}
|
|
6864
6864
|
},
|
|
6865
|
-
"version": "6.1.
|
|
6865
|
+
"version": "6.1.5"
|
|
6866
6866
|
}
|