@memberjunction/cli 4.1.0 → 4.3.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 +160 -160
  2. package/package.json +13 -12
@@ -94,38 +94,6 @@
94
94
  "index.js"
95
95
  ]
96
96
  },
97
- "clean": {
98
- "aliases": [],
99
- "args": {},
100
- "description": "Resets the MemberJunction database to a pre-installation state",
101
- "examples": [
102
- "<%= config.bin %> <%= command.id %>\n"
103
- ],
104
- "flags": {
105
- "verbose": {
106
- "char": "v",
107
- "description": "Enable additional logging",
108
- "name": "verbose",
109
- "allowNo": false,
110
- "type": "boolean"
111
- }
112
- },
113
- "hasDynamicHelp": false,
114
- "hiddenAliases": [],
115
- "id": "clean",
116
- "pluginAlias": "@memberjunction/cli",
117
- "pluginName": "@memberjunction/cli",
118
- "pluginType": "core",
119
- "strict": true,
120
- "enableJsonFlag": false,
121
- "isESM": true,
122
- "relativePath": [
123
- "dist",
124
- "commands",
125
- "clean",
126
- "index.js"
127
- ]
128
- },
129
97
  "codegen": {
130
98
  "aliases": [],
131
99
  "args": {},
@@ -232,10 +200,10 @@
232
200
  "manifest.js"
233
201
  ]
234
202
  },
235
- "install": {
203
+ "clean": {
236
204
  "aliases": [],
237
205
  "args": {},
238
- "description": "Install MemberJunction",
206
+ "description": "Resets the MemberJunction database to a pre-installation state",
239
207
  "examples": [
240
208
  "<%= config.bin %> <%= command.id %>\n"
241
209
  ],
@@ -250,7 +218,7 @@
250
218
  },
251
219
  "hasDynamicHelp": false,
252
220
  "hiddenAliases": [],
253
- "id": "install",
221
+ "id": "clean",
254
222
  "pluginAlias": "@memberjunction/cli",
255
223
  "pluginName": "@memberjunction/cli",
256
224
  "pluginType": "core",
@@ -260,7 +228,7 @@
260
228
  "relativePath": [
261
229
  "dist",
262
230
  "commands",
263
- "install",
231
+ "clean",
264
232
  "index.js"
265
233
  ]
266
234
  },
@@ -701,6 +669,38 @@
701
669
  "status.js"
702
670
  ]
703
671
  },
672
+ "install": {
673
+ "aliases": [],
674
+ "args": {},
675
+ "description": "Install MemberJunction",
676
+ "examples": [
677
+ "<%= config.bin %> <%= command.id %>\n"
678
+ ],
679
+ "flags": {
680
+ "verbose": {
681
+ "char": "v",
682
+ "description": "Enable additional logging",
683
+ "name": "verbose",
684
+ "allowNo": false,
685
+ "type": "boolean"
686
+ }
687
+ },
688
+ "hasDynamicHelp": false,
689
+ "hiddenAliases": [],
690
+ "id": "install",
691
+ "pluginAlias": "@memberjunction/cli",
692
+ "pluginName": "@memberjunction/cli",
693
+ "pluginType": "core",
694
+ "strict": true,
695
+ "enableJsonFlag": false,
696
+ "isESM": true,
697
+ "relativePath": [
698
+ "dist",
699
+ "commands",
700
+ "install",
701
+ "index.js"
702
+ ]
703
+ },
704
704
  "migrate": {
705
705
  "aliases": [],
706
706
  "args": {},
@@ -1990,6 +1990,129 @@
1990
1990
  "validate.js"
1991
1991
  ]
1992
1992
  },
