@memberjunction/cli 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/dev.cmd +2 -2
- package/bin/run.cmd +3 -3
- package/dist/commands/app/check-updates.d.ts +13 -0
- package/dist/commands/app/check-updates.d.ts.map +1 -0
- package/dist/commands/app/check-updates.js +54 -0
- package/dist/commands/app/check-updates.js.map +1 -0
- package/dist/commands/app/disable.d.ts +16 -0
- package/dist/commands/app/disable.d.ts.map +1 -0
- package/dist/commands/app/disable.js +47 -0
- package/dist/commands/app/disable.js.map +1 -0
- package/dist/commands/app/enable.d.ts +16 -0
- package/dist/commands/app/enable.d.ts.map +1 -0
- package/dist/commands/app/enable.js +47 -0
- package/dist/commands/app/enable.js.map +1 -0
- package/dist/commands/app/info.d.ts +16 -0
- package/dist/commands/app/info.d.ts.map +1 -0
- package/dist/commands/app/info.js +64 -0
- package/dist/commands/app/info.js.map +1 -0
- package/dist/commands/app/install.d.ts +21 -0
- package/dist/commands/app/install.d.ts.map +1 -0
- package/dist/commands/app/install.js +54 -0
- package/dist/commands/app/install.js.map +1 -0
- package/dist/commands/app/list.d.ts +16 -0
- package/dist/commands/app/list.d.ts.map +1 -0
- package/dist/commands/app/list.js +60 -0
- package/dist/commands/app/list.js.map +1 -0
- package/dist/commands/app/remove.d.ts +22 -0
- package/dist/commands/app/remove.d.ts.map +1 -0
- package/dist/commands/app/remove.js +66 -0
- package/dist/commands/app/remove.js.map +1 -0
- package/dist/commands/app/upgrade.d.ts +20 -0
- package/dist/commands/app/upgrade.d.ts.map +1 -0
- package/dist/commands/app/upgrade.js +52 -0
- package/dist/commands/app/upgrade.js.map +1 -0
- package/dist/config.d.ts +139 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +31 -0
- package/dist/config.js.map +1 -1
- package/dist/utils/open-app-context.d.ts +48 -0
- package/dist/utils/open-app-context.d.ts.map +1 -0
- package/dist/utils/open-app-context.js +143 -0
- package/dist/utils/open-app-context.js.map +1 -0
- package/oclif.manifest.json +515 -217
- package/package.json +11 -11
package/oclif.manifest.json
CHANGED
|
@@ -22,17 +22,146 @@
|
|
|
22
22
|
"index.js"
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
|
-
"
|
|
25
|
+
"app:check-updates": {
|
|
26
26
|
"aliases": [],
|
|
27
27
|
"args": {},
|
|
28
|
-
"description": "
|
|
28
|
+
"description": "Check for available upgrades for installed MJ Open Apps",
|
|
29
29
|
"examples": [
|
|
30
|
-
"<%= config.bin %>
|
|
30
|
+
"<%= config.bin %> app check-updates"
|
|
31
|
+
],
|
|
32
|
+
"flags": {},
|
|
33
|
+
"hasDynamicHelp": false,
|
|
34
|
+
"hiddenAliases": [],
|
|
35
|
+
"id": "app:check-updates",
|
|
36
|
+
"pluginAlias": "@memberjunction/cli",
|
|
37
|
+
"pluginName": "@memberjunction/cli",
|
|
38
|
+
"pluginType": "core",
|
|
39
|
+
"strict": true,
|
|
40
|
+
"enableJsonFlag": false,
|
|
41
|
+
"isESM": true,
|
|
42
|
+
"relativePath": [
|
|
43
|
+
"dist",
|
|
44
|
+
"commands",
|
|
45
|
+
"app",
|
|
46
|
+
"check-updates.js"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"app:disable": {
|
|
50
|
+
"aliases": [],
|
|
51
|
+
"args": {
|
|
52
|
+
"name": {
|
|
53
|
+
"description": "Name of the installed app to disable",
|
|
54
|
+
"name": "name",
|
|
55
|
+
"required": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"description": "Disable an installed MJ Open App without removing it",
|
|
59
|
+
"examples": [
|
|
60
|
+
"<%= config.bin %> app disable acme-crm"
|
|
61
|
+
],
|
|
62
|
+
"flags": {},
|
|
63
|
+
"hasDynamicHelp": false,
|
|
64
|
+
"hiddenAliases": [],
|
|
65
|
+
"id": "app:disable",
|
|
66
|
+
"pluginAlias": "@memberjunction/cli",
|
|
67
|
+
"pluginName": "@memberjunction/cli",
|
|
68
|
+
"pluginType": "core",
|
|
69
|
+
"strict": true,
|
|
70
|
+
"enableJsonFlag": false,
|
|
71
|
+
"isESM": true,
|
|
72
|
+
"relativePath": [
|
|
73
|
+
"dist",
|
|
74
|
+
"commands",
|
|
75
|
+
"app",
|
|
76
|
+
"disable.js"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"app:enable": {
|
|
80
|
+
"aliases": [],
|
|
81
|
+
"args": {
|
|
82
|
+
"name": {
|
|
83
|
+
"description": "Name of the installed app to enable",
|
|
84
|
+
"name": "name",
|
|
85
|
+
"required": true
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"description": "Re-enable a disabled MJ Open App",
|
|
89
|
+
"examples": [
|
|
90
|
+
"<%= config.bin %> app enable acme-crm"
|
|
91
|
+
],
|
|
92
|
+
"flags": {},
|
|
93
|
+
"hasDynamicHelp": false,
|
|
94
|
+
"hiddenAliases": [],
|
|
95
|
+
"id": "app:enable",
|
|
96
|
+
"pluginAlias": "@memberjunction/cli",
|
|
97
|
+
"pluginName": "@memberjunction/cli",
|
|
98
|
+
"pluginType": "core",
|
|
99
|
+
"strict": true,
|
|
100
|
+
"enableJsonFlag": false,
|
|
101
|
+
"isESM": true,
|
|
102
|
+
"relativePath": [
|
|
103
|
+
"dist",
|
|
104
|
+
"commands",
|
|
105
|
+
"app",
|
|
106
|
+
"enable.js"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"app:info": {
|
|
110
|
+
"aliases": [],
|
|
111
|
+
"args": {
|
|
112
|
+
"name": {
|
|
113
|
+
"description": "Name of the installed app",
|
|
114
|
+
"name": "name",
|
|
115
|
+
"required": true
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"description": "Show detailed information about an installed MJ Open App",
|
|
119
|
+
"examples": [
|
|
120
|
+
"<%= config.bin %> app info acme-crm"
|
|
121
|
+
],
|
|
122
|
+
"flags": {},
|
|
123
|
+
"hasDynamicHelp": false,
|
|
124
|
+
"hiddenAliases": [],
|
|
125
|
+
"id": "app:info",
|
|
126
|
+
"pluginAlias": "@memberjunction/cli",
|
|
127
|
+
"pluginName": "@memberjunction/cli",
|
|
128
|
+
"pluginType": "core",
|
|
129
|
+
"strict": true,
|
|
130
|
+
"enableJsonFlag": false,
|
|
131
|
+
"isESM": true,
|
|
132
|
+
"relativePath": [
|
|
133
|
+
"dist",
|
|
134
|
+
"commands",
|
|
135
|
+
"app",
|
|
136
|
+
"info.js"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"app:install": {
|
|
140
|
+
"aliases": [],
|
|
141
|
+
"args": {
|
|
142
|
+
"source": {
|
|
143
|
+
"description": "GitHub repository URL of the Open App",
|
|
144
|
+
"name": "source",
|
|
145
|
+
"required": true
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"description": "Install an MJ Open App from a GitHub repository",
|
|
149
|
+
"examples": [
|
|
150
|
+
"<%= config.bin %> app install https://github.com/acme/mj-crm",
|
|
151
|
+
"<%= config.bin %> app install https://github.com/acme/mj-crm --version 1.2.0",
|
|
152
|
+
"<%= config.bin %> app install https://github.com/acme/mj-crm --verbose"
|
|
31
153
|
],
|
|
32
154
|
"flags": {
|
|
155
|
+
"version": {
|
|
156
|
+
"description": "Specific version to install (default: latest)",
|
|
157
|
+
"name": "version",
|
|
158
|
+
"hasDynamicHelp": false,
|
|
159
|
+
"multiple": false,
|
|
160
|
+
"type": "option"
|
|
161
|
+
},
|
|
33
162
|
"verbose": {
|
|
34
163
|
"char": "v",
|
|
35
|
-
"description": "
|
|
164
|
+
"description": "Show detailed output",
|
|
36
165
|
"name": "verbose",
|
|
37
166
|
"allowNo": false,
|
|
38
167
|
"type": "boolean"
|
|
@@ -40,7 +169,7 @@
|
|
|
40
169
|
},
|
|
41
170
|
"hasDynamicHelp": false,
|
|
42
171
|
"hiddenAliases": [],
|
|
43
|
-
"id": "
|
|
172
|
+
"id": "app:install",
|
|
44
173
|
"pluginAlias": "@memberjunction/cli",
|
|
45
174
|
"pluginName": "@memberjunction/cli",
|
|
46
175
|
"pluginType": "core",
|
|
@@ -50,8 +179,145 @@
|
|
|
50
179
|
"relativePath": [
|
|
51
180
|
"dist",
|
|
52
181
|
"commands",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
182
|
+
"app",
|
|
183
|
+
"install.js"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"app:list": {
|
|
187
|
+
"aliases": [],
|
|
188
|
+
"args": {},
|
|
189
|
+
"description": "List all installed MJ Open Apps",
|
|
190
|
+
"examples": [
|
|
191
|
+
"<%= config.bin %> app list"
|
|
192
|
+
],
|
|
193
|
+
"flags": {
|
|
194
|
+
"verbose": {
|
|
195
|
+
"char": "v",
|
|
196
|
+
"description": "Show detailed output",
|
|
197
|
+
"name": "verbose",
|
|
198
|
+
"allowNo": false,
|
|
199
|
+
"type": "boolean"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"hasDynamicHelp": false,
|
|
203
|
+
"hiddenAliases": [],
|
|
204
|
+
"id": "app:list",
|
|
205
|
+
"pluginAlias": "@memberjunction/cli",
|
|
206
|
+
"pluginName": "@memberjunction/cli",
|
|
207
|
+
"pluginType": "core",
|
|
208
|
+
"strict": true,
|
|
209
|
+
"enableJsonFlag": false,
|
|
210
|
+
"isESM": true,
|
|
211
|
+
"relativePath": [
|
|
212
|
+
"dist",
|
|
213
|
+
"commands",
|
|
214
|
+
"app",
|
|
215
|
+
"list.js"
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
"app:remove": {
|
|
219
|
+
"aliases": [],
|
|
220
|
+
"args": {
|
|
221
|
+
"name": {
|
|
222
|
+
"description": "Name of the installed app to remove",
|
|
223
|
+
"name": "name",
|
|
224
|
+
"required": true
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"description": "Remove an installed MJ Open App",
|
|
228
|
+
"examples": [
|
|
229
|
+
"<%= config.bin %> app remove acme-crm",
|
|
230
|
+
"<%= config.bin %> app remove acme-crm --keep-data",
|
|
231
|
+
"<%= config.bin %> app remove acme-crm --force"
|
|
232
|
+
],
|
|
233
|
+
"flags": {
|
|
234
|
+
"keep-data": {
|
|
235
|
+
"description": "Keep the database schema and data",
|
|
236
|
+
"name": "keep-data",
|
|
237
|
+
"allowNo": false,
|
|
238
|
+
"type": "boolean"
|
|
239
|
+
},
|
|
240
|
+
"force": {
|
|
241
|
+
"description": "Force removal even if other apps depend on this one",
|
|
242
|
+
"name": "force",
|
|
243
|
+
"allowNo": false,
|
|
244
|
+
"type": "boolean"
|
|
245
|
+
},
|
|
246
|
+
"yes": {
|
|
247
|
+
"char": "y",
|
|
248
|
+
"description": "Skip confirmation prompt",
|
|
249
|
+
"name": "yes",
|
|
250
|
+
"allowNo": false,
|
|
251
|
+
"type": "boolean"
|
|
252
|
+
},
|
|
253
|
+
"verbose": {
|
|
254
|
+
"char": "v",
|
|
255
|
+
"description": "Show detailed output",
|
|
256
|
+
"name": "verbose",
|
|
257
|
+
"allowNo": false,
|
|
258
|
+
"type": "boolean"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"hasDynamicHelp": false,
|
|
262
|
+
"hiddenAliases": [],
|
|
263
|
+
"id": "app:remove",
|
|
264
|
+
"pluginAlias": "@memberjunction/cli",
|
|
265
|
+
"pluginName": "@memberjunction/cli",
|
|
266
|
+
"pluginType": "core",
|
|
267
|
+
"strict": true,
|
|
268
|
+
"enableJsonFlag": false,
|
|
269
|
+
"isESM": true,
|
|
270
|
+
"relativePath": [
|
|
271
|
+
"dist",
|
|
272
|
+
"commands",
|
|
273
|
+
"app",
|
|
274
|
+
"remove.js"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"app:upgrade": {
|
|
278
|
+
"aliases": [],
|
|
279
|
+
"args": {
|
|
280
|
+
"name": {
|
|
281
|
+
"description": "Name of the installed app to upgrade",
|
|
282
|
+
"name": "name",
|
|
283
|
+
"required": true
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"description": "Upgrade an installed MJ Open App to a newer version",
|
|
287
|
+
"examples": [
|
|
288
|
+
"<%= config.bin %> app upgrade acme-crm",
|
|
289
|
+
"<%= config.bin %> app upgrade acme-crm --version 1.3.0"
|
|
290
|
+
],
|
|
291
|
+
"flags": {
|
|
292
|
+
"version": {
|
|
293
|
+
"description": "Specific version to upgrade to (default: latest)",
|
|
294
|
+
"name": "version",
|
|
295
|
+
"hasDynamicHelp": false,
|
|
296
|
+
"multiple": false,
|
|
297
|
+
"type": "option"
|
|
298
|
+
},
|
|
299
|
+
"verbose": {
|
|
300
|
+
"char": "v",
|
|
301
|
+
"description": "Show detailed output",
|
|
302
|
+
"name": "verbose",
|
|
303
|
+
"allowNo": false,
|
|
304
|
+
"type": "boolean"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"hasDynamicHelp": false,
|
|
308
|
+
"hiddenAliases": [],
|
|
309
|
+
"id": "app:upgrade",
|
|
310
|
+
"pluginAlias": "@memberjunction/cli",
|
|
311
|
+
"pluginName": "@memberjunction/cli",
|
|
312
|
+
"pluginType": "core",
|
|
313
|
+
"strict": true,
|
|
314
|
+
"enableJsonFlag": false,
|
|
315
|
+
"isESM": true,
|
|
316
|
+
"relativePath": [
|
|
317
|
+
"dist",
|
|
318
|
+
"commands",
|
|
319
|
+
"app",
|
|
320
|
+
"upgrade.js"
|
|
55
321
|
]
|
|
56
322
|
},
|
|
57
323
|
"bump": {
|
|
@@ -126,6 +392,38 @@
|
|
|
126
392
|
"index.js"
|
|
127
393
|
]
|
|
128
394
|
},
|
|
395
|
+
"clean": {
|
|
396
|
+
"aliases": [],
|
|
397
|
+
"args": {},
|
|
398
|
+
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
399
|
+
"examples": [
|
|
400
|
+
"<%= config.bin %> <%= command.id %>\n"
|
|
401
|
+
],
|
|
402
|
+
"flags": {
|
|
403
|
+
"verbose": {
|
|
404
|
+
"char": "v",
|
|
405
|
+
"description": "Enable additional logging",
|
|
406
|
+
"name": "verbose",
|
|
407
|
+
"allowNo": false,
|
|
408
|
+
"type": "boolean"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"hasDynamicHelp": false,
|
|
412
|
+
"hiddenAliases": [],
|
|
413
|
+
"id": "clean",
|
|
414
|
+
"pluginAlias": "@memberjunction/cli",
|
|
415
|
+
"pluginName": "@memberjunction/cli",
|
|
416
|
+
"pluginType": "core",
|
|
417
|
+
"strict": true,
|
|
418
|
+
"enableJsonFlag": false,
|
|
419
|
+
"isESM": true,
|
|
420
|
+
"relativePath": [
|
|
421
|
+
"dist",
|
|
422
|
+
"commands",
|
|
423
|
+
"clean",
|
|
424
|
+
"index.js"
|
|
425
|
+
]
|
|
426
|
+
},
|
|
129
427
|
"codegen:5-0-fix-entity-names": {
|
|
130
428
|
"aliases": [],
|
|
131
429
|
"args": {},
|
|
@@ -913,6 +1211,38 @@
|
|
|
913
1211
|
"status.js"
|
|
914
1212
|
]
|
|
915
1213
|
},
|
|
1214
|
+
"install": {
|
|
1215
|
+
"aliases": [],
|
|
1216
|
+
"args": {},
|
|
1217
|
+
"description": "Install MemberJunction",
|
|
1218
|
+
"examples": [
|
|
1219
|
+
"<%= config.bin %> <%= command.id %>\n"
|
|
1220
|
+
],
|
|
1221
|
+
"flags": {
|
|
1222
|
+
"verbose": {
|
|
1223
|
+
"char": "v",
|
|
1224
|
+
"description": "Enable additional logging",
|
|
1225
|
+
"name": "verbose",
|
|
1226
|
+
"allowNo": false,
|
|
1227
|
+
"type": "boolean"
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1230
|
+
"hasDynamicHelp": false,
|
|
1231
|
+
"hiddenAliases": [],
|
|
1232
|
+
"id": "install",
|
|
1233
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1234
|
+
"pluginName": "@memberjunction/cli",
|
|
1235
|
+
"pluginType": "core",
|
|
1236
|
+
"strict": true,
|
|
1237
|
+
"enableJsonFlag": false,
|
|
1238
|
+
"isESM": true,
|
|
1239
|
+
"relativePath": [
|
|
1240
|
+
"dist",
|
|
1241
|
+
"commands",
|
|
1242
|
+
"install",
|
|
1243
|
+
"index.js"
|
|
1244
|
+
]
|
|
1245
|
+
},
|
|
916
1246
|
"migrate": {
|
|
917
1247
|
"aliases": [],
|
|
918
1248
|
"args": {},
|
|
@@ -970,38 +1300,6 @@
|
|
|
970
1300
|
"index.js"
|
|
971
1301
|
]
|
|
972
1302
|
},
|
|
973
|
-
"install": {
|
|
974
|
-
"aliases": [],
|
|
975
|
-
"args": {},
|
|
976
|
-
"description": "Install MemberJunction",
|
|
977
|
-
"examples": [
|
|
978
|
-
"<%= config.bin %> <%= command.id %>\n"
|
|
979
|
-
],
|
|
980
|
-
"flags": {
|
|
981
|
-
"verbose": {
|
|
982
|
-
"char": "v",
|
|
983
|
-
"description": "Enable additional logging",
|
|
984
|
-
"name": "verbose",
|
|
985
|
-
"allowNo": false,
|
|
986
|
-
"type": "boolean"
|
|
987
|
-
}
|
|
988
|
-
},
|
|
989
|
-
"hasDynamicHelp": false,
|
|
990
|
-
"hiddenAliases": [],
|
|
991
|
-
"id": "install",
|
|
992
|
-
"pluginAlias": "@memberjunction/cli",
|
|
993
|
-
"pluginName": "@memberjunction/cli",
|
|
994
|
-
"pluginType": "core",
|
|
995
|
-
"strict": true,
|
|
996
|
-
"enableJsonFlag": false,
|
|
997
|
-
"isESM": true,
|
|
998
|
-
"relativePath": [
|
|
999
|
-
"dist",
|
|
1000
|
-
"commands",
|
|
1001
|
-
"install",
|
|
1002
|
-
"index.js"
|
|
1003
|
-
]
|
|
1004
|
-
},
|
|
1005
1303
|
"querygen:export": {
|
|
1006
1304
|
"aliases": [],
|
|
1007
1305
|
"args": {},
|
|
@@ -1615,110 +1913,14 @@
|
|
|
1615
1913
|
"output": {
|
|
1616
1914
|
"description": "Output file path for validation report (default: validation-report.md)",
|
|
1617
1915
|
"name": "output",
|
|
1618
|
-
"hasDynamicHelp": false,
|
|
1619
|
-
"multiple": false,
|
|
1620
|
-
"type": "option"
|
|
1621
|
-
}
|
|
1622
|
-
},
|
|
1623
|
-
"hasDynamicHelp": false,
|
|
1624
|
-
"hiddenAliases": [],
|
|
1625
|
-
"id": "sync:validate",
|
|
1626
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1627
|
-
"pluginName": "@memberjunction/cli",
|
|
1628
|
-
"pluginType": "core",
|
|
1629
|
-
"strict": true,
|
|
1630
|
-
"enableJsonFlag": false,
|
|
1631
|
-
"isESM": true,
|
|
1632
|
-
"relativePath": [
|
|
1633
|
-
"dist",
|
|
1634
|
-
"commands",
|
|
1635
|
-
"sync",
|
|
1636
|
-
"validate.js"
|
|
1637
|
-
]
|
|
1638
|
-
},
|
|
1639
|
-
"sync:watch": {
|
|
1640
|
-
"aliases": [],
|
|
1641
|
-
"args": {},
|
|
1642
|
-
"description": "Watch for file changes and sync automatically",
|
|
1643
|
-
"examples": [
|
|
1644
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1645
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
1646
|
-
"<%= config.bin %> <%= command.id %> --debounce=1000",
|
|
1647
|
-
"<%= config.bin %> <%= command.id %> --no-validate"
|
|
1648
|
-
],
|
|
1649
|
-
"flags": {
|
|
1650
|
-
"dir": {
|
|
1651
|
-
"description": "Specific entity directory to watch",
|
|
1652
|
-
"name": "dir",
|
|
1653
|
-
"hasDynamicHelp": false,
|
|
1654
|
-
"multiple": false,
|
|
1655
|
-
"type": "option"
|
|
1656
|
-
},
|
|
1657
|
-
"debounce": {
|
|
1658
|
-
"description": "Debounce delay in milliseconds (default: 500)",
|
|
1659
|
-
"name": "debounce",
|
|
1660
|
-
"hasDynamicHelp": false,
|
|
1661
|
-
"multiple": false,
|
|
1662
|
-
"type": "option"
|
|
1663
|
-
},
|
|
1664
|
-
"no-validate": {
|
|
1665
|
-
"description": "Skip validation before sync",
|
|
1666
|
-
"name": "no-validate",
|
|
1667
|
-
"allowNo": false,
|
|
1668
|
-
"type": "boolean"
|
|
1669
|
-
},
|
|
1670
|
-
"verbose": {
|
|
1671
|
-
"char": "v",
|
|
1672
|
-
"description": "Show detailed output",
|
|
1673
|
-
"name": "verbose",
|
|
1674
|
-
"allowNo": false,
|
|
1675
|
-
"type": "boolean"
|
|
1676
|
-
}
|
|
1677
|
-
},
|
|
1678
|
-
"hasDynamicHelp": false,
|
|
1679
|
-
"hiddenAliases": [],
|
|
1680
|
-
"id": "sync:watch",
|
|
1681
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1682
|
-
"pluginName": "@memberjunction/cli",
|
|
1683
|
-
"pluginType": "core",
|
|
1684
|
-
"strict": true,
|
|
1685
|
-
"enableJsonFlag": false,
|
|
1686
|
-
"isESM": true,
|
|
1687
|
-
"relativePath": [
|
|
1688
|
-
"dist",
|
|
1689
|
-
"commands",
|
|
1690
|
-
"sync",
|
|
1691
|
-
"watch.js"
|
|
1692
|
-
]
|
|
1693
|
-
},
|
|
1694
|
-
"ai:actions:list": {
|
|
1695
|
-
"aliases": [],
|
|
1696
|
-
"args": {},
|
|
1697
|
-
"description": "List available AI actions",
|
|
1698
|
-
"examples": [
|
|
1699
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1700
|
-
"<%= config.bin %> <%= command.id %> --output=table",
|
|
1701
|
-
"<%= config.bin %> <%= command.id %> --output=json"
|
|
1702
|
-
],
|
|
1703
|
-
"flags": {
|
|
1704
|
-
"output": {
|
|
1705
|
-
"char": "o",
|
|
1706
|
-
"description": "Output format",
|
|
1707
|
-
"name": "output",
|
|
1708
|
-
"default": "compact",
|
|
1709
|
-
"hasDynamicHelp": false,
|
|
1710
|
-
"multiple": false,
|
|
1711
|
-
"options": [
|
|
1712
|
-
"compact",
|
|
1713
|
-
"json",
|
|
1714
|
-
"table"
|
|
1715
|
-
],
|
|
1916
|
+
"hasDynamicHelp": false,
|
|
1917
|
+
"multiple": false,
|
|
1716
1918
|
"type": "option"
|
|
1717
1919
|
}
|
|
1718
1920
|
},
|
|
1719
1921
|
"hasDynamicHelp": false,
|
|
1720
1922
|
"hiddenAliases": [],
|
|
1721
|
-
"id": "
|
|
1923
|
+
"id": "sync:validate",
|
|
1722
1924
|
"pluginAlias": "@memberjunction/cli",
|
|
1723
1925
|
"pluginName": "@memberjunction/cli",
|
|
1724
1926
|
"pluginType": "core",
|
|
@@ -1728,78 +1930,52 @@
|
|
|
1728
1930
|
"relativePath": [
|
|
1729
1931
|
"dist",
|
|
1730
1932
|
"commands",
|
|
1731
|
-
"
|
|
1732
|
-
"
|
|
1733
|
-
"list.js"
|
|
1933
|
+
"sync",
|
|
1934
|
+
"validate.js"
|
|
1734
1935
|
]
|
|
1735
1936
|
},
|
|
1736
|
-
"
|
|
1937
|
+
"sync:watch": {
|
|
1737
1938
|
"aliases": [],
|
|
1738
1939
|
"args": {},
|
|
1739
|
-
"description": "
|
|
1940
|
+
"description": "Watch for file changes and sync automatically",
|
|
1740
1941
|
"examples": [
|
|
1741
|
-
"<%= config.bin %> <%= command.id %>
|
|
1742
|
-
"<%= config.bin %> <%= command.id %>
|
|
1743
|
-
"<%= config.bin %> <%= command.id %>
|
|
1744
|
-
"<%= config.bin %> <%= command.id %>
|
|
1942
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1943
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
1944
|
+
"<%= config.bin %> <%= command.id %> --debounce=1000",
|
|
1945
|
+
"<%= config.bin %> <%= command.id %> --no-validate"
|
|
1745
1946
|
],
|
|
1746
1947
|
"flags": {
|
|
1747
|
-
"
|
|
1748
|
-
"
|
|
1749
|
-
"
|
|
1750
|
-
"name": "name",
|
|
1751
|
-
"required": true,
|
|
1948
|
+
"dir": {
|
|
1949
|
+
"description": "Specific entity directory to watch",
|
|
1950
|
+
"name": "dir",
|
|
1752
1951
|
"hasDynamicHelp": false,
|
|
1753
1952
|
"multiple": false,
|
|
1754
1953
|
"type": "option"
|
|
1755
1954
|
},
|
|
1756
|
-
"
|
|
1757
|
-
"
|
|
1758
|
-
"
|
|
1759
|
-
"name": "param",
|
|
1955
|
+
"debounce": {
|
|
1956
|
+
"description": "Debounce delay in milliseconds (default: 500)",
|
|
1957
|
+
"name": "debounce",
|
|
1760
1958
|
"hasDynamicHelp": false,
|
|
1761
|
-
"multiple":
|
|
1959
|
+
"multiple": false,
|
|
1762
1960
|
"type": "option"
|
|
1763
1961
|
},
|
|
1764
|
-
"
|
|
1765
|
-
"description": "
|
|
1766
|
-
"name": "
|
|
1962
|
+
"no-validate": {
|
|
1963
|
+
"description": "Skip validation before sync",
|
|
1964
|
+
"name": "no-validate",
|
|
1767
1965
|
"allowNo": false,
|
|
1768
1966
|
"type": "boolean"
|
|
1769
1967
|
},
|
|
1770
|
-
"output": {
|
|
1771
|
-
"char": "o",
|
|
1772
|
-
"description": "Output format",
|
|
1773
|
-
"name": "output",
|
|
1774
|
-
"default": "compact",
|
|
1775
|
-
"hasDynamicHelp": false,
|
|
1776
|
-
"multiple": false,
|
|
1777
|
-
"options": [
|
|
1778
|
-
"compact",
|
|
1779
|
-
"json",
|
|
1780
|
-
"table"
|
|
1781
|
-
],
|
|
1782
|
-
"type": "option"
|
|
1783
|
-
},
|
|
1784
1968
|
"verbose": {
|
|
1785
1969
|
"char": "v",
|
|
1786
|
-
"description": "Show detailed
|
|
1970
|
+
"description": "Show detailed output",
|
|
1787
1971
|
"name": "verbose",
|
|
1788
1972
|
"allowNo": false,
|
|
1789
1973
|
"type": "boolean"
|
|
1790
|
-
},
|
|
1791
|
-
"timeout": {
|
|
1792
|
-
"description": "Execution timeout in milliseconds",
|
|
1793
|
-
"name": "timeout",
|
|
1794
|
-
"default": 300000,
|
|
1795
|
-
"hasDynamicHelp": false,
|
|
1796
|
-
"multiple": false,
|
|
1797
|
-
"type": "option"
|
|
1798
1974
|
}
|
|
1799
1975
|
},
|
|
1800
1976
|
"hasDynamicHelp": false,
|
|
1801
1977
|
"hiddenAliases": [],
|
|
1802
|
-
"id": "
|
|
1978
|
+
"id": "sync:watch",
|
|
1803
1979
|
"pluginAlias": "@memberjunction/cli",
|
|
1804
1980
|
"pluginName": "@memberjunction/cli",
|
|
1805
1981
|
"pluginType": "core",
|
|
@@ -1809,9 +1985,8 @@
|
|
|
1809
1985
|
"relativePath": [
|
|
1810
1986
|
"dist",
|
|
1811
1987
|
"commands",
|
|
1812
|
-
"
|
|
1813
|
-
"
|
|
1814
|
-
"run.js"
|
|
1988
|
+
"sync",
|
|
1989
|
+
"watch.js"
|
|
1815
1990
|
]
|
|
1816
1991
|
},
|
|
1817
1992
|
"test:compare": {
|
|
@@ -2357,10 +2532,10 @@
|
|
|
2357
2532
|
"validate.js"
|
|
2358
2533
|
]
|
|
2359
2534
|
},
|
|
2360
|
-
"ai:
|
|
2535
|
+
"ai:actions:list": {
|
|
2361
2536
|
"aliases": [],
|
|
2362
2537
|
"args": {},
|
|
2363
|
-
"description": "List available AI
|
|
2538
|
+
"description": "List available AI actions",
|
|
2364
2539
|
"examples": [
|
|
2365
2540
|
"<%= config.bin %> <%= command.id %>",
|
|
2366
2541
|
"<%= config.bin %> <%= command.id %> --output=table",
|
|
@@ -2384,7 +2559,7 @@
|
|
|
2384
2559
|
},
|
|
2385
2560
|
"hasDynamicHelp": false,
|
|
2386
2561
|
"hiddenAliases": [],
|
|
2387
|
-
"id": "ai:
|
|
2562
|
+
"id": "ai:actions:list",
|
|
2388
2563
|
"pluginAlias": "@memberjunction/cli",
|
|
2389
2564
|
"pluginName": "@memberjunction/cli",
|
|
2390
2565
|
"pluginType": "core",
|
|
@@ -2395,47 +2570,41 @@
|
|
|
2395
2570
|
"dist",
|
|
2396
2571
|
"commands",
|
|
2397
2572
|
"ai",
|
|
2398
|
-
"
|
|
2573
|
+
"actions",
|
|
2399
2574
|
"list.js"
|
|
2400
2575
|
]
|
|
2401
2576
|
},
|
|
2402
|
-
"ai:
|
|
2577
|
+
"ai:actions:run": {
|
|
2403
2578
|
"aliases": [],
|
|
2404
2579
|
"args": {},
|
|
2405
|
-
"description": "Execute an AI
|
|
2580
|
+
"description": "Execute an AI action with parameters",
|
|
2406
2581
|
"examples": [
|
|
2407
|
-
"<%= config.bin %> <%= command.id %> -
|
|
2408
|
-
"<%= config.bin %> <%= command.id %> -
|
|
2409
|
-
"<%= config.bin %> <%= command.id %> -
|
|
2582
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
2583
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
2584
|
+
"<%= 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\"",
|
|
2585
|
+
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
2410
2586
|
],
|
|
2411
2587
|
"flags": {
|
|
2412
|
-
"
|
|
2413
|
-
"char": "
|
|
2414
|
-
"description": "
|
|
2415
|
-
"name": "
|
|
2588
|
+
"name": {
|
|
2589
|
+
"char": "n",
|
|
2590
|
+
"description": "Action name",
|
|
2591
|
+
"name": "name",
|
|
2416
2592
|
"required": true,
|
|
2417
2593
|
"hasDynamicHelp": false,
|
|
2418
2594
|
"multiple": false,
|
|
2419
2595
|
"type": "option"
|
|
2420
2596
|
},
|
|
2421
|
-
"
|
|
2597
|
+
"param": {
|
|
2422
2598
|
"char": "p",
|
|
2423
|
-
"description": "
|
|
2424
|
-
"
|
|
2425
|
-
"chat"
|
|
2426
|
-
],
|
|
2427
|
-
"name": "prompt",
|
|
2599
|
+
"description": "Action parameters in key=value format",
|
|
2600
|
+
"name": "param",
|
|
2428
2601
|
"hasDynamicHelp": false,
|
|
2429
|
-
"multiple":
|
|
2602
|
+
"multiple": true,
|
|
2430
2603
|
"type": "option"
|
|
2431
2604
|
},
|
|
2432
|
-
"
|
|
2433
|
-
"
|
|
2434
|
-
"
|
|
2435
|
-
"exclusive": [
|
|
2436
|
-
"prompt"
|
|
2437
|
-
],
|
|
2438
|
-
"name": "chat",
|
|
2605
|
+
"dry-run": {
|
|
2606
|
+
"description": "Validate without executing",
|
|
2607
|
+
"name": "dry-run",
|
|
2439
2608
|
"allowNo": false,
|
|
2440
2609
|
"type": "boolean"
|
|
2441
2610
|
},
|
|
@@ -2471,7 +2640,7 @@
|
|
|
2471
2640
|
},
|
|
2472
2641
|
"hasDynamicHelp": false,
|
|
2473
2642
|
"hiddenAliases": [],
|
|
2474
|
-
"id": "ai:
|
|
2643
|
+
"id": "ai:actions:run",
|
|
2475
2644
|
"pluginAlias": "@memberjunction/cli",
|
|
2476
2645
|
"pluginName": "@memberjunction/cli",
|
|
2477
2646
|
"pluginType": "core",
|
|
@@ -2482,7 +2651,7 @@
|
|
|
2482
2651
|
"dist",
|
|
2483
2652
|
"commands",
|
|
2484
2653
|
"ai",
|
|
2485
|
-
"
|
|
2654
|
+
"actions",
|
|
2486
2655
|
"run.js"
|
|
2487
2656
|
]
|
|
2488
2657
|
},
|
|
@@ -2702,6 +2871,135 @@
|
|
|
2702
2871
|
"index.js"
|
|
2703
2872
|
]
|
|
2704
2873
|
},
|
|
2874
|
+
"ai:agents:list": {
|
|
2875
|
+
"aliases": [],
|
|
2876
|
+
"args": {},
|
|
2877
|
+
"description": "List available AI agents",
|
|
2878
|
+
"examples": [
|
|
2879
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2880
|
+
"<%= config.bin %> <%= command.id %> --output=table",
|
|
2881
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
2882
|
+
],
|
|
2883
|
+
"flags": {
|
|
2884
|
+
"output": {
|
|
2885
|
+
"char": "o",
|
|
2886
|
+
"description": "Output format",
|
|
2887
|
+
"name": "output",
|
|
2888
|
+
"default": "compact",
|
|
2889
|
+
"hasDynamicHelp": false,
|
|
2890
|
+
"multiple": false,
|
|
2891
|
+
"options": [
|
|
2892
|
+
"compact",
|
|
2893
|
+
"json",
|
|
2894
|
+
"table"
|
|
2895
|
+
],
|
|
2896
|
+
"type": "option"
|
|
2897
|
+
}
|
|
2898
|
+
},
|
|
2899
|
+
"hasDynamicHelp": false,
|
|
2900
|
+
"hiddenAliases": [],
|
|
2901
|
+
"id": "ai:agents:list",
|
|
2902
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2903
|
+
"pluginName": "@memberjunction/cli",
|
|
2904
|
+
"pluginType": "core",
|
|
2905
|
+
"strict": true,
|
|
2906
|
+
"enableJsonFlag": false,
|
|
2907
|
+
"isESM": true,
|
|
2908
|
+
"relativePath": [
|
|
2909
|
+
"dist",
|
|
2910
|
+
"commands",
|
|
2911
|
+
"ai",
|
|
2912
|
+
"agents",
|
|
2913
|
+
"list.js"
|
|
2914
|
+
]
|
|
2915
|
+
},
|
|
2916
|
+
"ai:agents:run": {
|
|
2917
|
+
"aliases": [],
|
|
2918
|
+
"args": {},
|
|
2919
|
+
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
2920
|
+
"examples": [
|
|
2921
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Requirements Expert\" -p \"Create a dashboard for sales metrics\"",
|
|
2922
|
+
"<%= config.bin %> <%= command.id %> -a \"Child Component Generator Sub-agent\" --chat",
|
|
2923
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Technical Design Expert\" -p \"Build a React component\" --verbose --timeout=600000"
|
|
2924
|
+
],
|
|
2925
|
+
"flags": {
|
|
2926
|
+
"agent": {
|
|
2927
|
+
"char": "a",
|
|
2928
|
+
"description": "Agent name",
|
|
2929
|
+
"name": "agent",
|
|
2930
|
+
"required": true,
|
|
2931
|
+
"hasDynamicHelp": false,
|
|
2932
|
+
"multiple": false,
|
|
2933
|
+
"type": "option"
|
|
2934
|
+
},
|
|
2935
|
+
"prompt": {
|
|
2936
|
+
"char": "p",
|
|
2937
|
+
"description": "Prompt to execute",
|
|
2938
|
+
"exclusive": [
|
|
2939
|
+
"chat"
|
|
2940
|
+
],
|
|
2941
|
+
"name": "prompt",
|
|
2942
|
+
"hasDynamicHelp": false,
|
|
2943
|
+
"multiple": false,
|
|
2944
|
+
"type": "option"
|
|
2945
|
+
},
|
|
2946
|
+
"chat": {
|
|
2947
|
+
"char": "c",
|
|
2948
|
+
"description": "Start interactive chat mode",
|
|
2949
|
+
"exclusive": [
|
|
2950
|
+
"prompt"
|
|
2951
|
+
],
|
|
2952
|
+
"name": "chat",
|
|
2953
|
+
"allowNo": false,
|
|
2954
|
+
"type": "boolean"
|
|
2955
|
+
},
|
|
2956
|
+
"output": {
|
|
2957
|
+
"char": "o",
|
|
2958
|
+
"description": "Output format",
|
|
2959
|
+
"name": "output",
|
|
2960
|
+
"default": "compact",
|
|
2961
|
+
"hasDynamicHelp": false,
|
|
2962
|
+
"multiple": false,
|
|
2963
|
+
"options": [
|
|
2964
|
+
"compact",
|
|
2965
|
+
"json",
|
|
2966
|
+
"table"
|
|
2967
|
+
],
|
|
2968
|
+
"type": "option"
|
|
2969
|
+
},
|
|
2970
|
+
"verbose": {
|
|
2971
|
+
"char": "v",
|
|
2972
|
+
"description": "Show detailed execution information",
|
|
2973
|
+
"name": "verbose",
|
|
2974
|
+
"allowNo": false,
|
|
2975
|
+
"type": "boolean"
|
|
2976
|
+
},
|
|
2977
|
+
"timeout": {
|
|
2978
|
+
"description": "Execution timeout in milliseconds",
|
|
2979
|
+
"name": "timeout",
|
|
2980
|
+
"default": 300000,
|
|
2981
|
+
"hasDynamicHelp": false,
|
|
2982
|
+
"multiple": false,
|
|
2983
|
+
"type": "option"
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
"hasDynamicHelp": false,
|
|
2987
|
+
"hiddenAliases": [],
|
|
2988
|
+
"id": "ai:agents:run",
|
|
2989
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2990
|
+
"pluginName": "@memberjunction/cli",
|
|
2991
|
+
"pluginType": "core",
|
|
2992
|
+
"strict": true,
|
|
2993
|
+
"enableJsonFlag": false,
|
|
2994
|
+
"isESM": true,
|
|
2995
|
+
"relativePath": [
|
|
2996
|
+
"dist",
|
|
2997
|
+
"commands",
|
|
2998
|
+
"ai",
|
|
2999
|
+
"agents",
|
|
3000
|
+
"run.js"
|
|
3001
|
+
]
|
|
3002
|
+
},
|
|
2705
3003
|
"ai:prompts:list": {
|
|
2706
3004
|
"aliases": [],
|
|
2707
3005
|
"args": {},
|
|
@@ -2842,5 +3140,5 @@
|
|
|
2842
3140
|
]
|
|
2843
3141
|
}
|
|
2844
3142
|
},
|
|
2845
|
-
"version": "5.
|
|
3143
|
+
"version": "5.1.0"
|
|
2846
3144
|
}
|