@memberjunction/cli 5.27.1 → 5.29.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.
|
@@ -8,6 +8,7 @@ export default class CodeGen extends Command {
|
|
|
8
8
|
}[];
|
|
9
9
|
static flags: {
|
|
10
10
|
skipdb: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
skipfiles: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
12
|
};
|
|
12
13
|
flags: ParserOutput<CodeGen>['flags'];
|
|
13
14
|
run(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/codegen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAGtE,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,OAAO;IAC1C,MAAM,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/codegen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAGtE,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,OAAO;IAC1C,MAAM,CAAC,WAAW,SAwBsD;IAExE,MAAM,CAAC,QAAQ;;;QAab;IAEF,MAAM,CAAC,KAAK;;;MAOV;IAEF,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;IAEhC,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAkB3B"}
|
|
@@ -18,7 +18,14 @@ DB_HOST, DB_DATABASE, CODEGEN_DB_USERNAME, CODEGEN_DB_PASSWORD.
|
|
|
18
18
|
|
|
19
19
|
Use --skipdb to skip all database operations (metadata sync, SQL object
|
|
20
20
|
generation) and only regenerate TypeScript, Angular, and GraphQL output from
|
|
21
|
-
existing metadata
|
|
21
|
+
existing metadata.
|
|
22
|
+
|
|
23
|
+
Use --skipfiles to skip all file-generation operations (TypeScript entities,
|
|
24
|
+
Angular components, GraphQL resolvers, action subclasses, DB schema JSON) and
|
|
25
|
+
only run database-side operations (metadata sync, SQL object generation,
|
|
26
|
+
permissions, custom SQL scripts).
|
|
27
|
+
|
|
28
|
+
--skipdb and --skipfiles are independent and can be combined in any mix.`; }
|
|
22
29
|
static { this.examples = [
|
|
23
30
|
{
|
|
24
31
|
command: '<%= config.bin %> <%= command.id %>',
|
|
@@ -28,11 +35,18 @@ existing metadata.`; }
|
|
|
28
35
|
command: '<%= config.bin %> <%= command.id %> --skipdb',
|
|
29
36
|
description: 'Regenerate code files without touching the database',
|
|
30
37
|
},
|
|
38
|
+
{
|
|
39
|
+
command: '<%= config.bin %> <%= command.id %> --skipfiles',
|
|
40
|
+
description: 'Run database-side operations only, without regenerating any code files',
|
|
41
|
+
},
|
|
31
42
|
]; }
|
|
32
43
|
static { this.flags = {
|
|
33
44
|
skipdb: Flags.boolean({
|
|
34
45
|
description: 'Skip database operations (metadata sync, SQL generation). Only regenerate TypeScript entities, Angular components, and GraphQL resolvers from existing metadata.',
|
|
35
46
|
}),
|
|
47
|
+
skipfiles: Flags.boolean({
|
|
48
|
+
description: 'Skip file-generation operations (TypeScript entities, Angular components, GraphQL resolvers, action subclasses, DB schema JSON). Only run database-side operations.',
|
|
49
|
+
}),
|
|
36
50
|
}; }
|
|
37
51
|
async run() {
|
|
38
52
|
const { runMemberJunctionCodeGeneration, initializeConfig } = await import('@memberjunction/codegen-lib');
|
|
@@ -44,8 +58,8 @@ existing metadata.`; }
|
|
|
44
58
|
}
|
|
45
59
|
// Initialize configuration
|
|
46
60
|
initializeConfig(process.cwd());
|
|
47
|
-
// Call the function with the determined
|
|
48
|
-
runMemberJunctionCodeGeneration(this.flags.
|
|
61
|
+
// Call the function with the determined arguments
|
|
62
|
+
runMemberJunctionCodeGeneration(this.flags.skipdb, this.flags.skipfiles);
|
|
49
63
|
}
|
|
50
64
|
}
|
|
51
65
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/codegen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,OAAO;aACnC,gBAAW,GAAG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/codegen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,OAAO;aACnC,gBAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;yEAwBkD,CAAC;aAEjE,aAAQ,GAAG;QAChB;YACE,OAAO,EAAE,qCAAqC;YAC9C,WAAW,EAAE,uCAAuC;SACrD;QACD;YACE,OAAO,EAAE,8CAA8C;YACvD,WAAW,EAAE,qDAAqD;SACnE;QACD;YACE,OAAO,EAAE,iDAAiD;YAC1D,WAAW,EAAE,wEAAwE;SACtF;KACF,CAAC;aAEK,UAAK,GAAG;QACb,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC;YACpB,WAAW,EAAE,kKAAkK;SAChL,CAAC;QACF,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC;YACvB,WAAW,EAAE,qKAAqK;SACnL,CAAC;KACH,CAAC;IAIF,KAAK,CAAC,GAAG;QACP,MAAM,EAAE,+BAA+B,EAAE,gBAAgB,EAAE,GAAG,MAAM,MAAM,CAAC,6BAA6B,CAAC,CAAC;QAE1G,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACzC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE1B,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;QAE/B,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,IAAI,CAAC,KAAK,CAAC,qGAAqG,CAAC,CAAC;QACpH,CAAC;QAED,2BAA2B;QAC3B,gBAAgB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;QAEhC,kDAAkD;QAClD,+BAA+B,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAC3E,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
"codegen": {
|
|
653
653
|
"aliases": [],
|
|
654
654
|
"args": {},
|
|
655
|
-
"description": "Run the full MemberJunction code generation pipeline.\n\nAnalyzes your SQL Server database schema, updates MemberJunction metadata, and\ngenerates synchronized code across the entire stack:\n\n - SQL views, stored procedures, indexes, and permissions\n - TypeScript entity classes with Zod validation schemas\n - Angular form components with AI-driven layouts\n - GraphQL resolvers and type definitions\n - Action subclasses and DB schema JSON\n\nConfiguration is loaded from mj.config.cjs in the current directory (or parent\ndirectories). Database connection can also be set via environment variables:\nDB_HOST, DB_DATABASE, CODEGEN_DB_USERNAME, CODEGEN_DB_PASSWORD.\n\nUse --skipdb to skip all database operations (metadata sync, SQL object\ngeneration) and only regenerate TypeScript, Angular, and GraphQL output from\nexisting metadata.",
|
|
655
|
+
"description": "Run the full MemberJunction code generation pipeline.\n\nAnalyzes your SQL Server database schema, updates MemberJunction metadata, and\ngenerates synchronized code across the entire stack:\n\n - SQL views, stored procedures, indexes, and permissions\n - TypeScript entity classes with Zod validation schemas\n - Angular form components with AI-driven layouts\n - GraphQL resolvers and type definitions\n - Action subclasses and DB schema JSON\n\nConfiguration is loaded from mj.config.cjs in the current directory (or parent\ndirectories). Database connection can also be set via environment variables:\nDB_HOST, DB_DATABASE, CODEGEN_DB_USERNAME, CODEGEN_DB_PASSWORD.\n\nUse --skipdb to skip all database operations (metadata sync, SQL object\ngeneration) and only regenerate TypeScript, Angular, and GraphQL output from\nexisting metadata.\n\nUse --skipfiles to skip all file-generation operations (TypeScript entities,\nAngular components, GraphQL resolvers, action subclasses, DB schema JSON) and\nonly run database-side operations (metadata sync, SQL object generation,\npermissions, custom SQL scripts).\n\n--skipdb and --skipfiles are independent and can be combined in any mix.",
|
|
656
656
|
"examples": [
|
|
657
657
|
{
|
|
658
658
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
@@ -661,6 +661,10 @@
|
|
|
661
661
|
{
|
|
662
662
|
"command": "<%= config.bin %> <%= command.id %> --skipdb",
|
|
663
663
|
"description": "Regenerate code files without touching the database"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"command": "<%= config.bin %> <%= command.id %> --skipfiles",
|
|
667
|
+
"description": "Run database-side operations only, without regenerating any code files"
|
|
664
668
|
}
|
|
665
669
|
],
|
|
666
670
|
"flags": {
|
|
@@ -669,6 +673,12 @@
|
|
|
669
673
|
"name": "skipdb",
|
|
670
674
|
"allowNo": false,
|
|
671
675
|
"type": "boolean"
|
|
676
|
+
},
|
|
677
|
+
"skipfiles": {
|
|
678
|
+
"description": "Skip file-generation operations (TypeScript entities, Angular components, GraphQL resolvers, action subclasses, DB schema JSON). Only run database-side operations.",
|
|
679
|
+
"name": "skipfiles",
|
|
680
|
+
"allowNo": false,
|
|
681
|
+
"type": "boolean"
|
|
672
682
|
}
|
|
673
683
|
},
|
|
674
684
|
"hasDynamicHelp": false,
|
|
@@ -1244,63 +1254,6 @@
|
|
|
1244
1254
|
"status.js"
|
|
1245
1255
|
]
|
|
1246
1256
|
},
|
|
1247
|
-
"doctor": {
|
|
1248
|
-
"aliases": [],
|
|
1249
|
-
"args": {},
|
|
1250
|
-
"description": "Diagnose a MemberJunction installation",
|
|
1251
|
-
"examples": [
|
|
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
1257
|
"install": {
|
|
1305
1258
|
"aliases": [],
|
|
1306
1259
|
"args": {},
|
|
@@ -1416,6 +1369,63 @@
|
|
|
1416
1369
|
"index.js"
|
|
1417
1370
|
]
|
|
1418
1371
|
},
|
|
1372
|
+
"doctor": {
|
|
1373
|
+
"aliases": [],
|
|
1374
|
+
"args": {},
|
|
1375
|
+
"description": "Diagnose a MemberJunction installation",
|
|
1376
|
+
"examples": [
|
|
1377
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1378
|
+
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
1379
|
+
"<%= config.bin %> <%= command.id %> --verbose",
|
|
1380
|
+
"<%= config.bin %> <%= command.id %> --report",
|
|
1381
|
+
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
1382
|
+
],
|
|
1383
|
+
"flags": {
|
|
1384
|
+
"dir": {
|
|
1385
|
+
"description": "Target directory to diagnose",
|
|
1386
|
+
"name": "dir",
|
|
1387
|
+
"default": ".",
|
|
1388
|
+
"hasDynamicHelp": false,
|
|
1389
|
+
"multiple": false,
|
|
1390
|
+
"type": "option"
|
|
1391
|
+
},
|
|
1392
|
+
"verbose": {
|
|
1393
|
+
"char": "v",
|
|
1394
|
+
"description": "Show detailed output including suggested fixes inline",
|
|
1395
|
+
"name": "verbose",
|
|
1396
|
+
"allowNo": false,
|
|
1397
|
+
"type": "boolean"
|
|
1398
|
+
},
|
|
1399
|
+
"report": {
|
|
1400
|
+
"char": "r",
|
|
1401
|
+
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
1402
|
+
"name": "report",
|
|
1403
|
+
"allowNo": false,
|
|
1404
|
+
"type": "boolean"
|
|
1405
|
+
},
|
|
1406
|
+
"report_extended": {
|
|
1407
|
+
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
1408
|
+
"name": "report_extended",
|
|
1409
|
+
"allowNo": false,
|
|
1410
|
+
"type": "boolean"
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
"hasDynamicHelp": false,
|
|
1414
|
+
"hiddenAliases": [],
|
|
1415
|
+
"id": "doctor",
|
|
1416
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1417
|
+
"pluginName": "@memberjunction/cli",
|
|
1418
|
+
"pluginType": "core",
|
|
1419
|
+
"strict": true,
|
|
1420
|
+
"enableJsonFlag": false,
|
|
1421
|
+
"isESM": true,
|
|
1422
|
+
"relativePath": [
|
|
1423
|
+
"dist",
|
|
1424
|
+
"commands",
|
|
1425
|
+
"doctor",
|
|
1426
|
+
"index.js"
|
|
1427
|
+
]
|
|
1428
|
+
},
|
|
1419
1429
|
"migrate": {
|
|
1420
1430
|
"aliases": [],
|
|
1421
1431
|
"args": {},
|
|
@@ -2956,129 +2966,6 @@
|
|
|
2956
2966
|
"index.js"
|
|
2957
2967
|
]
|
|
2958
2968
|
},
|
|
2959
|
-
"ai:actions:list": {
|
|
2960
|
-
"aliases": [],
|
|
2961
|
-
"args": {},
|
|
2962
|
-
"description": "List available AI actions",
|
|
2963
|
-
"examples": [
|
|
2964
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2965
|
-
"<%= config.bin %> <%= command.id %> --output=table",
|
|
2966
|
-
"<%= config.bin %> <%= command.id %> --output=json"
|
|
2967
|
-
],
|
|
2968
|
-
"flags": {
|
|
2969
|
-
"output": {
|
|
2970
|
-
"char": "o",
|
|
2971
|
-
"description": "Output format",
|
|
2972
|
-
"name": "output",
|
|
2973
|
-
"default": "compact",
|
|
2974
|
-
"hasDynamicHelp": false,
|
|
2975
|
-
"multiple": false,
|
|
2976
|
-
"options": [
|
|
2977
|
-
"compact",
|
|
2978
|
-
"json",
|
|
2979
|
-
"table"
|
|
2980
|
-
],
|
|
2981
|
-
"type": "option"
|
|
2982
|
-
}
|
|
2983
|
-
},
|
|
2984
|
-
"hasDynamicHelp": false,
|
|
2985
|
-
"hiddenAliases": [],
|
|
2986
|
-
"id": "ai:actions:list",
|
|
2987
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2988
|
-
"pluginName": "@memberjunction/cli",
|
|
2989
|
-
"pluginType": "core",
|
|
2990
|
-
"strict": true,
|
|
2991
|
-
"enableJsonFlag": false,
|
|
2992
|
-
"isESM": true,
|
|
2993
|
-
"relativePath": [
|
|
2994
|
-
"dist",
|
|
2995
|
-
"commands",
|
|
2996
|
-
"ai",
|
|
2997
|
-
"actions",
|
|
2998
|
-
"list.js"
|
|
2999
|
-
]
|
|
3000
|
-
},
|
|
3001
|
-
"ai:actions:run": {
|
|
3002
|
-
"aliases": [],
|
|
3003
|
-
"args": {},
|
|
3004
|
-
"description": "Execute an AI action with parameters",
|
|
3005
|
-
"examples": [
|
|
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"
|
|
3010
|
-
],
|
|
3011
|
-
"flags": {
|
|
3012
|
-
"name": {
|
|
3013
|
-
"char": "n",
|
|
3014
|
-
"description": "Action name",
|
|
3015
|
-
"name": "name",
|
|
3016
|
-
"required": true,
|
|
3017
|
-
"hasDynamicHelp": false,
|
|
3018
|
-
"multiple": false,
|
|
3019
|
-
"type": "option"
|
|
3020
|
-
},
|
|
3021
|
-
"param": {
|
|
3022
|
-
"char": "p",
|
|
3023
|
-
"description": "Action parameters in key=value format",
|
|
3024
|
-
"name": "param",
|
|
3025
|
-
"hasDynamicHelp": false,
|
|
3026
|
-
"multiple": true,
|
|
3027
|
-
"type": "option"
|
|
3028
|
-
},
|
|
3029
|
-
"dry-run": {
|
|
3030
|
-
"description": "Validate without executing",
|
|
3031
|
-
"name": "dry-run",
|
|
3032
|
-
"allowNo": false,
|
|
3033
|
-
"type": "boolean"
|
|
3034
|
-
},
|
|
3035
|
-
"output": {
|
|
3036
|
-
"char": "o",
|
|
3037
|
-
"description": "Output format",
|
|
3038
|
-
"name": "output",
|
|
3039
|
-
"default": "compact",
|
|
3040
|
-
"hasDynamicHelp": false,
|
|
3041
|
-
"multiple": false,
|
|
3042
|
-
"options": [
|
|
3043
|
-
"compact",
|
|
3044
|
-
"json",
|
|
3045
|
-
"table"
|
|
3046
|
-
],
|
|
3047
|
-
"type": "option"
|
|
3048
|
-
},
|
|
3049
|
-
"verbose": {
|
|
3050
|
-
"char": "v",
|
|
3051
|
-
"description": "Show detailed execution information",
|
|
3052
|
-
"name": "verbose",
|
|
3053
|
-
"allowNo": false,
|
|
3054
|
-
"type": "boolean"
|
|
3055
|
-
},
|
|
3056
|
-
"timeout": {
|
|
3057
|
-
"description": "Execution timeout in milliseconds",
|
|
3058
|
-
"name": "timeout",
|
|
3059
|
-
"default": 300000,
|
|
3060
|
-
"hasDynamicHelp": false,
|
|
3061
|
-
"multiple": false,
|
|
3062
|
-
"type": "option"
|
|
3063
|
-
}
|
|
3064
|
-
},
|
|
3065
|
-
"hasDynamicHelp": false,
|
|
3066
|
-
"hiddenAliases": [],
|
|
3067
|
-
"id": "ai:actions:run",
|
|
3068
|
-
"pluginAlias": "@memberjunction/cli",
|
|
3069
|
-
"pluginName": "@memberjunction/cli",
|
|
3070
|
-
"pluginType": "core",
|
|
3071
|
-
"strict": true,
|
|
3072
|
-
"enableJsonFlag": false,
|
|
3073
|
-
"isESM": true,
|
|
3074
|
-
"relativePath": [
|
|
3075
|
-
"dist",
|
|
3076
|
-
"commands",
|
|
3077
|
-
"ai",
|
|
3078
|
-
"actions",
|
|
3079
|
-
"run.js"
|
|
3080
|
-
]
|
|
3081
|
-
},
|
|
3082
2969
|
"ai:agents:list": {
|
|
3083
2970
|
"aliases": [],
|
|
3084
2971
|
"args": {},
|
|
@@ -3424,6 +3311,129 @@
|
|
|
3424
3311
|
"index.js"
|
|
3425
3312
|
]
|
|
3426
3313
|
},
|
|
3314
|
+
"ai:actions:list": {
|
|
3315
|
+
"aliases": [],
|
|
3316
|
+
"args": {},
|
|
3317
|
+
"description": "List available AI actions",
|
|
3318
|
+
"examples": [
|
|
3319
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3320
|
+
"<%= config.bin %> <%= command.id %> --output=table",
|
|
3321
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
3322
|
+
],
|
|
3323
|
+
"flags": {
|
|
3324
|
+
"output": {
|
|
3325
|
+
"char": "o",
|
|
3326
|
+
"description": "Output format",
|
|
3327
|
+
"name": "output",
|
|
3328
|
+
"default": "compact",
|
|
3329
|
+
"hasDynamicHelp": false,
|
|
3330
|
+
"multiple": false,
|
|
3331
|
+
"options": [
|
|
3332
|
+
"compact",
|
|
3333
|
+
"json",
|
|
3334
|
+
"table"
|
|
3335
|
+
],
|
|
3336
|
+
"type": "option"
|
|
3337
|
+
}
|
|
3338
|
+
},
|
|
3339
|
+
"hasDynamicHelp": false,
|
|
3340
|
+
"hiddenAliases": [],
|
|
3341
|
+
"id": "ai:actions:list",
|
|
3342
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3343
|
+
"pluginName": "@memberjunction/cli",
|
|
3344
|
+
"pluginType": "core",
|
|
3345
|
+
"strict": true,
|
|
3346
|
+
"enableJsonFlag": false,
|
|
3347
|
+
"isESM": true,
|
|
3348
|
+
"relativePath": [
|
|
3349
|
+
"dist",
|
|
3350
|
+
"commands",
|
|
3351
|
+
"ai",
|
|
3352
|
+
"actions",
|
|
3353
|
+
"list.js"
|
|
3354
|
+
]
|
|
3355
|
+
},
|
|
3356
|
+
"ai:actions:run": {
|
|
3357
|
+
"aliases": [],
|
|
3358
|
+
"args": {},
|
|
3359
|
+
"description": "Execute an AI action with parameters",
|
|
3360
|
+
"examples": [
|
|
3361
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
3362
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
3363
|
+
"<%= 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\"",
|
|
3364
|
+
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
3365
|
+
],
|
|
3366
|
+
"flags": {
|
|
3367
|
+
"name": {
|
|
3368
|
+
"char": "n",
|
|
3369
|
+
"description": "Action name",
|
|
3370
|
+
"name": "name",
|
|
3371
|
+
"required": true,
|
|
3372
|
+
"hasDynamicHelp": false,
|
|
3373
|
+
"multiple": false,
|
|
3374
|
+
"type": "option"
|
|
3375
|
+
},
|
|
3376
|
+
"param": {
|
|
3377
|
+
"char": "p",
|
|
3378
|
+
"description": "Action parameters in key=value format",
|
|
3379
|
+
"name": "param",
|
|
3380
|
+
"hasDynamicHelp": false,
|
|
3381
|
+
"multiple": true,
|
|
3382
|
+
"type": "option"
|
|
3383
|
+
},
|
|
3384
|
+
"dry-run": {
|
|
3385
|
+
"description": "Validate without executing",
|
|
3386
|
+
"name": "dry-run",
|
|
3387
|
+
"allowNo": false,
|
|
3388
|
+
"type": "boolean"
|
|
3389
|
+
},
|
|
3390
|
+
"output": {
|
|
3391
|
+
"char": "o",
|
|
3392
|
+
"description": "Output format",
|
|
3393
|
+
"name": "output",
|
|
3394
|
+
"default": "compact",
|
|
3395
|
+
"hasDynamicHelp": false,
|
|
3396
|
+
"multiple": false,
|
|
3397
|
+
"options": [
|
|
3398
|
+
"compact",
|
|
3399
|
+
"json",
|
|
3400
|
+
"table"
|
|
3401
|
+
],
|
|
3402
|
+
"type": "option"
|
|
3403
|
+
},
|
|
3404
|
+
"verbose": {
|
|
3405
|
+
"char": "v",
|
|
3406
|
+
"description": "Show detailed execution information",
|
|
3407
|
+
"name": "verbose",
|
|
3408
|
+
"allowNo": false,
|
|
3409
|
+
"type": "boolean"
|
|
3410
|
+
},
|
|
3411
|
+
"timeout": {
|
|
3412
|
+
"description": "Execution timeout in milliseconds",
|
|
3413
|
+
"name": "timeout",
|
|
3414
|
+
"default": 300000,
|
|
3415
|
+
"hasDynamicHelp": false,
|
|
3416
|
+
"multiple": false,
|
|
3417
|
+
"type": "option"
|
|
3418
|
+
}
|
|
3419
|
+
},
|
|
3420
|
+
"hasDynamicHelp": false,
|
|
3421
|
+
"hiddenAliases": [],
|
|
3422
|
+
"id": "ai:actions:run",
|
|
3423
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3424
|
+
"pluginName": "@memberjunction/cli",
|
|
3425
|
+
"pluginType": "core",
|
|
3426
|
+
"strict": true,
|
|
3427
|
+
"enableJsonFlag": false,
|
|
3428
|
+
"isESM": true,
|
|
3429
|
+
"relativePath": [
|
|
3430
|
+
"dist",
|
|
3431
|
+
"commands",
|
|
3432
|
+
"ai",
|
|
3433
|
+
"actions",
|
|
3434
|
+
"run.js"
|
|
3435
|
+
]
|
|
3436
|
+
},
|
|
3427
3437
|
"ai:prompts:list": {
|
|
3428
3438
|
"aliases": [],
|
|
3429
3439
|
"args": {},
|
|
@@ -3564,5 +3574,5 @@
|
|
|
3564
3574
|
]
|
|
3565
3575
|
}
|
|
3566
3576
|
},
|
|
3567
|
-
"version": "5.
|
|
3577
|
+
"version": "5.29.0"
|
|
3568
3578
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.29.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.
|
|
57
|
-
"@memberjunction/codegen-lib": "5.
|
|
58
|
-
"@memberjunction/config": "5.
|
|
59
|
-
"@memberjunction/core": "5.
|
|
60
|
-
"@memberjunction/installer": "5.
|
|
61
|
-
"@memberjunction/db-auto-doc": "5.
|
|
62
|
-
"@memberjunction/metadata-sync": "5.
|
|
63
|
-
"@memberjunction/query-gen": "5.
|
|
64
|
-
"@memberjunction/server-bootstrap-lite": "5.
|
|
56
|
+
"@memberjunction/ai-cli": "5.29.0",
|
|
57
|
+
"@memberjunction/codegen-lib": "5.29.0",
|
|
58
|
+
"@memberjunction/config": "5.29.0",
|
|
59
|
+
"@memberjunction/core": "5.29.0",
|
|
60
|
+
"@memberjunction/installer": "5.29.0",
|
|
61
|
+
"@memberjunction/db-auto-doc": "5.29.0",
|
|
62
|
+
"@memberjunction/metadata-sync": "5.29.0",
|
|
63
|
+
"@memberjunction/query-gen": "5.29.0",
|
|
64
|
+
"@memberjunction/server-bootstrap-lite": "5.29.0",
|
|
65
65
|
"@memberjunction/skyway-core": "^0.5.3",
|
|
66
|
-
"@memberjunction/sql-converter": "5.
|
|
67
|
-
"@memberjunction/sqlserver-dataprovider": "5.
|
|
68
|
-
"@memberjunction/testing-cli": "5.
|
|
66
|
+
"@memberjunction/sql-converter": "5.29.0",
|
|
67
|
+
"@memberjunction/sqlserver-dataprovider": "5.29.0",
|
|
68
|
+
"@memberjunction/testing-cli": "5.29.0",
|
|
69
69
|
"@oclif/core": "^3.27.0",
|
|
70
70
|
"@oclif/plugin-help": "^6.2.37",
|
|
71
71
|
"@oclif/plugin-version": "^2.2.36",
|