1993
+ "ai:actions:list": {
1994
+ "aliases": [],
1995
+ "args": {},
1996
+ "description": "List available AI actions",
1997
+ "examples": [
1998
+ "<%= config.bin %> <%= command.id %>",
1999
+ "<%= config.bin %> <%= command.id %> --output=table",
2000
+ "<%= config.bin %> <%= command.id %> --output=json"
2001
+ ],
2002
+ "flags": {
2003
+ "output": {
2004
+ "char": "o",
2005
+ "description": "Output format",
2006
+ "name": "output",
2007
+ "default": "compact",
2008
+ "hasDynamicHelp": false,
2009
+ "multiple": false,
2010
+ "options": [
2011
+ "compact",
2012
+ "json",
2013
+ "table"
2014
+ ],
2015
+ "type": "option"
2016
+ }
2017
+ },
2018
+ "hasDynamicHelp": false,
2019
+ "hiddenAliases": [],
2020
+ "id": "ai:actions:list",
2021
+ "pluginAlias": "@memberjunction/cli",
2022
+ "pluginName": "@memberjunction/cli",
2023
+ "pluginType": "core",
2024
+ "strict": true,
2025
+ "enableJsonFlag": false,
2026
+ "isESM": true,
2027
+ "relativePath": [
2028
+ "dist",
2029
+ "commands",
2030
+ "ai",
2031
+ "actions",
2032
+ "list.js"
2033
+ ]
2034
+ },
2035
+ "ai:actions:run": {
2036
+ "aliases": [],
2037
+ "args": {},
2038
+ "description": "Execute an AI action with parameters",
2039
+ "examples": [
2040
+ "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
2041
+ "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
2042
+ "<%= 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\"",
2043
+ "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
2044
+ ],
2045
+ "flags": {
2046
+ "name": {
2047
+ "char": "n",
2048
+ "description": "Action name",
2049
+ "name": "name",
2050
+ "required": true,
2051
+ "hasDynamicHelp": false,
2052
+ "multiple": false,
2053
+ "type": "option"
2054
+ },
2055
+ "param": {
2056
+ "char": "p",
2057
+ "description": "Action parameters in key=value format",
2058
+ "name": "param",
2059
+ "hasDynamicHelp": false,
2060
+ "multiple": true,
2061
+ "type": "option"
2062
+ },
2063
+ "dry-run": {
2064
+ "description": "Validate without executing",
2065
+ "name": "dry-run",
2066
+ "allowNo": false,
2067
+ "type": "boolean"
2068
+ },
2069
+ "output": {
2070
+ "char": "o",
2071
+ "description": "Output format",
2072
+ "name": "output",
2073
+ "default": "compact",
2074
+ "hasDynamicHelp": false,
2075
+ "multiple": false,
2076
+ "options": [
2077
+ "compact",
2078
+ "json",
2079
+ "table"
2080
+ ],
2081
+ "type": "option"
2082
+ },
2083
+ "verbose": {
2084
+ "char": "v",
2085
+ "description": "Show detailed execution information",
2086
+ "name": "verbose",
2087
+ "allowNo": false,
2088
+ "type": "boolean"
2089
+ },
2090
+ "timeout": {
2091
+ "description": "Execution timeout in milliseconds",
2092
+ "name": "timeout",
2093
+ "default": 300000,
2094
+ "hasDynamicHelp": false,
2095
+ "multiple": false,
2096
+ "type": "option"
2097
+ }
2098
+ },
2099
+ "hasDynamicHelp": false,
2100
+ "hiddenAliases": [],
2101
+ "id": "ai:actions:run",
2102
+ "pluginAlias": "@memberjunction/cli",
2103
+ "pluginName": "@memberjunction/cli",
2104
+ "pluginType": "core",
2105
+ "strict": true,
2106
+ "enableJsonFlag": false,
2107
+ "isESM": true,
2108
+ "relativePath": [
2109
+ "dist",
2110
+ "commands",
2111
+ "ai",
2112
+ "actions",
2113
+ "run.js"
2114
+ ]
2115
+ },
1993
2116
  "ai:agents:list": {
1994
2117
  "aliases": [],
1995
2118
  "args": {},
@@ -2335,129 +2458,6 @@
2335
2458
  "index.js"
2336
2459
  ]
2337
2460
  },
2338
- "ai:actions:list": {
2339
- "aliases": [],
2340
- "args": {},
2341
- "description": "List available AI actions",
2342
- "examples": [
2343
- "<%= config.bin %> <%= command.id %>",
2344
- "<%= config.bin %> <%= command.id %> --output=table",
2345
- "<%= config.bin %> <%= command.id %> --output=json"
2346
- ],
2347
- "flags": {
2348
- "output": {
2349
- "char": "o",
2350
- "description": "Output format",
2351
- "name": "output",
2352
- "default": "compact",
2353
- "hasDynamicHelp": false,
2354
- "multiple": false,
2355
- "options": [
2356
- "compact",
2357
- "json",
2358
- "table"
2359
- ],
2360
- "type": "option"
2361
- }
2362
- },
2363
- "hasDynamicHelp": false,
2364
- "hiddenAliases": [],
2365
- "id": "ai:actions:list",
2366
- "pluginAlias": "@memberjunction/cli",
2367
- "pluginName": "@memberjunction/cli",
2368
- "pluginType": "core",
2369
- "strict": true,
2370
- "enableJsonFlag": false,
2371
- "isESM": true,
2372
- "relativePath": [
2373
- "dist",
2374
- "commands",
2375
- "ai",
2376
- "actions",
2377
- "list.js"
2378
- ]
2379
- },
2380
- "ai:actions:run": {
2381
- "aliases": [],
2382
- "args": {},
2383
- "description": "Execute an AI action with parameters",
2384
- "examples": [
2385
- "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
2386
- "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
2387
- "<%= 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\"",
2388
- "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
2389
- ],
2390
- "flags": {
2391
- "name": {
2392
- "char": "n",
2393
- "description": "Action name",
2394
- "name": "name",
2395
- "required": true,
2396
- "hasDynamicHelp": false,
2397
- "multiple": false,
2398
- "type": "option"
2399
- },
2400
- "param": {
2401
- "char": "p",
2402
- "description": "Action parameters in key=value format",
2403
- "name": "param",
2404
- "hasDynamicHelp": false,
2405
- "multiple": true,
2406
- "type": "option"
2407
- },
2408
- "dry-run": {
2409
- "description": "Validate without executing",
2410
- "name": "dry-run",
2411
- "allowNo": false,
2412
- "type": "boolean"
2413
- },
2414
- "output": {
2415
- "char": "o",
2416
- "description": "Output format",
2417
- "name": "output",
2418
- "default": "compact",
2419
- "hasDynamicHelp": false,
2420
- "multiple": false,
2421
- "options": [
2422
- "compact",
2423
- "json",
2424
- "table"
2425
- ],
2426
- "type": "option"
2427
- },
2428
- "verbose": {
2429
- "char": "v",
2430
- "description": "Show detailed execution information",
2431
- "name": "verbose",
2432
- "allowNo": false,
2433
- "type": "boolean"
2434
- },
2435
- "timeout": {
2436
- "description": "Execution timeout in milliseconds",
2437
- "name": "timeout",
2438
- "default": 300000,
2439
- "hasDynamicHelp": false,
2440
- "multiple": false,
2441
- "type": "option"
2442
- }
2443
- },
2444
- "hasDynamicHelp": false,
2445
- "hiddenAliases": [],
2446
- "id": "ai:actions:run",
2447
- "pluginAlias": "@memberjunction/cli",
2448
- "pluginName": "@memberjunction/cli",
2449
- "pluginType": "core",
2450
- "strict": true,
2451
- "enableJsonFlag": false,
2452
- "isESM": true,
2453
- "relativePath": [
2454
- "dist",
2455
- "commands",
2456
- "ai",
2457
- "actions",
2458
- "run.js"
2459
- ]
2460
- },
2461
2461
  "ai:prompts:list": {
2462
2462
  "aliases": [],
2463
2463
  "args": {},
@@ -2598,5 +2598,5 @@
2598
2598
  ]
2599
2599
  }
2600
2600
  },
2601
- "version": "4.1.0"
2601
+ "version": "4.3.0"
2602
2602
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
3
  "type": "module",
4
- "version": "4.1.0",
4
+ "version": "4.3.0",
5
5
  "description": "MemberJunction command line tools",
6
6
  "keywords": [
7
7
  "oclif"
@@ -30,7 +30,8 @@
30
30
  "build": "tsc && tsc-alias -f",
31
31
  "prepack": "npm run build && oclif manifest && oclif readme",
32
32
  "postpack": "rimraf oclif.manifest.json",
33
- "version": "oclif readme && git add README.md"
33
+ "version": "oclif readme && git add README.md",
34
+ "test": "vitest run"
34
35
  },
35
36
  "oclif": {
36
37
  "bin": "mj",
@@ -52,16 +53,16 @@
52
53
  },
53
54
  "dependencies": {
54
55
  "@inquirer/prompts": "^8.2.0",
55
- "@memberjunction/ai-cli": "4.1.0",
56
- "@memberjunction/codegen-lib": "4.1.0",
57
- "@memberjunction/config": "4.1.0",
58
- "@memberjunction/core": "4.1.0",
59
- "@memberjunction/db-auto-doc": "4.1.0",
60
- "@memberjunction/metadata-sync": "4.1.0",
61
- "@memberjunction/query-gen": "4.1.0",
62
- "@memberjunction/server-bootstrap-lite": "4.1.0",
63
- "@memberjunction/sqlserver-dataprovider": "4.1.0",
64
- "@memberjunction/testing-cli": "4.1.0",
56
+ "@memberjunction/ai-cli": "4.3.0",
57
+ "@memberjunction/codegen-lib": "4.3.0",
58
+ "@memberjunction/config": "4.3.0",
59
+ "@memberjunction/core": "4.3.0",
60
+ "@memberjunction/db-auto-doc": "4.3.0",
61
+ "@memberjunction/metadata-sync": "4.3.0",
62
+ "@memberjunction/query-gen": "4.3.0",
63
+ "@memberjunction/server-bootstrap-lite": "4.3.0",
64
+ "@memberjunction/sqlserver-dataprovider": "4.3.0",
65
+ "@memberjunction/testing-cli": "4.3.0",
65
66
  "@oclif/core": "^3.27.0",
66
67
  "@oclif/plugin-help": "^6.2.37",
67
68
  "@oclif/plugin-version": "^2.2.36",