@memberjunction/cli 3.3.0 → 4.0.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/README.md +28 -0
- package/bin/dev.cmd +2 -2
- package/bin/dev.js +5 -6
- package/bin/run.cmd +3 -3
- package/bin/run.js +14 -5
- package/dist/commands/ai/actions/list.d.ts +1 -0
- package/dist/commands/ai/actions/list.d.ts.map +1 -0
- package/dist/commands/ai/actions/list.js +14 -19
- package/dist/commands/ai/actions/list.js.map +1 -0
- package/dist/commands/ai/actions/run.d.ts +2 -1
- package/dist/commands/ai/actions/run.d.ts.map +1 -0
- package/dist/commands/ai/actions/run.js +24 -29
- package/dist/commands/ai/actions/run.js.map +1 -0
- package/dist/commands/ai/agents/list.d.ts +1 -0
- package/dist/commands/ai/agents/list.d.ts.map +1 -0
- package/dist/commands/ai/agents/list.js +14 -19
- package/dist/commands/ai/agents/list.js.map +1 -0
- package/dist/commands/ai/agents/run.d.ts +2 -1
- package/dist/commands/ai/agents/run.d.ts.map +1 -0
- package/dist/commands/ai/agents/run.js +20 -25
- package/dist/commands/ai/agents/run.js.map +1 -0
- package/dist/commands/ai/audit/agent-run.d.ts +7 -6
- package/dist/commands/ai/audit/agent-run.d.ts.map +1 -0
- package/dist/commands/ai/audit/agent-run.js +35 -63
- package/dist/commands/ai/audit/agent-run.js.map +1 -0
- package/dist/commands/ai/audit/index.d.ts +1 -0
- package/dist/commands/ai/audit/index.d.ts.map +1 -0
- package/dist/commands/ai/audit/index.js +5 -7
- package/dist/commands/ai/audit/index.js.map +1 -0
- package/dist/commands/ai/index.d.ts +1 -0
- package/dist/commands/ai/index.d.ts.map +1 -0
- package/dist/commands/ai/index.js +5 -7
- package/dist/commands/ai/index.js.map +1 -0
- package/dist/commands/ai/prompts/list.d.ts +1 -0
- package/dist/commands/ai/prompts/list.d.ts.map +1 -0
- package/dist/commands/ai/prompts/list.js +18 -23
- package/dist/commands/ai/prompts/list.js.map +1 -0
- package/dist/commands/ai/prompts/run.d.ts +6 -5
- package/dist/commands/ai/prompts/run.d.ts.map +1 -0
- package/dist/commands/ai/prompts/run.js +22 -27
- package/dist/commands/ai/prompts/run.js.map +1 -0
- package/dist/commands/bump/index.d.ts +2 -1
- package/dist/commands/bump/index.d.ts.map +1 -0
- package/dist/commands/bump/index.js +24 -52
- package/dist/commands/bump/index.js.map +1 -0
- package/dist/commands/clean/index.d.ts +3 -2
- package/dist/commands/clean/index.d.ts.map +1 -0
- package/dist/commands/clean/index.js +16 -22
- package/dist/commands/clean/index.js.map +1 -0
- package/dist/commands/codegen/index.d.ts +3 -2
- package/dist/commands/codegen/index.d.ts.map +1 -0
- package/dist/commands/codegen/index.js +14 -17
- package/dist/commands/codegen/index.js.map +1 -0
- package/dist/commands/codegen/manifest.d.ts +15 -0
- package/dist/commands/codegen/manifest.d.ts.map +1 -0
- package/dist/commands/codegen/manifest.js +65 -0
- package/dist/commands/codegen/manifest.js.map +1 -0
- package/dist/commands/dbdoc/analyze.d.ts +2 -1
- package/dist/commands/dbdoc/analyze.d.ts.map +1 -0
- package/dist/commands/dbdoc/analyze.js +11 -36
- package/dist/commands/dbdoc/analyze.js.map +1 -0
- package/dist/commands/dbdoc/export-sample-queries.d.ts +2 -1
- package/dist/commands/dbdoc/export-sample-queries.d.ts.map +1 -0
- package/dist/commands/dbdoc/export-sample-queries.js +19 -44
- package/dist/commands/dbdoc/export-sample-queries.js.map +1 -0
- package/dist/commands/dbdoc/export.d.ts +3 -2
- package/dist/commands/dbdoc/export.d.ts.map +1 -0
- package/dist/commands/dbdoc/export.js +20 -45
- package/dist/commands/dbdoc/export.js.map +1 -0
- package/dist/commands/dbdoc/generate-queries.d.ts +4 -3
- package/dist/commands/dbdoc/generate-queries.d.ts.map +1 -0
- package/dist/commands/dbdoc/generate-queries.js +14 -39
- package/dist/commands/dbdoc/generate-queries.js.map +1 -0
- package/dist/commands/dbdoc/index.d.ts +1 -0
- package/dist/commands/dbdoc/index.d.ts.map +1 -0
- package/dist/commands/dbdoc/index.js +5 -7
- package/dist/commands/dbdoc/index.js.map +1 -0
- package/dist/commands/dbdoc/init.d.ts +1 -0
- package/dist/commands/dbdoc/init.d.ts.map +1 -0
- package/dist/commands/dbdoc/init.js +7 -32
- package/dist/commands/dbdoc/init.js.map +1 -0
- package/dist/commands/dbdoc/reset.d.ts +1 -0
- package/dist/commands/dbdoc/reset.d.ts.map +1 -0
- package/dist/commands/dbdoc/reset.js +10 -35
- package/dist/commands/dbdoc/reset.js.map +1 -0
- package/dist/commands/dbdoc/review.d.ts +10 -0
- package/dist/commands/dbdoc/review.js +81 -0
- package/dist/commands/dbdoc/status.d.ts +2 -1
- package/dist/commands/dbdoc/status.d.ts.map +1 -0
- package/dist/commands/dbdoc/status.js +10 -35
- package/dist/commands/dbdoc/status.js.map +1 -0
- package/dist/commands/install/index.d.ts +76 -75
- package/dist/commands/install/index.d.ts.map +1 -0
- package/dist/commands/install/index.js +81 -111
- package/dist/commands/install/index.js.map +1 -0
- package/dist/commands/migrate/index.d.ts +4 -1
- package/dist/commands/migrate/index.d.ts.map +1 -0
- package/dist/commands/migrate/index.js +83 -73
- package/dist/commands/migrate/index.js.map +1 -0
- package/dist/commands/querygen/export.d.ts +1 -0
- package/dist/commands/querygen/export.d.ts.map +1 -0
- package/dist/commands/querygen/export.js +15 -17
- package/dist/commands/querygen/export.js.map +1 -0
- package/dist/commands/querygen/generate.d.ts +8 -7
- package/dist/commands/querygen/generate.d.ts.map +1 -0
- package/dist/commands/querygen/generate.js +28 -30
- package/dist/commands/querygen/generate.js.map +1 -0
- package/dist/commands/querygen/validate.d.ts +1 -0
- package/dist/commands/querygen/validate.d.ts.map +1 -0
- package/dist/commands/querygen/validate.js +15 -17
- package/dist/commands/querygen/validate.js.map +1 -0
- package/dist/commands/sync/file-reset.d.ts +3 -2
- package/dist/commands/sync/file-reset.d.ts.map +1 -0
- package/dist/commands/sync/file-reset.js +36 -64
- package/dist/commands/sync/file-reset.js.map +1 -0
- package/dist/commands/sync/init.d.ts +1 -0
- package/dist/commands/sync/init.d.ts.map +1 -0
- package/dist/commands/sync/init.js +16 -21
- package/dist/commands/sync/init.js.map +1 -0
- package/dist/commands/sync/pull.d.ts +7 -6
- package/dist/commands/sync/pull.d.ts.map +1 -0
- package/dist/commands/sync/pull.js +46 -51
- package/dist/commands/sync/pull.js.map +1 -0
- package/dist/commands/sync/push.d.ts +4 -3
- package/dist/commands/sync/push.d.ts.map +1 -0
- package/dist/commands/sync/push.js +44 -49
- package/dist/commands/sync/push.js.map +1 -0
- package/dist/commands/sync/status.d.ts +4 -3
- package/dist/commands/sync/status.d.ts.map +1 -0
- package/dist/commands/sync/status.js +28 -33
- package/dist/commands/sync/status.js.map +1 -0
- package/dist/commands/sync/validate.d.ts +3 -2
- package/dist/commands/sync/validate.d.ts.map +1 -0
- package/dist/commands/sync/validate.js +31 -59
- package/dist/commands/sync/validate.js.map +1 -0
- package/dist/commands/sync/watch.d.ts +3 -2
- package/dist/commands/sync/watch.d.ts.map +1 -0
- package/dist/commands/sync/watch.js +34 -63
- package/dist/commands/sync/watch.js.map +1 -0
- package/dist/commands/test/compare.d.ts +6 -5
- package/dist/commands/test/compare.d.ts.map +1 -0
- package/dist/commands/test/compare.js +20 -22
- package/dist/commands/test/compare.js.map +1 -0
- package/dist/commands/test/history.d.ts +6 -5
- package/dist/commands/test/history.d.ts.map +1 -0
- package/dist/commands/test/history.js +17 -19
- package/dist/commands/test/history.js.map +1 -0
- package/dist/commands/test/index.d.ts +1 -0
- package/dist/commands/test/index.d.ts.map +1 -0
- package/dist/commands/test/index.js +6 -8
- package/dist/commands/test/index.js.map +1 -0
- package/dist/commands/test/list.d.ts +5 -4
- package/dist/commands/test/list.d.ts.map +1 -0
- package/dist/commands/test/list.js +18 -20
- package/dist/commands/test/list.js.map +1 -0
- package/dist/commands/test/run.d.ts +5 -4
- package/dist/commands/test/run.d.ts.map +1 -0
- package/dist/commands/test/run.js +19 -21
- package/dist/commands/test/run.js.map +1 -0
- package/dist/commands/test/suite.d.ts +4 -3
- package/dist/commands/test/suite.d.ts.map +1 -0
- package/dist/commands/test/suite.js +17 -19
- package/dist/commands/test/suite.js.map +1 -0
- package/dist/commands/test/validate.d.ts +4 -3
- package/dist/commands/test/validate.d.ts.map +1 -0
- package/dist/commands/test/validate.js +19 -21
- package/dist/commands/test/validate.js.map +1 -0
- package/dist/config.d.ts +76 -38
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +108 -60
- package/dist/config.js.map +1 -0
- package/dist/hooks/init.d.ts +1 -0
- package/dist/hooks/init.d.ts.map +1 -0
- package/dist/hooks/init.js +5 -29
- package/dist/hooks/init.js.map +1 -0
- package/dist/hooks/prerun.d.ts +1 -0
- package/dist/hooks/prerun.d.ts.map +1 -0
- package/dist/hooks/prerun.js +4 -8
- package/dist/hooks/prerun.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -5
- package/dist/index.js.map +1 -0
- package/package.json +32 -30
- package/oclif.manifest.json +0 -2504
package/oclif.manifest.json
DELETED
|
@@ -1,2504 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"commands": {
|
|
3
|
-
"ai": {
|
|
4
|
-
"aliases": [],
|
|
5
|
-
"args": {},
|
|
6
|
-
"description": "Execute AI agents and actions",
|
|
7
|
-
"flags": {},
|
|
8
|
-
"hasDynamicHelp": false,
|
|
9
|
-
"hidden": false,
|
|
10
|
-
"hiddenAliases": [],
|
|
11
|
-
"id": "ai",
|
|
12
|
-
"pluginAlias": "@memberjunction/cli",
|
|
13
|
-
"pluginName": "@memberjunction/cli",
|
|
14
|
-
"pluginType": "core",
|
|
15
|
-
"strict": true,
|
|
16
|
-
"enableJsonFlag": false,
|
|
17
|
-
"isESM": false,
|
|
18
|
-
"relativePath": [
|
|
19
|
-
"dist",
|
|
20
|
-
"commands",
|
|
21
|
-
"ai",
|
|
22
|
-
"index.js"
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"bump": {
|
|
26
|
-
"aliases": [],
|
|
27
|
-
"args": {},
|
|
28
|
-
"description": "Bumps MemberJunction dependency versions",
|
|
29
|
-
"examples": [
|
|
30
|
-
{
|
|
31
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
32
|
-
"description": "Bump all @memberjunction/* dependencies in the current directory's package.json to the CLI version"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"command": "<%= config.bin %> <%= command.id %> -rdv",
|
|
36
|
-
"description": "Preview all recursive packages bumps without writing any changes."
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
|
|
40
|
-
"description": "Recursively bump all @memberjunction/* dependencies in all packages to version v2.10.0 and output only the paths containing the updated package.json files. Pipe the output to xargs to run npm install in each directory and update the package-lock.json files as well."
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"flags": {
|
|
44
|
-
"verbose": {
|
|
45
|
-
"char": "v",
|
|
46
|
-
"description": "Enable additional logging",
|
|
47
|
-
"name": "verbose",
|
|
48
|
-
"allowNo": false,
|
|
49
|
-
"type": "boolean"
|
|
50
|
-
},
|
|
51
|
-
"recursive": {
|
|
52
|
-
"char": "r",
|
|
53
|
-
"description": "Bump version in current directory and all subdirectories",
|
|
54
|
-
"name": "recursive",
|
|
55
|
-
"allowNo": false,
|
|
56
|
-
"type": "boolean"
|
|
57
|
-
},
|
|
58
|
-
"tag": {
|
|
59
|
-
"char": "t",
|
|
60
|
-
"description": "Version tag to bump target for bump (e.g. v2.10.0), defaults to the CLI version",
|
|
61
|
-
"name": "tag",
|
|
62
|
-
"hasDynamicHelp": false,
|
|
63
|
-
"multiple": false,
|
|
64
|
-
"type": "option"
|
|
65
|
-
},
|
|
66
|
-
"quiet": {
|
|
67
|
-
"char": "q",
|
|
68
|
-
"description": "Only output paths for updated packages",
|
|
69
|
-
"name": "quiet",
|
|
70
|
-
"allowNo": false,
|
|
71
|
-
"type": "boolean"
|
|
72
|
-
},
|
|
73
|
-
"dry": {
|
|
74
|
-
"char": "d",
|
|
75
|
-
"description": "Dry run, do not write changes to package.json files",
|
|
76
|
-
"name": "dry",
|
|
77
|
-
"allowNo": false,
|
|
78
|
-
"type": "boolean"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"hasDynamicHelp": false,
|
|
82
|
-
"hiddenAliases": [],
|
|
83
|
-
"id": "bump",
|
|
84
|
-
"pluginAlias": "@memberjunction/cli",
|
|
85
|
-
"pluginName": "@memberjunction/cli",
|
|
86
|
-
"pluginType": "core",
|
|
87
|
-
"strict": true,
|
|
88
|
-
"enableJsonFlag": false,
|
|
89
|
-
"isESM": false,
|
|
90
|
-
"relativePath": [
|
|
91
|
-
"dist",
|
|
92
|
-
"commands",
|
|
93
|
-
"bump",
|
|
94
|
-
"index.js"
|
|
95
|
-
]
|
|
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": false,
|
|
122
|
-
"relativePath": [
|
|
123
|
-
"dist",
|
|
124
|
-
"commands",
|
|
125
|
-
"clean",
|
|
126
|
-
"index.js"
|
|
127
|
-
]
|
|
128
|
-
},
|
|
129
|
-
"codegen": {
|
|
130
|
-
"aliases": [],
|
|
131
|
-
"args": {},
|
|
132
|
-
"description": "Run CodeGen to generate code and update metadata for MemberJunction",
|
|
133
|
-
"examples": [
|
|
134
|
-
"<%= config.bin %> <%= command.id %>\n"
|
|
135
|
-
],
|
|
136
|
-
"flags": {
|
|
137
|
-
"skipdb": {
|
|
138
|
-
"description": "Skip database migration",
|
|
139
|
-
"name": "skipdb",
|
|
140
|
-
"allowNo": false,
|
|
141
|
-
"type": "boolean"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"hasDynamicHelp": false,
|
|
145
|
-
"hiddenAliases": [],
|
|
146
|
-
"id": "codegen",
|
|
147
|
-
"pluginAlias": "@memberjunction/cli",
|
|
148
|
-
"pluginName": "@memberjunction/cli",
|
|
149
|
-
"pluginType": "core",
|
|
150
|
-
"strict": true,
|
|
151
|
-
"enableJsonFlag": false,
|
|
152
|
-
"isESM": false,
|
|
153
|
-
"relativePath": [
|
|
154
|
-
"dist",
|
|
155
|
-
"commands",
|
|
156
|
-
"codegen",
|
|
157
|
-
"index.js"
|
|
158
|
-
]
|
|
159
|
-
},
|
|
160
|
-
"dbdoc:analyze": {
|
|
161
|
-
"aliases": [],
|
|
162
|
-
"args": {},
|
|
163
|
-
"description": "Analyze database and generate documentation (delegates to db-auto-doc analyze)",
|
|
164
|
-
"examples": [
|
|
165
|
-
"<%= config.bin %> <%= command.id %>",
|
|
166
|
-
"<%= config.bin %> <%= command.id %> --resume ./output/run-6/state.json",
|
|
167
|
-
"<%= config.bin %> <%= command.id %> --config ./my-config.json"
|
|
168
|
-
],
|
|
169
|
-
"flags": {
|
|
170
|
-
"resume": {
|
|
171
|
-
"char": "r",
|
|
172
|
-
"description": "Resume from an existing state file",
|
|
173
|
-
"name": "resume",
|
|
174
|
-
"required": false,
|
|
175
|
-
"hasDynamicHelp": false,
|
|
176
|
-
"multiple": false,
|
|
177
|
-
"type": "option"
|
|
178
|
-
},
|
|
179
|
-
"config": {
|
|
180
|
-
"char": "c",
|
|
181
|
-
"description": "Path to config file",
|
|
182
|
-
"name": "config",
|
|
183
|
-
"default": "./config.json",
|
|
184
|
-
"hasDynamicHelp": false,
|
|
185
|
-
"multiple": false,
|
|
186
|
-
"type": "option"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"hasDynamicHelp": false,
|
|
190
|
-
"hiddenAliases": [],
|
|
191
|
-
"id": "dbdoc:analyze",
|
|
192
|
-
"pluginAlias": "@memberjunction/cli",
|
|
193
|
-
"pluginName": "@memberjunction/cli",
|
|
194
|
-
"pluginType": "core",
|
|
195
|
-
"strict": true,
|
|
196
|
-
"enableJsonFlag": false,
|
|
197
|
-
"isESM": false,
|
|
198
|
-
"relativePath": [
|
|
199
|
-
"dist",
|
|
200
|
-
"commands",
|
|
201
|
-
"dbdoc",
|
|
202
|
-
"analyze.js"
|
|
203
|
-
]
|
|
204
|
-
},
|
|
205
|
-
"dbdoc:export-sample-queries": {
|
|
206
|
-
"aliases": [],
|
|
207
|
-
"args": {},
|
|
208
|
-
"description": "Export sample queries to MemberJunction metadata format (delegates to db-auto-doc export-sample-queries)",
|
|
209
|
-
"examples": [
|
|
210
|
-
"<%= config.bin %> <%= command.id %> --input ./output/sample-queries.json --output ./metadata/queries/.queries.json",
|
|
211
|
-
"<%= config.bin %> <%= command.id %> --input ./sample-queries.json --output ./metadata/queries/.queries.json --separate-sql-files",
|
|
212
|
-
"<%= config.bin %> <%= command.id %> --input ./sample-queries.json --output ./queries/.queries.json --category \"Database Documentation\"",
|
|
213
|
-
"<%= config.bin %> <%= command.id %> --input ./sample-queries.json --output ./queries/.queries.json --status Pending --min-confidence 0.8"
|
|
214
|
-
],
|
|
215
|
-
"flags": {
|
|
216
|
-
"input": {
|
|
217
|
-
"char": "i",
|
|
218
|
-
"description": "Path to sample-queries.json file generated by generate-queries command",
|
|
219
|
-
"name": "input",
|
|
220
|
-
"required": true,
|
|
221
|
-
"hasDynamicHelp": false,
|
|
222
|
-
"multiple": false,
|
|
223
|
-
"type": "option"
|
|
224
|
-
},
|
|
225
|
-
"output": {
|
|
226
|
-
"char": "o",
|
|
227
|
-
"description": "Output path for the .queries.json metadata file",
|
|
228
|
-
"name": "output",
|
|
229
|
-
"required": true,
|
|
230
|
-
"hasDynamicHelp": false,
|
|
231
|
-
"multiple": false,
|
|
232
|
-
"type": "option"
|
|
233
|
-
},
|
|
234
|
-
"separate-sql-files": {
|
|
235
|
-
"description": "Write SQL to separate files and use @file: references",
|
|
236
|
-
"name": "separate-sql-files",
|
|
237
|
-
"allowNo": false,
|
|
238
|
-
"type": "boolean"
|
|
239
|
-
},
|
|
240
|
-
"sql-dir": {
|
|
241
|
-
"description": "Directory for SQL files when using --separate-sql-files (relative to output file)",
|
|
242
|
-
"name": "sql-dir",
|
|
243
|
-
"default": "SQL",
|
|
244
|
-
"hasDynamicHelp": false,
|
|
245
|
-
"multiple": false,
|
|
246
|
-
"type": "option"
|
|
247
|
-
},
|
|
248
|
-
"category": {
|
|
249
|
-
"description": "Category name for @lookup reference (e.g., \"Database Documentation\")",
|
|
250
|
-
"name": "category",
|
|
251
|
-
"required": false,
|
|
252
|
-
"hasDynamicHelp": false,
|
|
253
|
-
"multiple": false,
|
|
254
|
-
"type": "option"
|
|
255
|
-
},
|
|
256
|
-
"status": {
|
|
257
|
-
"description": "Status to assign to exported queries",
|
|
258
|
-
"name": "status",
|
|
259
|
-
"default": "Pending",
|
|
260
|
-
"hasDynamicHelp": false,
|
|
261
|
-
"multiple": false,
|
|
262
|
-
"options": [
|
|
263
|
-
"Approved",
|
|
264
|
-
"Pending",
|
|
265
|
-
"Rejected",
|
|
266
|
-
"Expired"
|
|
267
|
-
],
|
|
268
|
-
"type": "option"
|
|
269
|
-
},
|
|
270
|
-
"min-confidence": {
|
|
271
|
-
"description": "Minimum confidence threshold to export (0-1)",
|
|
272
|
-
"name": "min-confidence",
|
|
273
|
-
"default": "0",
|
|
274
|
-
"hasDynamicHelp": false,
|
|
275
|
-
"multiple": false,
|
|
276
|
-
"type": "option"
|
|
277
|
-
},
|
|
278
|
-
"validated-only": {
|
|
279
|
-
"description": "Only export queries that were successfully validated",
|
|
280
|
-
"name": "validated-only",
|
|
281
|
-
"allowNo": false,
|
|
282
|
-
"type": "boolean"
|
|
283
|
-
},
|
|
284
|
-
"append": {
|
|
285
|
-
"description": "Append to existing metadata file instead of overwriting",
|
|
286
|
-
"name": "append",
|
|
287
|
-
"allowNo": false,
|
|
288
|
-
"type": "boolean"
|
|
289
|
-
},
|
|
290
|
-
"include-primary-key": {
|
|
291
|
-
"description": "Include primaryKey and sync fields (for updating existing records)",
|
|
292
|
-
"name": "include-primary-key",
|
|
293
|
-
"allowNo": false,
|
|
294
|
-
"type": "boolean"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
"hasDynamicHelp": false,
|
|
298
|
-
"hiddenAliases": [],
|
|
299
|
-
"id": "dbdoc:export-sample-queries",
|
|
300
|
-
"pluginAlias": "@memberjunction/cli",
|
|
301
|
-
"pluginName": "@memberjunction/cli",
|
|
302
|
-
"pluginType": "core",
|
|
303
|
-
"strict": true,
|
|
304
|
-
"enableJsonFlag": false,
|
|
305
|
-
"isESM": false,
|
|
306
|
-
"relativePath": [
|
|
307
|
-
"dist",
|
|
308
|
-
"commands",
|
|
309
|
-
"dbdoc",
|
|
310
|
-
"export-sample-queries.js"
|
|
311
|
-
]
|
|
312
|
-
},
|
|
313
|
-
"dbdoc:export": {
|
|
314
|
-
"aliases": [],
|
|
315
|
-
"args": {},
|
|
316
|
-
"description": "Export documentation in multiple formats (delegates to db-auto-doc export)",
|
|
317
|
-
"examples": [
|
|
318
|
-
"<%= config.bin %> <%= command.id %> --state-file=./db-doc-state.json",
|
|
319
|
-
"<%= config.bin %> <%= command.id %> --sql",
|
|
320
|
-
"<%= config.bin %> <%= command.id %> --markdown",
|
|
321
|
-
"<%= config.bin %> <%= command.id %> --html",
|
|
322
|
-
"<%= config.bin %> <%= command.id %> --csv",
|
|
323
|
-
"<%= config.bin %> <%= command.id %> --mermaid",
|
|
324
|
-
"<%= config.bin %> <%= command.id %> --sql --markdown --html --csv --mermaid --apply"
|
|
325
|
-
],
|
|
326
|
-
"flags": {
|
|
327
|
-
"state-file": {
|
|
328
|
-
"char": "s",
|
|
329
|
-
"description": "Path to state JSON file",
|
|
330
|
-
"name": "state-file",
|
|
331
|
-
"hasDynamicHelp": false,
|
|
332
|
-
"multiple": false,
|
|
333
|
-
"type": "option"
|
|
334
|
-
},
|
|
335
|
-
"output-dir": {
|
|
336
|
-
"char": "o",
|
|
337
|
-
"description": "Output directory for generated files",
|
|
338
|
-
"name": "output-dir",
|
|
339
|
-
"hasDynamicHelp": false,
|
|
340
|
-
"multiple": false,
|
|
341
|
-
"type": "option"
|
|
342
|
-
},
|
|
343
|
-
"sql": {
|
|
344
|
-
"description": "Generate SQL script",
|
|
345
|
-
"name": "sql",
|
|
346
|
-
"allowNo": false,
|
|
347
|
-
"type": "boolean"
|
|
348
|
-
},
|
|
349
|
-
"markdown": {
|
|
350
|
-
"description": "Generate Markdown documentation",
|
|
351
|
-
"name": "markdown",
|
|
352
|
-
"allowNo": false,
|
|
353
|
-
"type": "boolean"
|
|
354
|
-
},
|
|
355
|
-
"html": {
|
|
356
|
-
"description": "Generate interactive HTML documentation",
|
|
357
|
-
"name": "html",
|
|
358
|
-
"allowNo": false,
|
|
359
|
-
"type": "boolean"
|
|
360
|
-
},
|
|
361
|
-
"csv": {
|
|
362
|
-
"description": "Generate CSV exports (tables and columns)",
|
|
363
|
-
"name": "csv",
|
|
364
|
-
"allowNo": false,
|
|
365
|
-
"type": "boolean"
|
|
366
|
-
},
|
|
367
|
-
"mermaid": {
|
|
368
|
-
"description": "Generate Mermaid ERD diagram files",
|
|
369
|
-
"name": "mermaid",
|
|
370
|
-
"allowNo": false,
|
|
371
|
-
"type": "boolean"
|
|
372
|
-
},
|
|
373
|
-
"report": {
|
|
374
|
-
"description": "Generate analysis report",
|
|
375
|
-
"name": "report",
|
|
376
|
-
"allowNo": false,
|
|
377
|
-
"type": "boolean"
|
|
378
|
-
},
|
|
379
|
-
"apply": {
|
|
380
|
-
"description": "Apply SQL to database",
|
|
381
|
-
"name": "apply",
|
|
382
|
-
"allowNo": false,
|
|
383
|
-
"type": "boolean"
|
|
384
|
-
},
|
|
385
|
-
"approved-only": {
|
|
386
|
-
"description": "Only export approved items",
|
|
387
|
-
"name": "approved-only",
|
|
388
|
-
"allowNo": false,
|
|
389
|
-
"type": "boolean"
|
|
390
|
-
},
|
|
391
|
-
"confidence-threshold": {
|
|
392
|
-
"description": "Minimum confidence threshold",
|
|
393
|
-
"name": "confidence-threshold",
|
|
394
|
-
"default": "0",
|
|
395
|
-
"hasDynamicHelp": false,
|
|
396
|
-
"multiple": false,
|
|
397
|
-
"type": "option"
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
"hasDynamicHelp": false,
|
|
401
|
-
"hiddenAliases": [],
|
|
402
|
-
"id": "dbdoc:export",
|
|
403
|
-
"pluginAlias": "@memberjunction/cli",
|
|
404
|
-
"pluginName": "@memberjunction/cli",
|
|
405
|
-
"pluginType": "core",
|
|
406
|
-
"strict": true,
|
|
407
|
-
"enableJsonFlag": false,
|
|
408
|
-
"isESM": false,
|
|
409
|
-
"relativePath": [
|
|
410
|
-
"dist",
|
|
411
|
-
"commands",
|
|
412
|
-
"dbdoc",
|
|
413
|
-
"export.js"
|
|
414
|
-
]
|
|
415
|
-
},
|
|
416
|
-
"dbdoc:generate-queries": {
|
|
417
|
-
"aliases": [],
|
|
418
|
-
"args": {},
|
|
419
|
-
"description": "Generate sample SQL queries from existing analysis state (delegates to db-auto-doc generate-queries)",
|
|
420
|
-
"examples": [
|
|
421
|
-
"<%= config.bin %> <%= command.id %> --from-state ./output/run-1/state.json",
|
|
422
|
-
"<%= config.bin %> <%= command.id %> --from-state ./output/run-1/state.json --output-dir ./queries",
|
|
423
|
-
"<%= config.bin %> <%= command.id %> --from-state ./output/run-1/state.json --queries-per-table 10"
|
|
424
|
-
],
|
|
425
|
-
"flags": {
|
|
426
|
-
"from-state": {
|
|
427
|
-
"description": "Path to existing state.json file from previous analysis",
|
|
428
|
-
"name": "from-state",
|
|
429
|
-
"required": true,
|
|
430
|
-
"hasDynamicHelp": false,
|
|
431
|
-
"multiple": false,
|
|
432
|
-
"type": "option"
|
|
433
|
-
},
|
|
434
|
-
"output-dir": {
|
|
435
|
-
"description": "Output directory for generated queries",
|
|
436
|
-
"name": "output-dir",
|
|
437
|
-
"required": false,
|
|
438
|
-
"hasDynamicHelp": false,
|
|
439
|
-
"multiple": false,
|
|
440
|
-
"type": "option"
|
|
441
|
-
},
|
|
442
|
-
"config": {
|
|
443
|
-
"char": "c",
|
|
444
|
-
"description": "Path to config file (for database connection and AI settings)",
|
|
445
|
-
"name": "config",
|
|
446
|
-
"default": "./config.json",
|
|
447
|
-
"hasDynamicHelp": false,
|
|
448
|
-
"multiple": false,
|
|
449
|
-
"type": "option"
|
|
450
|
-
},
|
|
451
|
-
"queries-per-table": {
|
|
452
|
-
"description": "Number of queries to generate per table",
|
|
453
|
-
"name": "queries-per-table",
|
|
454
|
-
"required": false,
|
|
455
|
-
"hasDynamicHelp": false,
|
|
456
|
-
"multiple": false,
|
|
457
|
-
"type": "option"
|
|
458
|
-
},
|
|
459
|
-
"max-execution-time": {
|
|
460
|
-
"description": "Maximum execution time for query validation (ms)",
|
|
461
|
-
"name": "max-execution-time",
|
|
462
|
-
"required": false,
|
|
463
|
-
"hasDynamicHelp": false,
|
|
464
|
-
"multiple": false,
|
|
465
|
-
"type": "option"
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
|
-
"hasDynamicHelp": false,
|
|
469
|
-
"hiddenAliases": [],
|
|
470
|
-
"id": "dbdoc:generate-queries",
|
|
471
|
-
"pluginAlias": "@memberjunction/cli",
|
|
472
|
-
"pluginName": "@memberjunction/cli",
|
|
473
|
-
"pluginType": "core",
|
|
474
|
-
"strict": true,
|
|
475
|
-
"enableJsonFlag": false,
|
|
476
|
-
"isESM": false,
|
|
477
|
-
"relativePath": [
|
|
478
|
-
"dist",
|
|
479
|
-
"commands",
|
|
480
|
-
"dbdoc",
|
|
481
|
-
"generate-queries.js"
|
|
482
|
-
]
|
|
483
|
-
},
|
|
484
|
-
"dbdoc": {
|
|
485
|
-
"aliases": [],
|
|
486
|
-
"args": {},
|
|
487
|
-
"description": "AI-powered database documentation generator",
|
|
488
|
-
"flags": {},
|
|
489
|
-
"hasDynamicHelp": false,
|
|
490
|
-
"hidden": false,
|
|
491
|
-
"hiddenAliases": [],
|
|
492
|
-
"id": "dbdoc",
|
|
493
|
-
"pluginAlias": "@memberjunction/cli",
|
|
494
|
-
"pluginName": "@memberjunction/cli",
|
|
495
|
-
"pluginType": "core",
|
|
496
|
-
"strict": true,
|
|
497
|
-
"enableJsonFlag": false,
|
|
498
|
-
"isESM": false,
|
|
499
|
-
"relativePath": [
|
|
500
|
-
"dist",
|
|
501
|
-
"commands",
|
|
502
|
-
"dbdoc",
|
|
503
|
-
"index.js"
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
|
-
"dbdoc:init": {
|
|
507
|
-
"aliases": [],
|
|
508
|
-
"args": {},
|
|
509
|
-
"description": "Initialize DBAutoDoc project (delegates to db-auto-doc init)",
|
|
510
|
-
"examples": [
|
|
511
|
-
"<%= config.bin %> <%= command.id %>"
|
|
512
|
-
],
|
|
513
|
-
"flags": {},
|
|
514
|
-
"hasDynamicHelp": false,
|
|
515
|
-
"hiddenAliases": [],
|
|
516
|
-
"id": "dbdoc:init",
|
|
517
|
-
"pluginAlias": "@memberjunction/cli",
|
|
518
|
-
"pluginName": "@memberjunction/cli",
|
|
519
|
-
"pluginType": "core",
|
|
520
|
-
"strict": true,
|
|
521
|
-
"enableJsonFlag": false,
|
|
522
|
-
"isESM": false,
|
|
523
|
-
"relativePath": [
|
|
524
|
-
"dist",
|
|
525
|
-
"commands",
|
|
526
|
-
"dbdoc",
|
|
527
|
-
"init.js"
|
|
528
|
-
]
|
|
529
|
-
},
|
|
530
|
-
"dbdoc:reset": {
|
|
531
|
-
"aliases": [],
|
|
532
|
-
"args": {},
|
|
533
|
-
"description": "Reset analysis state (delegates to db-auto-doc reset)",
|
|
534
|
-
"examples": [
|
|
535
|
-
"<%= config.bin %> <%= command.id %>",
|
|
536
|
-
"<%= config.bin %> <%= command.id %> --force"
|
|
537
|
-
],
|
|
538
|
-
"flags": {
|
|
539
|
-
"force": {
|
|
540
|
-
"char": "f",
|
|
541
|
-
"description": "Force reset without confirmation",
|
|
542
|
-
"name": "force",
|
|
543
|
-
"allowNo": false,
|
|
544
|
-
"type": "boolean"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
"hasDynamicHelp": false,
|
|
548
|
-
"hiddenAliases": [],
|
|
549
|
-
"id": "dbdoc:reset",
|
|
550
|
-
"pluginAlias": "@memberjunction/cli",
|
|
551
|
-
"pluginName": "@memberjunction/cli",
|
|
552
|
-
"pluginType": "core",
|
|
553
|
-
"strict": true,
|
|
554
|
-
"enableJsonFlag": false,
|
|
555
|
-
"isESM": false,
|
|
556
|
-
"relativePath": [
|
|
557
|
-
"dist",
|
|
558
|
-
"commands",
|
|
559
|
-
"dbdoc",
|
|
560
|
-
"reset.js"
|
|
561
|
-
]
|
|
562
|
-
},
|
|
563
|
-
"dbdoc:status": {
|
|
564
|
-
"aliases": [],
|
|
565
|
-
"args": {},
|
|
566
|
-
"description": "Show analysis status and progress (delegates to db-auto-doc status)",
|
|
567
|
-
"examples": [
|
|
568
|
-
"<%= config.bin %> <%= command.id %>",
|
|
569
|
-
"<%= config.bin %> <%= command.id %> --state-file ./custom-state.json"
|
|
570
|
-
],
|
|
571
|
-
"flags": {
|
|
572
|
-
"state-file": {
|
|
573
|
-
"char": "s",
|
|
574
|
-
"description": "Path to state JSON file",
|
|
575
|
-
"name": "state-file",
|
|
576
|
-
"hasDynamicHelp": false,
|
|
577
|
-
"multiple": false,
|
|
578
|
-
"type": "option"
|
|
579
|
-
}
|
|
580
|
-
},
|
|
581
|
-
"hasDynamicHelp": false,
|
|
582
|
-
"hiddenAliases": [],
|
|
583
|
-
"id": "dbdoc:status",
|
|
584
|
-
"pluginAlias": "@memberjunction/cli",
|
|
585
|
-
"pluginName": "@memberjunction/cli",
|
|
586
|
-
"pluginType": "core",
|
|
587
|
-
"strict": true,
|
|
588
|
-
"enableJsonFlag": false,
|
|
589
|
-
"isESM": false,
|
|
590
|
-
"relativePath": [
|
|
591
|
-
"dist",
|
|
592
|
-
"commands",
|
|
593
|
-
"dbdoc",
|
|
594
|
-
"status.js"
|
|
595
|
-
]
|
|
596
|
-
},
|
|
597
|
-
"install": {
|
|
598
|
-
"aliases": [],
|
|
599
|
-
"args": {},
|
|
600
|
-
"description": "Install MemberJunction",
|
|
601
|
-
"examples": [
|
|
602
|
-
"<%= config.bin %> <%= command.id %>\n"
|
|
603
|
-
],
|
|
604
|
-
"flags": {
|
|
605
|
-
"verbose": {
|
|
606
|
-
"char": "v",
|
|
607
|
-
"description": "Enable additional logging",
|
|
608
|
-
"name": "verbose",
|
|
609
|
-
"allowNo": false,
|
|
610
|
-
"type": "boolean"
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
"hasDynamicHelp": false,
|
|
614
|
-
"hiddenAliases": [],
|
|
615
|
-
"id": "install",
|
|
616
|
-
"pluginAlias": "@memberjunction/cli",
|
|
617
|
-
"pluginName": "@memberjunction/cli",
|
|
618
|
-
"pluginType": "core",
|
|
619
|
-
"strict": true,
|
|
620
|
-
"enableJsonFlag": false,
|
|
621
|
-
"isESM": false,
|
|
622
|
-
"relativePath": [
|
|
623
|
-
"dist",
|
|
624
|
-
"commands",
|
|
625
|
-
"install",
|
|
626
|
-
"index.js"
|
|
627
|
-
]
|
|
628
|
-
},
|
|
629
|
-
"querygen:export": {
|
|
630
|
-
"aliases": [],
|
|
631
|
-
"args": {},
|
|
632
|
-
"description": "Export queries from database to metadata files",
|
|
633
|
-
"examples": [
|
|
634
|
-
"<%= config.bin %> <%= command.id %>",
|
|
635
|
-
"<%= config.bin %> <%= command.id %> --output ./metadata/queries",
|
|
636
|
-
"<%= config.bin %> <%= command.id %> --verbose"
|
|
637
|
-
],
|
|
638
|
-
"flags": {
|
|
639
|
-
"output": {
|
|
640
|
-
"char": "o",
|
|
641
|
-
"description": "Output directory",
|
|
642
|
-
"name": "output",
|
|
643
|
-
"default": "./metadata/queries",
|
|
644
|
-
"hasDynamicHelp": false,
|
|
645
|
-
"multiple": false,
|
|
646
|
-
"type": "option"
|
|
647
|
-
},
|
|
648
|
-
"verbose": {
|
|
649
|
-
"char": "v",
|
|
650
|
-
"description": "Verbose output",
|
|
651
|
-
"name": "verbose",
|
|
652
|
-
"allowNo": false,
|
|
653
|
-
"type": "boolean"
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
"hasDynamicHelp": false,
|
|
657
|
-
"hiddenAliases": [],
|
|
658
|
-
"id": "querygen:export",
|
|
659
|
-
"pluginAlias": "@memberjunction/cli",
|
|
660
|
-
"pluginName": "@memberjunction/cli",
|
|
661
|
-
"pluginType": "core",
|
|
662
|
-
"strict": true,
|
|
663
|
-
"enableJsonFlag": false,
|
|
664
|
-
"isESM": false,
|
|
665
|
-
"relativePath": [
|
|
666
|
-
"dist",
|
|
667
|
-
"commands",
|
|
668
|
-
"querygen",
|
|
669
|
-
"export.js"
|
|
670
|
-
]
|
|
671
|
-
},
|
|
672
|
-
"querygen:generate": {
|
|
673
|
-
"aliases": [],
|
|
674
|
-
"args": {},
|
|
675
|
-
"description": "Generate SQL query templates for entities using AI",
|
|
676
|
-
"examples": [
|
|
677
|
-
"<%= config.bin %> <%= command.id %>",
|
|
678
|
-
"<%= config.bin %> <%= command.id %> --entities \"Customers,Orders\"",
|
|
679
|
-
"<%= config.bin %> <%= command.id %> --max-entities 5 --verbose",
|
|
680
|
-
"<%= config.bin %> <%= command.id %> --mode database"
|
|
681
|
-
],
|
|
682
|
-
"flags": {
|
|
683
|
-
"entities": {
|
|
684
|
-
"char": "e",
|
|
685
|
-
"description": "Specific entities to generate queries for (comma-separated)",
|
|
686
|
-
"name": "entities",
|
|
687
|
-
"hasDynamicHelp": false,
|
|
688
|
-
"multiple": false,
|
|
689
|
-
"type": "option"
|
|
690
|
-
},
|
|
691
|
-
"exclude-entities": {
|
|
692
|
-
"char": "x",
|
|
693
|
-
"description": "Entities to exclude (comma-separated)",
|
|
694
|
-
"name": "exclude-entities",
|
|
695
|
-
"hasDynamicHelp": false,
|
|
696
|
-
"multiple": false,
|
|
697
|
-
"type": "option"
|
|
698
|
-
},
|
|
699
|
-
"exclude-schemas": {
|
|
700
|
-
"char": "s",
|
|
701
|
-
"description": "Schemas to exclude (comma-separated)",
|
|
702
|
-
"name": "exclude-schemas",
|
|
703
|
-
"hasDynamicHelp": false,
|
|
704
|
-
"multiple": false,
|
|
705
|
-
"type": "option"
|
|
706
|
-
},
|
|
707
|
-
"max-entities": {
|
|
708
|
-
"char": "m",
|
|
709
|
-
"description": "Max entities per group",
|
|
710
|
-
"name": "max-entities",
|
|
711
|
-
"default": 3,
|
|
712
|
-
"hasDynamicHelp": false,
|
|
713
|
-
"multiple": false,
|
|
714
|
-
"type": "option"
|
|
715
|
-
},
|
|
716
|
-
"target-groups": {
|
|
717
|
-
"char": "t",
|
|
718
|
-
"description": "Target number of entity groups to generate",
|
|
719
|
-
"name": "target-groups",
|
|
720
|
-
"default": 75,
|
|
721
|
-
"hasDynamicHelp": false,
|
|
722
|
-
"multiple": false,
|
|
723
|
-
"type": "option"
|
|
724
|
-
},
|
|
725
|
-
"max-refinements": {
|
|
726
|
-
"char": "r",
|
|
727
|
-
"description": "Max refinement iterations",
|
|
728
|
-
"name": "max-refinements",
|
|
729
|
-
"default": 3,
|
|
730
|
-
"hasDynamicHelp": false,
|
|
731
|
-
"multiple": false,
|
|
732
|
-
"type": "option"
|
|
733
|
-
},
|
|
734
|
-
"max-fixes": {
|
|
735
|
-
"char": "f",
|
|
736
|
-
"description": "Max error-fixing attempts",
|
|
737
|
-
"name": "max-fixes",
|
|
738
|
-
"default": 5,
|
|
739
|
-
"hasDynamicHelp": false,
|
|
740
|
-
"multiple": false,
|
|
741
|
-
"type": "option"
|
|
742
|
-
},
|
|
743
|
-
"model": {
|
|
744
|
-
"description": "Preferred AI model",
|
|
745
|
-
"name": "model",
|
|
746
|
-
"hasDynamicHelp": false,
|
|
747
|
-
"multiple": false,
|
|
748
|
-
"type": "option"
|
|
749
|
-
},
|
|
750
|
-
"vendor": {
|
|
751
|
-
"description": "Preferred AI vendor",
|
|
752
|
-
"name": "vendor",
|
|
753
|
-
"hasDynamicHelp": false,
|
|
754
|
-
"multiple": false,
|
|
755
|
-
"type": "option"
|
|
756
|
-
},
|
|
757
|
-
"output": {
|
|
758
|
-
"char": "o",
|
|
759
|
-
"description": "Output directory",
|
|
760
|
-
"name": "output",
|
|
761
|
-
"hasDynamicHelp": false,
|
|
762
|
-
"multiple": false,
|
|
763
|
-
"type": "option"
|
|
764
|
-
},
|
|
765
|
-
"mode": {
|
|
766
|
-
"description": "Output mode: metadata|database|both",
|
|
767
|
-
"name": "mode",
|
|
768
|
-
"hasDynamicHelp": false,
|
|
769
|
-
"multiple": false,
|
|
770
|
-
"options": [
|
|
771
|
-
"metadata",
|
|
772
|
-
"database",
|
|
773
|
-
"both"
|
|
774
|
-
],
|
|
775
|
-
"type": "option"
|
|
776
|
-
},
|
|
777
|
-
"verbose": {
|
|
778
|
-
"char": "v",
|
|
779
|
-
"description": "Verbose output",
|
|
780
|
-
"name": "verbose",
|
|
781
|
-
"allowNo": false,
|
|
782
|
-
"type": "boolean"
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
"hasDynamicHelp": false,
|
|
786
|
-
"hiddenAliases": [],
|
|
787
|
-
"id": "querygen:generate",
|
|
788
|
-
"pluginAlias": "@memberjunction/cli",
|
|
789
|
-
"pluginName": "@memberjunction/cli",
|
|
790
|
-
"pluginType": "core",
|
|
791
|
-
"strict": true,
|
|
792
|
-
"enableJsonFlag": false,
|
|
793
|
-
"isESM": false,
|
|
794
|
-
"relativePath": [
|
|
795
|
-
"dist",
|
|
796
|
-
"commands",
|
|
797
|
-
"querygen",
|
|
798
|
-
"generate.js"
|
|
799
|
-
]
|
|
800
|
-
},
|
|
801
|
-
"querygen:validate": {
|
|
802
|
-
"aliases": [],
|
|
803
|
-
"args": {},
|
|
804
|
-
"description": "Validate existing query templates",
|
|
805
|
-
"examples": [
|
|
806
|
-
"<%= config.bin %> <%= command.id %>",
|
|
807
|
-
"<%= config.bin %> <%= command.id %> --path ./metadata/queries",
|
|
808
|
-
"<%= config.bin %> <%= command.id %> --verbose"
|
|
809
|
-
],
|
|
810
|
-
"flags": {
|
|
811
|
-
"path": {
|
|
812
|
-
"char": "p",
|
|
813
|
-
"description": "Path to queries metadata file or directory",
|
|
814
|
-
"name": "path",
|
|
815
|
-
"default": "./metadata/queries",
|
|
816
|
-
"hasDynamicHelp": false,
|
|
817
|
-
"multiple": false,
|
|
818
|
-
"type": "option"
|
|
819
|
-
},
|
|
820
|
-
"verbose": {
|
|
821
|
-
"char": "v",
|
|
822
|
-
"description": "Verbose output",
|
|
823
|
-
"name": "verbose",
|
|
824
|
-
"allowNo": false,
|
|
825
|
-
"type": "boolean"
|
|
826
|
-
}
|
|
827
|
-
},
|
|
828
|
-
"hasDynamicHelp": false,
|
|
829
|
-
"hiddenAliases": [],
|
|
830
|
-
"id": "querygen:validate",
|
|
831
|
-
"pluginAlias": "@memberjunction/cli",
|
|
832
|
-
"pluginName": "@memberjunction/cli",
|
|
833
|
-
"pluginType": "core",
|
|
834
|
-
"strict": true,
|
|
835
|
-
"enableJsonFlag": false,
|
|
836
|
-
"isESM": false,
|
|
837
|
-
"relativePath": [
|
|
838
|
-
"dist",
|
|
839
|
-
"commands",
|
|
840
|
-
"querygen",
|
|
841
|
-
"validate.js"
|
|
842
|
-
]
|
|
843
|
-
},
|
|
844
|
-
"sync:file-reset": {
|
|
845
|
-
"aliases": [],
|
|
846
|
-
"args": {},
|
|
847
|
-
"description": "Reset file metadata sections",
|
|
848
|
-
"examples": [
|
|
849
|
-
"<%= config.bin %> <%= command.id %>",
|
|
850
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
851
|
-
"<%= config.bin %> <%= command.id %> --sections=\"dependencies,references\"",
|
|
852
|
-
"<%= config.bin %> <%= command.id %> --all"
|
|
853
|
-
],
|
|
854
|
-
"flags": {
|
|
855
|
-
"dir": {
|
|
856
|
-
"description": "Specific entity directory to reset",
|
|
857
|
-
"name": "dir",
|
|
858
|
-
"hasDynamicHelp": false,
|
|
859
|
-
"multiple": false,
|
|
860
|
-
"type": "option"
|
|
861
|
-
},
|
|
862
|
-
"sections": {
|
|
863
|
-
"description": "Comma-separated list of sections to reset (dependencies,references,related,lookup)",
|
|
864
|
-
"name": "sections",
|
|
865
|
-
"hasDynamicHelp": false,
|
|
866
|
-
"multiple": false,
|
|
867
|
-
"type": "option"
|
|
868
|
-
},
|
|
869
|
-
"all": {
|
|
870
|
-
"description": "Reset all metadata sections",
|
|
871
|
-
"name": "all",
|
|
872
|
-
"allowNo": false,
|
|
873
|
-
"type": "boolean"
|
|
874
|
-
},
|
|
875
|
-
"dry-run": {
|
|
876
|
-
"description": "Show what would be reset without actually resetting",
|
|
877
|
-
"name": "dry-run",
|
|
878
|
-
"allowNo": false,
|
|
879
|
-
"type": "boolean"
|
|
880
|
-
},
|
|
881
|
-
"force": {
|
|
882
|
-
"description": "Skip confirmation prompts",
|
|
883
|
-
"name": "force",
|
|
884
|
-
"allowNo": false,
|
|
885
|
-
"type": "boolean"
|
|
886
|
-
},
|
|
887
|
-
"verbose": {
|
|
888
|
-
"char": "v",
|
|
889
|
-
"description": "Show detailed output",
|
|
890
|
-
"name": "verbose",
|
|
891
|
-
"allowNo": false,
|
|
892
|
-
"type": "boolean"
|
|
893
|
-
}
|
|
894
|
-
},
|
|
895
|
-
"hasDynamicHelp": false,
|
|
896
|
-
"hiddenAliases": [],
|
|
897
|
-
"id": "sync:file-reset",
|
|
898
|
-
"pluginAlias": "@memberjunction/cli",
|
|
899
|
-
"pluginName": "@memberjunction/cli",
|
|
900
|
-
"pluginType": "core",
|
|
901
|
-
"strict": true,
|
|
902
|
-
"enableJsonFlag": false,
|
|
903
|
-
"isESM": false,
|
|
904
|
-
"relativePath": [
|
|
905
|
-
"dist",
|
|
906
|
-
"commands",
|
|
907
|
-
"sync",
|
|
908
|
-
"file-reset.js"
|
|
909
|
-
]
|
|
910
|
-
},
|
|
911
|
-
"sync:init": {
|
|
912
|
-
"aliases": [],
|
|
913
|
-
"args": {},
|
|
914
|
-
"description": "Initialize a directory for metadata synchronization",
|
|
915
|
-
"examples": [
|
|
916
|
-
"<%= config.bin %> <%= command.id %>"
|
|
917
|
-
],
|
|
918
|
-
"flags": {},
|
|
919
|
-
"hasDynamicHelp": false,
|
|
920
|
-
"hiddenAliases": [],
|
|
921
|
-
"id": "sync:init",
|
|
922
|
-
"pluginAlias": "@memberjunction/cli",
|
|
923
|
-
"pluginName": "@memberjunction/cli",
|
|
924
|
-
"pluginType": "core",
|
|
925
|
-
"strict": true,
|
|
926
|
-
"enableJsonFlag": false,
|
|
927
|
-
"isESM": false,
|
|
928
|
-
"relativePath": [
|
|
929
|
-
"dist",
|
|
930
|
-
"commands",
|
|
931
|
-
"sync",
|
|
932
|
-
"init.js"
|
|
933
|
-
]
|
|
934
|
-
},
|
|
935
|
-
"sync:pull": {
|
|
936
|
-
"aliases": [],
|
|
937
|
-
"args": {},
|
|
938
|
-
"description": "Pull metadata from database to local files",
|
|
939
|
-
"examples": [
|
|
940
|
-
"<%= config.bin %> <%= command.id %> --entity=\"AI Prompts\"",
|
|
941
|
-
"<%= config.bin %> <%= command.id %> --entity=\"AI Prompts\" --filter=\"CategoryID='customer-service-id'\"",
|
|
942
|
-
"<%= config.bin %> <%= command.id %> --entity=\"AI Agents\" --merge-strategy=overwrite",
|
|
943
|
-
"<%= config.bin %> <%= command.id %> --entity=\"Actions\" --target-dir=./custom-actions --no-validate",
|
|
944
|
-
"<%= config.bin %> <%= command.id %> --entity=\"Templates\" --dry-run --verbose",
|
|
945
|
-
"<%= config.bin %> <%= command.id %> --entity=\"AI Prompts\" --exclude-fields=InternalNotes,DebugInfo"
|
|
946
|
-
],
|
|
947
|
-
"flags": {
|
|
948
|
-
"entity": {
|
|
949
|
-
"description": "Entity name to pull",
|
|
950
|
-
"name": "entity",
|
|
951
|
-
"required": true,
|
|
952
|
-
"hasDynamicHelp": false,
|
|
953
|
-
"multiple": false,
|
|
954
|
-
"type": "option"
|
|
955
|
-
},
|
|
956
|
-
"filter": {
|
|
957
|
-
"description": "Additional filter for pulling specific records",
|
|
958
|
-
"name": "filter",
|
|
959
|
-
"hasDynamicHelp": false,
|
|
960
|
-
"multiple": false,
|
|
961
|
-
"type": "option"
|
|
962
|
-
},
|
|
963
|
-
"dry-run": {
|
|
964
|
-
"description": "Show what would be pulled without actually pulling",
|
|
965
|
-
"name": "dry-run",
|
|
966
|
-
"allowNo": false,
|
|
967
|
-
"type": "boolean"
|
|
968
|
-
},
|
|
969
|
-
"multi-file": {
|
|
970
|
-
"description": "Create a single file with multiple records (provide filename)",
|
|
971
|
-
"name": "multi-file",
|
|
972
|
-
"hasDynamicHelp": false,
|
|
973
|
-
"multiple": false,
|
|
974
|
-
"type": "option"
|
|
975
|
-
},
|
|
976
|
-
"verbose": {
|
|
977
|
-
"char": "v",
|
|
978
|
-
"description": "Show detailed output",
|
|
979
|
-
"name": "verbose",
|
|
980
|
-
"allowNo": false,
|
|
981
|
-
"type": "boolean"
|
|
982
|
-
},
|
|
983
|
-
"no-validate": {
|
|
984
|
-
"description": "Skip validation before pull",
|
|
985
|
-
"name": "no-validate",
|
|
986
|
-
"allowNo": false,
|
|
987
|
-
"type": "boolean"
|
|
988
|
-
},
|
|
989
|
-
"update-existing": {
|
|
990
|
-
"description": "Update existing records during pull",
|
|
991
|
-
"name": "update-existing",
|
|
992
|
-
"allowNo": false,
|
|
993
|
-
"type": "boolean"
|
|
994
|
-
},
|
|
995
|
-
"create-new": {
|
|
996
|
-
"description": "Create new files for records not found locally",
|
|
997
|
-
"name": "create-new",
|
|
998
|
-
"allowNo": false,
|
|
999
|
-
"type": "boolean"
|
|
1000
|
-
},
|
|
1001
|
-
"backup-before-update": {
|
|
1002
|
-
"description": "Create backups before updating files",
|
|
1003
|
-
"name": "backup-before-update",
|
|
1004
|
-
"allowNo": false,
|
|
1005
|
-
"type": "boolean"
|
|
1006
|
-
},
|
|
1007
|
-
"merge-strategy": {
|
|
1008
|
-
"description": "Merge strategy for updates",
|
|
1009
|
-
"name": "merge-strategy",
|
|
1010
|
-
"default": "merge",
|
|
1011
|
-
"hasDynamicHelp": false,
|
|
1012
|
-
"multiple": false,
|
|
1013
|
-
"options": [
|
|
1014
|
-
"merge",
|
|
1015
|
-
"overwrite",
|
|
1016
|
-
"skip"
|
|
1017
|
-
],
|
|
1018
|
-
"type": "option"
|
|
1019
|
-
},
|
|
1020
|
-
"backup-directory": {
|
|
1021
|
-
"description": "Custom backup directory (default: .backups)",
|
|
1022
|
-
"name": "backup-directory",
|
|
1023
|
-
"hasDynamicHelp": false,
|
|
1024
|
-
"multiple": false,
|
|
1025
|
-
"type": "option"
|
|
1026
|
-
},
|
|
1027
|
-
"preserve-fields": {
|
|
1028
|
-
"description": "Comma-separated list of fields to preserve during updates",
|
|
1029
|
-
"name": "preserve-fields",
|
|
1030
|
-
"hasDynamicHelp": false,
|
|
1031
|
-
"multiple": true,
|
|
1032
|
-
"type": "option"
|
|
1033
|
-
},
|
|
1034
|
-
"exclude-fields": {
|
|
1035
|
-
"description": "Comma-separated list of fields to exclude from pull",
|
|
1036
|
-
"name": "exclude-fields",
|
|
1037
|
-
"hasDynamicHelp": false,
|
|
1038
|
-
"multiple": true,
|
|
1039
|
-
"type": "option"
|
|
1040
|
-
},
|
|
1041
|
-
"target-dir": {
|
|
1042
|
-
"description": "Specific target directory (overrides auto-discovery)",
|
|
1043
|
-
"name": "target-dir",
|
|
1044
|
-
"hasDynamicHelp": false,
|
|
1045
|
-
"multiple": false,
|
|
1046
|
-
"type": "option"
|
|
1047
|
-
}
|
|
1048
|
-
},
|
|
1049
|
-
"hasDynamicHelp": false,
|
|
1050
|
-
"hiddenAliases": [],
|
|
1051
|
-
"id": "sync:pull",
|
|
1052
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1053
|
-
"pluginName": "@memberjunction/cli",
|
|
1054
|
-
"pluginType": "core",
|
|
1055
|
-
"strict": true,
|
|
1056
|
-
"enableJsonFlag": false,
|
|
1057
|
-
"isESM": false,
|
|
1058
|
-
"relativePath": [
|
|
1059
|
-
"dist",
|
|
1060
|
-
"commands",
|
|
1061
|
-
"sync",
|
|
1062
|
-
"pull.js"
|
|
1063
|
-
]
|
|
1064
|
-
},
|
|
1065
|
-
"sync:push": {
|
|
1066
|
-
"aliases": [],
|
|
1067
|
-
"args": {},
|
|
1068
|
-
"description": "Push local file changes to the database",
|
|
1069
|
-
"examples": [
|
|
1070
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1071
|
-
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
1072
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
1073
|
-
"<%= config.bin %> <%= command.id %> --ci"
|
|
1074
|
-
],
|
|
1075
|
-
"flags": {
|
|
1076
|
-
"dir": {
|
|
1077
|
-
"description": "Specific entity directory to push",
|
|
1078
|
-
"name": "dir",
|
|
1079
|
-
"hasDynamicHelp": false,
|
|
1080
|
-
"multiple": false,
|
|
1081
|
-
"type": "option"
|
|
1082
|
-
},
|
|
1083
|
-
"dry-run": {
|
|
1084
|
-
"description": "Show what would be pushed without actually pushing",
|
|
1085
|
-
"name": "dry-run",
|
|
1086
|
-
"allowNo": false,
|
|
1087
|
-
"type": "boolean"
|
|
1088
|
-
},
|
|
1089
|
-
"ci": {
|
|
1090
|
-
"description": "CI mode - no prompts, fail on issues",
|
|
1091
|
-
"name": "ci",
|
|
1092
|
-
"allowNo": false,
|
|
1093
|
-
"type": "boolean"
|
|
1094
|
-
},
|
|
1095
|
-
"verbose": {
|
|
1096
|
-
"char": "v",
|
|
1097
|
-
"description": "Show detailed field-level output",
|
|
1098
|
-
"name": "verbose",
|
|
1099
|
-
"allowNo": false,
|
|
1100
|
-
"type": "boolean"
|
|
1101
|
-
},
|
|
1102
|
-
"no-validate": {
|
|
1103
|
-
"description": "Skip validation before push",
|
|
1104
|
-
"name": "no-validate",
|
|
1105
|
-
"allowNo": false,
|
|
1106
|
-
"type": "boolean"
|
|
1107
|
-
},
|
|
1108
|
-
"parallel-batch-size": {
|
|
1109
|
-
"description": "Number of records to process in parallel (default: 10)",
|
|
1110
|
-
"name": "parallel-batch-size",
|
|
1111
|
-
"default": 10,
|
|
1112
|
-
"hasDynamicHelp": false,
|
|
1113
|
-
"multiple": false,
|
|
1114
|
-
"type": "option"
|
|
1115
|
-
},
|
|
1116
|
-
"include": {
|
|
1117
|
-
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
1118
|
-
"name": "include",
|
|
1119
|
-
"hasDynamicHelp": false,
|
|
1120
|
-
"multiple": false,
|
|
1121
|
-
"type": "option"
|
|
1122
|
-
},
|
|
1123
|
-
"exclude": {
|
|
1124
|
-
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
1125
|
-
"name": "exclude",
|
|
1126
|
-
"hasDynamicHelp": false,
|
|
1127
|
-
"multiple": false,
|
|
1128
|
-
"type": "option"
|
|
1129
|
-
}
|
|
1130
|
-
},
|
|
1131
|
-
"hasDynamicHelp": false,
|
|
1132
|
-
"hiddenAliases": [],
|
|
1133
|
-
"id": "sync:push",
|
|
1134
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1135
|
-
"pluginName": "@memberjunction/cli",
|
|
1136
|
-
"pluginType": "core",
|
|
1137
|
-
"strict": true,
|
|
1138
|
-
"enableJsonFlag": false,
|
|
1139
|
-
"isESM": false,
|
|
1140
|
-
"relativePath": [
|
|
1141
|
-
"dist",
|
|
1142
|
-
"commands",
|
|
1143
|
-
"sync",
|
|
1144
|
-
"push.js"
|
|
1145
|
-
]
|
|
1146
|
-
},
|
|
1147
|
-
"sync:status": {
|
|
1148
|
-
"aliases": [],
|
|
1149
|
-
"args": {},
|
|
1150
|
-
"description": "Show status of local files vs database",
|
|
1151
|
-
"examples": [
|
|
1152
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1153
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
1154
|
-
"<%= config.bin %> <%= command.id %> --verbose"
|
|
1155
|
-
],
|
|
1156
|
-
"flags": {
|
|
1157
|
-
"dir": {
|
|
1158
|
-
"description": "Specific entity directory to check status",
|
|
1159
|
-
"name": "dir",
|
|
1160
|
-
"hasDynamicHelp": false,
|
|
1161
|
-
"multiple": false,
|
|
1162
|
-
"type": "option"
|
|
1163
|
-
},
|
|
1164
|
-
"verbose": {
|
|
1165
|
-
"char": "v",
|
|
1166
|
-
"description": "Show detailed field-level differences",
|
|
1167
|
-
"name": "verbose",
|
|
1168
|
-
"allowNo": false,
|
|
1169
|
-
"type": "boolean"
|
|
1170
|
-
},
|
|
1171
|
-
"include": {
|
|
1172
|
-
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
1173
|
-
"name": "include",
|
|
1174
|
-
"hasDynamicHelp": false,
|
|
1175
|
-
"multiple": false,
|
|
1176
|
-
"type": "option"
|
|
1177
|
-
},
|
|
1178
|
-
"exclude": {
|
|
1179
|
-
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
1180
|
-
"name": "exclude",
|
|
1181
|
-
"hasDynamicHelp": false,
|
|
1182
|
-
"multiple": false,
|
|
1183
|
-
"type": "option"
|
|
1184
|
-
}
|
|
1185
|
-
},
|
|
1186
|
-
"hasDynamicHelp": false,
|
|
1187
|
-
"hiddenAliases": [],
|
|
1188
|
-
"id": "sync:status",
|
|
1189
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1190
|
-
"pluginName": "@memberjunction/cli",
|
|
1191
|
-
"pluginType": "core",
|
|
1192
|
-
"strict": true,
|
|
1193
|
-
"enableJsonFlag": false,
|
|
1194
|
-
"isESM": false,
|
|
1195
|
-
"relativePath": [
|
|
1196
|
-
"dist",
|
|
1197
|
-
"commands",
|
|
1198
|
-
"sync",
|
|
1199
|
-
"status.js"
|
|
1200
|
-
]
|
|
1201
|
-
},
|
|
1202
|
-
"sync:validate": {
|
|
1203
|
-
"aliases": [],
|
|
1204
|
-
"args": {},
|
|
1205
|
-
"description": "Validate metadata files",
|
|
1206
|
-
"examples": [
|
|
1207
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1208
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
1209
|
-
"<%= config.bin %> <%= command.id %> --save-report",
|
|
1210
|
-
"<%= config.bin %> <%= command.id %> --verbose"
|
|
1211
|
-
],
|
|
1212
|
-
"flags": {
|
|
1213
|
-
"dir": {
|
|
1214
|
-
"description": "Specific entity directory to validate",
|
|
1215
|
-
"name": "dir",
|
|
1216
|
-
"hasDynamicHelp": false,
|
|
1217
|
-
"multiple": false,
|
|
1218
|
-
"type": "option"
|
|
1219
|
-
},
|
|
1220
|
-
"verbose": {
|
|
1221
|
-
"char": "v",
|
|
1222
|
-
"description": "Show detailed validation output",
|
|
1223
|
-
"name": "verbose",
|
|
1224
|
-
"allowNo": false,
|
|
1225
|
-
"type": "boolean"
|
|
1226
|
-
},
|
|
1227
|
-
"save-report": {
|
|
1228
|
-
"description": "Save validation report as markdown file",
|
|
1229
|
-
"name": "save-report",
|
|
1230
|
-
"allowNo": false,
|
|
1231
|
-
"type": "boolean"
|
|
1232
|
-
},
|
|
1233
|
-
"output": {
|
|
1234
|
-
"description": "Output file path for validation report (default: validation-report.md)",
|
|
1235
|
-
"name": "output",
|
|
1236
|
-
"hasDynamicHelp": false,
|
|
1237
|
-
"multiple": false,
|
|
1238
|
-
"type": "option"
|
|
1239
|
-
}
|
|
1240
|
-
},
|
|
1241
|
-
"hasDynamicHelp": false,
|
|
1242
|
-
"hiddenAliases": [],
|
|
1243
|
-
"id": "sync:validate",
|
|
1244
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1245
|
-
"pluginName": "@memberjunction/cli",
|
|
1246
|
-
"pluginType": "core",
|
|
1247
|
-
"strict": true,
|
|
1248
|
-
"enableJsonFlag": false,
|
|
1249
|
-
"isESM": false,
|
|
1250
|
-
"relativePath": [
|
|
1251
|
-
"dist",
|
|
1252
|
-
"commands",
|
|
1253
|
-
"sync",
|
|
1254
|
-
"validate.js"
|
|
1255
|
-
]
|
|
1256
|
-
},
|
|
1257
|
-
"sync:watch": {
|
|
1258
|
-
"aliases": [],
|
|
1259
|
-
"args": {},
|
|
1260
|
-
"description": "Watch for file changes and sync automatically",
|
|
1261
|
-
"examples": [
|
|
1262
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1263
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
1264
|
-
"<%= config.bin %> <%= command.id %> --debounce=1000",
|
|
1265
|
-
"<%= config.bin %> <%= command.id %> --no-validate"
|
|
1266
|
-
],
|
|
1267
|
-
"flags": {
|
|
1268
|
-
"dir": {
|
|
1269
|
-
"description": "Specific entity directory to watch",
|
|
1270
|
-
"name": "dir",
|
|
1271
|
-
"hasDynamicHelp": false,
|
|
1272
|
-
"multiple": false,
|
|
1273
|
-
"type": "option"
|
|
1274
|
-
},
|
|
1275
|
-
"debounce": {
|
|
1276
|
-
"description": "Debounce delay in milliseconds (default: 500)",
|
|
1277
|
-
"name": "debounce",
|
|
1278
|
-
"hasDynamicHelp": false,
|
|
1279
|
-
"multiple": false,
|
|
1280
|
-
"type": "option"
|
|
1281
|
-
},
|
|
1282
|
-
"no-validate": {
|
|
1283
|
-
"description": "Skip validation before sync",
|
|
1284
|
-
"name": "no-validate",
|
|
1285
|
-
"allowNo": false,
|
|
1286
|
-
"type": "boolean"
|
|
1287
|
-
},
|
|
1288
|
-
"verbose": {
|
|
1289
|
-
"char": "v",
|
|
1290
|
-
"description": "Show detailed output",
|
|
1291
|
-
"name": "verbose",
|
|
1292
|
-
"allowNo": false,
|
|
1293
|
-
"type": "boolean"
|
|
1294
|
-
}
|
|
1295
|
-
},
|
|
1296
|
-
"hasDynamicHelp": false,
|
|
1297
|
-
"hiddenAliases": [],
|
|
1298
|
-
"id": "sync:watch",
|
|
1299
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1300
|
-
"pluginName": "@memberjunction/cli",
|
|
1301
|
-
"pluginType": "core",
|
|
1302
|
-
"strict": true,
|
|
1303
|
-
"enableJsonFlag": false,
|
|
1304
|
-
"isESM": false,
|
|
1305
|
-
"relativePath": [
|
|
1306
|
-
"dist",
|
|
1307
|
-
"commands",
|
|
1308
|
-
"sync",
|
|
1309
|
-
"watch.js"
|
|
1310
|
-
]
|
|
1311
|
-
},
|
|
1312
|
-
"test:compare": {
|
|
1313
|
-
"aliases": [],
|
|
1314
|
-
"args": {
|
|
1315
|
-
"runId1": {
|
|
1316
|
-
"description": "First test run ID to compare",
|
|
1317
|
-
"name": "runId1",
|
|
1318
|
-
"required": false
|
|
1319
|
-
},
|
|
1320
|
-
"runId2": {
|
|
1321
|
-
"description": "Second test run ID to compare",
|
|
1322
|
-
"name": "runId2",
|
|
1323
|
-
"required": false
|
|
1324
|
-
}
|
|
1325
|
-
},
|
|
1326
|
-
"description": "Compare test runs for regression detection",
|
|
1327
|
-
"examples": [
|
|
1328
|
-
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
1329
|
-
"<%= config.bin %> <%= command.id %> --baseline=<run-id> --current=<run-id>",
|
|
1330
|
-
"<%= config.bin %> <%= command.id %> --suite=<suite-id> --since=\"2024-01-01\"",
|
|
1331
|
-
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2> --format=json"
|
|
1332
|
-
],
|
|
1333
|
-
"flags": {
|
|
1334
|
-
"version": {
|
|
1335
|
-
"char": "v",
|
|
1336
|
-
"description": "Compare runs by version",
|
|
1337
|
-
"name": "version",
|
|
1338
|
-
"hasDynamicHelp": false,
|
|
1339
|
-
"multiple": true,
|
|
1340
|
-
"type": "option"
|
|
1341
|
-
},
|
|
1342
|
-
"commit": {
|
|
1343
|
-
"char": "c",
|
|
1344
|
-
"description": "Compare runs by git commit",
|
|
1345
|
-
"name": "commit",
|
|
1346
|
-
"hasDynamicHelp": false,
|
|
1347
|
-
"multiple": true,
|
|
1348
|
-
"type": "option"
|
|
1349
|
-
},
|
|
1350
|
-
"diff-only": {
|
|
1351
|
-
"description": "Show only differences",
|
|
1352
|
-
"name": "diff-only",
|
|
1353
|
-
"allowNo": false,
|
|
1354
|
-
"type": "boolean"
|
|
1355
|
-
},
|
|
1356
|
-
"format": {
|
|
1357
|
-
"char": "f",
|
|
1358
|
-
"description": "Output format",
|
|
1359
|
-
"name": "format",
|
|
1360
|
-
"default": "console",
|
|
1361
|
-
"hasDynamicHelp": false,
|
|
1362
|
-
"multiple": false,
|
|
1363
|
-
"options": [
|
|
1364
|
-
"console",
|
|
1365
|
-
"json",
|
|
1366
|
-
"markdown"
|
|
1367
|
-
],
|
|
1368
|
-
"type": "option"
|
|
1369
|
-
},
|
|
1370
|
-
"output": {
|
|
1371
|
-
"char": "o",
|
|
1372
|
-
"description": "Output file path",
|
|
1373
|
-
"name": "output",
|
|
1374
|
-
"hasDynamicHelp": false,
|
|
1375
|
-
"multiple": false,
|
|
1376
|
-
"type": "option"
|
|
1377
|
-
},
|
|
1378
|
-
"verbose": {
|
|
1379
|
-
"description": "Show detailed information",
|
|
1380
|
-
"name": "verbose",
|
|
1381
|
-
"allowNo": false,
|
|
1382
|
-
"type": "boolean"
|
|
1383
|
-
}
|
|
1384
|
-
},
|
|
1385
|
-
"hasDynamicHelp": false,
|
|
1386
|
-
"hiddenAliases": [],
|
|
1387
|
-
"id": "test:compare",
|
|
1388
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1389
|
-
"pluginName": "@memberjunction/cli",
|
|
1390
|
-
"pluginType": "core",
|
|
1391
|
-
"strict": true,
|
|
1392
|
-
"enableJsonFlag": false,
|
|
1393
|
-
"isESM": false,
|
|
1394
|
-
"relativePath": [
|
|
1395
|
-
"dist",
|
|
1396
|
-
"commands",
|
|
1397
|
-
"test",
|
|
1398
|
-
"compare.js"
|
|
1399
|
-
]
|
|
1400
|
-
},
|
|
1401
|
-
"test:history": {
|
|
1402
|
-
"aliases": [],
|
|
1403
|
-
"args": {},
|
|
1404
|
-
"description": "View test execution history",
|
|
1405
|
-
"examples": [
|
|
1406
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1407
|
-
"<%= config.bin %> <%= command.id %> --test=<test-id>",
|
|
1408
|
-
"<%= config.bin %> <%= command.id %> --suite=<suite-id>",
|
|
1409
|
-
"<%= config.bin %> <%= command.id %> --since=\"2024-01-01\"",
|
|
1410
|
-
"<%= config.bin %> <%= command.id %> --limit=50"
|
|
1411
|
-
],
|
|
1412
|
-
"flags": {
|
|
1413
|
-
"test": {
|
|
1414
|
-
"char": "t",
|
|
1415
|
-
"description": "Filter by test ID",
|
|
1416
|
-
"name": "test",
|
|
1417
|
-
"hasDynamicHelp": false,
|
|
1418
|
-
"multiple": false,
|
|
1419
|
-
"type": "option"
|
|
1420
|
-
},
|
|
1421
|
-
"recent": {
|
|
1422
|
-
"char": "r",
|
|
1423
|
-
"description": "Number of recent runs to show",
|
|
1424
|
-
"name": "recent",
|
|
1425
|
-
"hasDynamicHelp": false,
|
|
1426
|
-
"multiple": false,
|
|
1427
|
-
"type": "option"
|
|
1428
|
-
},
|
|
1429
|
-
"from": {
|
|
1430
|
-
"description": "Show history from date (YYYY-MM-DD)",
|
|
1431
|
-
"name": "from",
|
|
1432
|
-
"hasDynamicHelp": false,
|
|
1433
|
-
"multiple": false,
|
|
1434
|
-
"type": "option"
|
|
1435
|
-
},
|
|
1436
|
-
"status": {
|
|
1437
|
-
"char": "s",
|
|
1438
|
-
"description": "Filter by status",
|
|
1439
|
-
"name": "status",
|
|
1440
|
-
"hasDynamicHelp": false,
|
|
1441
|
-
"multiple": false,
|
|
1442
|
-
"type": "option"
|
|
1443
|
-
},
|
|
1444
|
-
"format": {
|
|
1445
|
-
"char": "f",
|
|
1446
|
-
"description": "Output format",
|
|
1447
|
-
"name": "format",
|
|
1448
|
-
"default": "console",
|
|
1449
|
-
"hasDynamicHelp": false,
|
|
1450
|
-
"multiple": false,
|
|
1451
|
-
"options": [
|
|
1452
|
-
"console",
|
|
1453
|
-
"json",
|
|
1454
|
-
"markdown"
|
|
1455
|
-
],
|
|
1456
|
-
"type": "option"
|
|
1457
|
-
},
|
|
1458
|
-
"output": {
|
|
1459
|
-
"char": "o",
|
|
1460
|
-
"description": "Output file path",
|
|
1461
|
-
"name": "output",
|
|
1462
|
-
"hasDynamicHelp": false,
|
|
1463
|
-
"multiple": false,
|
|
1464
|
-
"type": "option"
|
|
1465
|
-
},
|
|
1466
|
-
"verbose": {
|
|
1467
|
-
"char": "v",
|
|
1468
|
-
"description": "Show detailed information",
|
|
1469
|
-
"name": "verbose",
|
|
1470
|
-
"allowNo": false,
|
|
1471
|
-
"type": "boolean"
|
|
1472
|
-
}
|
|
1473
|
-
},
|
|
1474
|
-
"hasDynamicHelp": false,
|
|
1475
|
-
"hiddenAliases": [],
|
|
1476
|
-
"id": "test:history",
|
|
1477
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1478
|
-
"pluginName": "@memberjunction/cli",
|
|
1479
|
-
"pluginType": "core",
|
|
1480
|
-
"strict": true,
|
|
1481
|
-
"enableJsonFlag": false,
|
|
1482
|
-
"isESM": false,
|
|
1483
|
-
"relativePath": [
|
|
1484
|
-
"dist",
|
|
1485
|
-
"commands",
|
|
1486
|
-
"test",
|
|
1487
|
-
"history.js"
|
|
1488
|
-
]
|
|
1489
|
-
},
|
|
1490
|
-
"test": {
|
|
1491
|
-
"aliases": [],
|
|
1492
|
-
"args": {},
|
|
1493
|
-
"description": "MemberJunction Testing Framework - Execute and manage tests",
|
|
1494
|
-
"examples": [
|
|
1495
|
-
"<%= config.bin %> <%= command.id %> run <test-id>",
|
|
1496
|
-
"<%= config.bin %> <%= command.id %> run --name=\"Active Members Count\"",
|
|
1497
|
-
"<%= config.bin %> <%= command.id %> suite <suite-id>",
|
|
1498
|
-
"<%= config.bin %> <%= command.id %> list",
|
|
1499
|
-
"<%= config.bin %> <%= command.id %> list --suites",
|
|
1500
|
-
"<%= config.bin %> <%= command.id %> validate --all"
|
|
1501
|
-
],
|
|
1502
|
-
"flags": {},
|
|
1503
|
-
"hasDynamicHelp": false,
|
|
1504
|
-
"hiddenAliases": [],
|
|
1505
|
-
"id": "test",
|
|
1506
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1507
|
-
"pluginName": "@memberjunction/cli",
|
|
1508
|
-
"pluginType": "core",
|
|
1509
|
-
"strict": true,
|
|
1510
|
-
"enableJsonFlag": false,
|
|
1511
|
-
"isESM": false,
|
|
1512
|
-
"relativePath": [
|
|
1513
|
-
"dist",
|
|
1514
|
-
"commands",
|
|
1515
|
-
"test",
|
|
1516
|
-
"index.js"
|
|
1517
|
-
]
|
|
1518
|
-
},
|
|
1519
|
-
"test:list": {
|
|
1520
|
-
"aliases": [],
|
|
1521
|
-
"args": {},
|
|
1522
|
-
"description": "List available tests, suites, and types",
|
|
1523
|
-
"examples": [
|
|
1524
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1525
|
-
"<%= config.bin %> <%= command.id %> --suites",
|
|
1526
|
-
"<%= config.bin %> <%= command.id %> --types",
|
|
1527
|
-
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
1528
|
-
"<%= config.bin %> <%= command.id %> --tag=smoke",
|
|
1529
|
-
"<%= config.bin %> <%= command.id %> --status=active --verbose"
|
|
1530
|
-
],
|
|
1531
|
-
"flags": {
|
|
1532
|
-
"suites": {
|
|
1533
|
-
"description": "List test suites instead of tests",
|
|
1534
|
-
"name": "suites",
|
|
1535
|
-
"allowNo": false,
|
|
1536
|
-
"type": "boolean"
|
|
1537
|
-
},
|
|
1538
|
-
"types": {
|
|
1539
|
-
"description": "List test types",
|
|
1540
|
-
"name": "types",
|
|
1541
|
-
"allowNo": false,
|
|
1542
|
-
"type": "boolean"
|
|
1543
|
-
},
|
|
1544
|
-
"type": {
|
|
1545
|
-
"char": "t",
|
|
1546
|
-
"description": "Filter by test type",
|
|
1547
|
-
"name": "type",
|
|
1548
|
-
"hasDynamicHelp": false,
|
|
1549
|
-
"multiple": false,
|
|
1550
|
-
"type": "option"
|
|
1551
|
-
},
|
|
1552
|
-
"tag": {
|
|
1553
|
-
"description": "Filter by tag",
|
|
1554
|
-
"name": "tag",
|
|
1555
|
-
"hasDynamicHelp": false,
|
|
1556
|
-
"multiple": false,
|
|
1557
|
-
"type": "option"
|
|
1558
|
-
},
|
|
1559
|
-
"status": {
|
|
1560
|
-
"char": "s",
|
|
1561
|
-
"description": "Filter by status",
|
|
1562
|
-
"name": "status",
|
|
1563
|
-
"hasDynamicHelp": false,
|
|
1564
|
-
"multiple": false,
|
|
1565
|
-
"type": "option"
|
|
1566
|
-
},
|
|
1567
|
-
"format": {
|
|
1568
|
-
"char": "f",
|
|
1569
|
-
"description": "Output format",
|
|
1570
|
-
"name": "format",
|
|
1571
|
-
"default": "console",
|
|
1572
|
-
"hasDynamicHelp": false,
|
|
1573
|
-
"multiple": false,
|
|
1574
|
-
"options": [
|
|
1575
|
-
"console",
|
|
1576
|
-
"json",
|
|
1577
|
-
"markdown"
|
|
1578
|
-
],
|
|
1579
|
-
"type": "option"
|
|
1580
|
-
},
|
|
1581
|
-
"output": {
|
|
1582
|
-
"char": "o",
|
|
1583
|
-
"description": "Output file path",
|
|
1584
|
-
"name": "output",
|
|
1585
|
-
"hasDynamicHelp": false,
|
|
1586
|
-
"multiple": false,
|
|
1587
|
-
"type": "option"
|
|
1588
|
-
},
|
|
1589
|
-
"verbose": {
|
|
1590
|
-
"char": "v",
|
|
1591
|
-
"description": "Show detailed information",
|
|
1592
|
-
"name": "verbose",
|
|
1593
|
-
"allowNo": false,
|
|
1594
|
-
"type": "boolean"
|
|
1595
|
-
}
|
|
1596
|
-
},
|
|
1597
|
-
"hasDynamicHelp": false,
|
|
1598
|
-
"hiddenAliases": [],
|
|
1599
|
-
"id": "test:list",
|
|
1600
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1601
|
-
"pluginName": "@memberjunction/cli",
|
|
1602
|
-
"pluginType": "core",
|
|
1603
|
-
"strict": true,
|
|
1604
|
-
"enableJsonFlag": false,
|
|
1605
|
-
"isESM": false,
|
|
1606
|
-
"relativePath": [
|
|
1607
|
-
"dist",
|
|
1608
|
-
"commands",
|
|
1609
|
-
"test",
|
|
1610
|
-
"list.js"
|
|
1611
|
-
]
|
|
1612
|
-
},
|
|
1613
|
-
"test:run": {
|
|
1614
|
-
"aliases": [],
|
|
1615
|
-
"args": {
|
|
1616
|
-
"testId": {
|
|
1617
|
-
"description": "Test ID to execute",
|
|
1618
|
-
"name": "testId",
|
|
1619
|
-
"required": false
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
"description": "Execute a single test by ID or name",
|
|
1623
|
-
"examples": [
|
|
1624
|
-
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
1625
|
-
"<%= config.bin %> <%= command.id %> --name=\"Active Members Count\"",
|
|
1626
|
-
"<%= config.bin %> <%= command.id %> <test-id> --environment=staging",
|
|
1627
|
-
"<%= config.bin %> <%= command.id %> <test-id> --format=json --output=results.json",
|
|
1628
|
-
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
1629
|
-
],
|
|
1630
|
-
"flags": {
|
|
1631
|
-
"name": {
|
|
1632
|
-
"char": "n",
|
|
1633
|
-
"description": "Test name to execute",
|
|
1634
|
-
"name": "name",
|
|
1635
|
-
"hasDynamicHelp": false,
|
|
1636
|
-
"multiple": false,
|
|
1637
|
-
"type": "option"
|
|
1638
|
-
},
|
|
1639
|
-
"environment": {
|
|
1640
|
-
"char": "e",
|
|
1641
|
-
"description": "Environment context (dev, staging, prod)",
|
|
1642
|
-
"name": "environment",
|
|
1643
|
-
"hasDynamicHelp": false,
|
|
1644
|
-
"multiple": false,
|
|
1645
|
-
"type": "option"
|
|
1646
|
-
},
|
|
1647
|
-
"format": {
|
|
1648
|
-
"char": "f",
|
|
1649
|
-
"description": "Output format",
|
|
1650
|
-
"name": "format",
|
|
1651
|
-
"default": "console",
|
|
1652
|
-
"hasDynamicHelp": false,
|
|
1653
|
-
"multiple": false,
|
|
1654
|
-
"options": [
|
|
1655
|
-
"console",
|
|
1656
|
-
"json",
|
|
1657
|
-
"markdown"
|
|
1658
|
-
],
|
|
1659
|
-
"type": "option"
|
|
1660
|
-
},
|
|
1661
|
-
"output": {
|
|
1662
|
-
"char": "o",
|
|
1663
|
-
"description": "Output file path",
|
|
1664
|
-
"name": "output",
|
|
1665
|
-
"hasDynamicHelp": false,
|
|
1666
|
-
"multiple": false,
|
|
1667
|
-
"type": "option"
|
|
1668
|
-
},
|
|
1669
|
-
"dry-run": {
|
|
1670
|
-
"description": "Validate without executing",
|
|
1671
|
-
"name": "dry-run",
|
|
1672
|
-
"allowNo": false,
|
|
1673
|
-
"type": "boolean"
|
|
1674
|
-
},
|
|
1675
|
-
"verbose": {
|
|
1676
|
-
"char": "v",
|
|
1677
|
-
"description": "Show detailed execution information",
|
|
1678
|
-
"name": "verbose",
|
|
1679
|
-
"allowNo": false,
|
|
1680
|
-
"type": "boolean"
|
|
1681
|
-
}
|
|
1682
|
-
},
|
|
1683
|
-
"hasDynamicHelp": false,
|
|
1684
|
-
"hiddenAliases": [],
|
|
1685
|
-
"id": "test:run",
|
|
1686
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1687
|
-
"pluginName": "@memberjunction/cli",
|
|
1688
|
-
"pluginType": "core",
|
|
1689
|
-
"strict": true,
|
|
1690
|
-
"enableJsonFlag": false,
|
|
1691
|
-
"isESM": false,
|
|
1692
|
-
"relativePath": [
|
|
1693
|
-
"dist",
|
|
1694
|
-
"commands",
|
|
1695
|
-
"test",
|
|
1696
|
-
"run.js"
|
|
1697
|
-
]
|
|
1698
|
-
},
|
|
1699
|
-
"test:suite": {
|
|
1700
|
-
"aliases": [],
|
|
1701
|
-
"args": {
|
|
1702
|
-
"suiteId": {
|
|
1703
|
-
"description": "Test suite ID to execute",
|
|
1704
|
-
"name": "suiteId",
|
|
1705
|
-
"required": false
|
|
1706
|
-
}
|
|
1707
|
-
},
|
|
1708
|
-
"description": "Execute a test suite",
|
|
1709
|
-
"examples": [
|
|
1710
|
-
"<%= config.bin %> <%= command.id %> <suite-id>",
|
|
1711
|
-
"<%= config.bin %> <%= command.id %> --name=\"Agent Quality Suite\"",
|
|
1712
|
-
"<%= config.bin %> <%= command.id %> <suite-id> --format=json",
|
|
1713
|
-
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
1714
|
-
],
|
|
1715
|
-
"flags": {
|
|
1716
|
-
"name": {
|
|
1717
|
-
"char": "n",
|
|
1718
|
-
"description": "Test suite name to execute",
|
|
1719
|
-
"name": "name",
|
|
1720
|
-
"hasDynamicHelp": false,
|
|
1721
|
-
"multiple": false,
|
|
1722
|
-
"type": "option"
|
|
1723
|
-
},
|
|
1724
|
-
"format": {
|
|
1725
|
-
"char": "f",
|
|
1726
|
-
"description": "Output format",
|
|
1727
|
-
"name": "format",
|
|
1728
|
-
"default": "console",
|
|
1729
|
-
"hasDynamicHelp": false,
|
|
1730
|
-
"multiple": false,
|
|
1731
|
-
"options": [
|
|
1732
|
-
"console",
|
|
1733
|
-
"json",
|
|
1734
|
-
"markdown"
|
|
1735
|
-
],
|
|
1736
|
-
"type": "option"
|
|
1737
|
-
},
|
|
1738
|
-
"output": {
|
|
1739
|
-
"char": "o",
|
|
1740
|
-
"description": "Output file path",
|
|
1741
|
-
"name": "output",
|
|
1742
|
-
"hasDynamicHelp": false,
|
|
1743
|
-
"multiple": false,
|
|
1744
|
-
"type": "option"
|
|
1745
|
-
},
|
|
1746
|
-
"verbose": {
|
|
1747
|
-
"char": "v",
|
|
1748
|
-
"description": "Show detailed execution information",
|
|
1749
|
-
"name": "verbose",
|
|
1750
|
-
"allowNo": false,
|
|
1751
|
-
"type": "boolean"
|
|
1752
|
-
}
|
|
1753
|
-
},
|
|
1754
|
-
"hasDynamicHelp": false,
|
|
1755
|
-
"hiddenAliases": [],
|
|
1756
|
-
"id": "test:suite",
|
|
1757
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1758
|
-
"pluginName": "@memberjunction/cli",
|
|
1759
|
-
"pluginType": "core",
|
|
1760
|
-
"strict": true,
|
|
1761
|
-
"enableJsonFlag": false,
|
|
1762
|
-
"isESM": false,
|
|
1763
|
-
"relativePath": [
|
|
1764
|
-
"dist",
|
|
1765
|
-
"commands",
|
|
1766
|
-
"test",
|
|
1767
|
-
"suite.js"
|
|
1768
|
-
]
|
|
1769
|
-
},
|
|
1770
|
-
"test:validate": {
|
|
1771
|
-
"aliases": [],
|
|
1772
|
-
"args": {
|
|
1773
|
-
"testId": {
|
|
1774
|
-
"description": "Test ID to validate",
|
|
1775
|
-
"name": "testId",
|
|
1776
|
-
"required": false
|
|
1777
|
-
}
|
|
1778
|
-
},
|
|
1779
|
-
"description": "Validate test definitions without executing",
|
|
1780
|
-
"examples": [
|
|
1781
|
-
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
1782
|
-
"<%= config.bin %> <%= command.id %> --all",
|
|
1783
|
-
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
1784
|
-
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
1785
|
-
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
1786
|
-
],
|
|
1787
|
-
"flags": {
|
|
1788
|
-
"all": {
|
|
1789
|
-
"char": "a",
|
|
1790
|
-
"description": "Validate all tests",
|
|
1791
|
-
"name": "all",
|
|
1792
|
-
"allowNo": false,
|
|
1793
|
-
"type": "boolean"
|
|
1794
|
-
},
|
|
1795
|
-
"type": {
|
|
1796
|
-
"char": "t",
|
|
1797
|
-
"description": "Validate tests by type",
|
|
1798
|
-
"name": "type",
|
|
1799
|
-
"hasDynamicHelp": false,
|
|
1800
|
-
"multiple": false,
|
|
1801
|
-
"type": "option"
|
|
1802
|
-
},
|
|
1803
|
-
"save-report": {
|
|
1804
|
-
"description": "Save validation report to file",
|
|
1805
|
-
"name": "save-report",
|
|
1806
|
-
"allowNo": false,
|
|
1807
|
-
"type": "boolean"
|
|
1808
|
-
},
|
|
1809
|
-
"format": {
|
|
1810
|
-
"char": "f",
|
|
1811
|
-
"description": "Output format",
|
|
1812
|
-
"name": "format",
|
|
1813
|
-
"default": "console",
|
|
1814
|
-
"hasDynamicHelp": false,
|
|
1815
|
-
"multiple": false,
|
|
1816
|
-
"options": [
|
|
1817
|
-
"console",
|
|
1818
|
-
"json",
|
|
1819
|
-
"markdown"
|
|
1820
|
-
],
|
|
1821
|
-
"type": "option"
|
|
1822
|
-
},
|
|
1823
|
-
"output": {
|
|
1824
|
-
"char": "o",
|
|
1825
|
-
"description": "Output file path",
|
|
1826
|
-
"name": "output",
|
|
1827
|
-
"hasDynamicHelp": false,
|
|
1828
|
-
"multiple": false,
|
|
1829
|
-
"type": "option"
|
|
1830
|
-
},
|
|
1831
|
-
"verbose": {
|
|
1832
|
-
"char": "v",
|
|
1833
|
-
"description": "Show detailed information",
|
|
1834
|
-
"name": "verbose",
|
|
1835
|
-
"allowNo": false,
|
|
1836
|
-
"type": "boolean"
|
|
1837
|
-
}
|
|
1838
|
-
},
|
|
1839
|
-
"hasDynamicHelp": false,
|
|
1840
|
-
"hiddenAliases": [],
|
|
1841
|
-
"id": "test:validate",
|
|
1842
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1843
|
-
"pluginName": "@memberjunction/cli",
|
|
1844
|
-
"pluginType": "core",
|
|
1845
|
-
"strict": true,
|
|
1846
|
-
"enableJsonFlag": false,
|
|
1847
|
-
"isESM": false,
|
|
1848
|
-
"relativePath": [
|
|
1849
|
-
"dist",
|
|
1850
|
-
"commands",
|
|
1851
|
-
"test",
|
|
1852
|
-
"validate.js"
|
|
1853
|
-
]
|
|
1854
|
-
},
|
|
1855
|
-
"migrate": {
|
|
1856
|
-
"aliases": [],
|
|
1857
|
-
"args": {},
|
|
1858
|
-
"description": "Migrate MemberJunction database to latest version",
|
|
1859
|
-
"examples": [
|
|
1860
|
-
"<%= config.bin %> <%= command.id %>\n"
|
|
1861
|
-
],
|
|
1862
|
-
"flags": {
|
|
1863
|
-
"verbose": {
|
|
1864
|
-
"char": "v",
|
|
1865
|
-
"description": "Enable additional logging",
|
|
1866
|
-
"name": "verbose",
|
|
1867
|
-
"allowNo": false,
|
|
1868
|
-
"type": "boolean"
|
|
1869
|
-
},
|
|
1870
|
-
"tag": {
|
|
1871
|
-
"char": "t",
|
|
1872
|
-
"description": "Version tag to use for running remote migrations",
|
|
1873
|
-
"name": "tag",
|
|
1874
|
-
"hasDynamicHelp": false,
|
|
1875
|
-
"multiple": false,
|
|
1876
|
-
"type": "option"
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
"hasDynamicHelp": false,
|
|
1880
|
-
"hiddenAliases": [],
|
|
1881
|
-
"id": "migrate",
|
|
1882
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1883
|
-
"pluginName": "@memberjunction/cli",
|
|
1884
|
-
"pluginType": "core",
|
|
1885
|
-
"strict": true,
|
|
1886
|
-
"enableJsonFlag": false,
|
|
1887
|
-
"isESM": false,
|
|
1888
|
-
"relativePath": [
|
|
1889
|
-
"dist",
|
|
1890
|
-
"commands",
|
|
1891
|
-
"migrate",
|
|
1892
|
-
"index.js"
|
|
1893
|
-
]
|
|
1894
|
-
},
|
|
1895
|
-
"ai:actions:list": {
|
|
1896
|
-
"aliases": [],
|
|
1897
|
-
"args": {},
|
|
1898
|
-
"description": "List available AI actions",
|
|
1899
|
-
"examples": [
|
|
1900
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1901
|
-
"<%= config.bin %> <%= command.id %> --output=table",
|
|
1902
|
-
"<%= config.bin %> <%= command.id %> --output=json"
|
|
1903
|
-
],
|
|
1904
|
-
"flags": {
|
|
1905
|
-
"output": {
|
|
1906
|
-
"char": "o",
|
|
1907
|
-
"description": "Output format",
|
|
1908
|
-
"name": "output",
|
|
1909
|
-
"default": "compact",
|
|
1910
|
-
"hasDynamicHelp": false,
|
|
1911
|
-
"multiple": false,
|
|
1912
|
-
"options": [
|
|
1913
|
-
"compact",
|
|
1914
|
-
"json",
|
|
1915
|
-
"table"
|
|
1916
|
-
],
|
|
1917
|
-
"type": "option"
|
|
1918
|
-
}
|
|
1919
|
-
},
|
|
1920
|
-
"hasDynamicHelp": false,
|
|
1921
|
-
"hiddenAliases": [],
|
|
1922
|
-
"id": "ai:actions:list",
|
|
1923
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1924
|
-
"pluginName": "@memberjunction/cli",
|
|
1925
|
-
"pluginType": "core",
|
|
1926
|
-
"strict": true,
|
|
1927
|
-
"enableJsonFlag": false,
|
|
1928
|
-
"isESM": false,
|
|
1929
|
-
"relativePath": [
|
|
1930
|
-
"dist",
|
|
1931
|
-
"commands",
|
|
1932
|
-
"ai",
|
|
1933
|
-
"actions",
|
|
1934
|
-
"list.js"
|
|
1935
|
-
]
|
|
1936
|
-
},
|
|
1937
|
-
"ai:actions:run": {
|
|
1938
|
-
"aliases": [],
|
|
1939
|
-
"args": {},
|
|
1940
|
-
"description": "Execute an AI action with parameters",
|
|
1941
|
-
"examples": [
|
|
1942
|
-
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
1943
|
-
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
1944
|
-
"<%= 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\"",
|
|
1945
|
-
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
1946
|
-
],
|
|
1947
|
-
"flags": {
|
|
1948
|
-
"name": {
|
|
1949
|
-
"char": "n",
|
|
1950
|
-
"description": "Action name",
|
|
1951
|
-
"name": "name",
|
|
1952
|
-
"required": true,
|
|
1953
|
-
"hasDynamicHelp": false,
|
|
1954
|
-
"multiple": false,
|
|
1955
|
-
"type": "option"
|
|
1956
|
-
},
|
|
1957
|
-
"param": {
|
|
1958
|
-
"char": "p",
|
|
1959
|
-
"description": "Action parameters in key=value format",
|
|
1960
|
-
"name": "param",
|
|
1961
|
-
"hasDynamicHelp": false,
|
|
1962
|
-
"multiple": true,
|
|
1963
|
-
"type": "option"
|
|
1964
|
-
},
|
|
1965
|
-
"dry-run": {
|
|
1966
|
-
"description": "Validate without executing",
|
|
1967
|
-
"name": "dry-run",
|
|
1968
|
-
"allowNo": false,
|
|
1969
|
-
"type": "boolean"
|
|
1970
|
-
},
|
|
1971
|
-
"output": {
|
|
1972
|
-
"char": "o",
|
|
1973
|
-
"description": "Output format",
|
|
1974
|
-
"name": "output",
|
|
1975
|
-
"default": "compact",
|
|
1976
|
-
"hasDynamicHelp": false,
|
|
1977
|
-
"multiple": false,
|
|
1978
|
-
"options": [
|
|
1979
|
-
"compact",
|
|
1980
|
-
"json",
|
|
1981
|
-
"table"
|
|
1982
|
-
],
|
|
1983
|
-
"type": "option"
|
|
1984
|
-
},
|
|
1985
|
-
"verbose": {
|
|
1986
|
-
"char": "v",
|
|
1987
|
-
"description": "Show detailed execution information",
|
|
1988
|
-
"name": "verbose",
|
|
1989
|
-
"allowNo": false,
|
|
1990
|
-
"type": "boolean"
|
|
1991
|
-
},
|
|
1992
|
-
"timeout": {
|
|
1993
|
-
"description": "Execution timeout in milliseconds",
|
|
1994
|
-
"name": "timeout",
|
|
1995
|
-
"default": 300000,
|
|
1996
|
-
"hasDynamicHelp": false,
|
|
1997
|
-
"multiple": false,
|
|
1998
|
-
"type": "option"
|
|
1999
|
-
}
|
|
2000
|
-
},
|
|
2001
|
-
"hasDynamicHelp": false,
|
|
2002
|
-
"hiddenAliases": [],
|
|
2003
|
-
"id": "ai:actions:run",
|
|
2004
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2005
|
-
"pluginName": "@memberjunction/cli",
|
|
2006
|
-
"pluginType": "core",
|
|
2007
|
-
"strict": true,
|
|
2008
|
-
"enableJsonFlag": false,
|
|
2009
|
-
"isESM": false,
|
|
2010
|
-
"relativePath": [
|
|
2011
|
-
"dist",
|
|
2012
|
-
"commands",
|
|
2013
|
-
"ai",
|
|
2014
|
-
"actions",
|
|
2015
|
-
"run.js"
|
|
2016
|
-
]
|
|
2017
|
-
},
|
|
2018
|
-
"ai:agents:list": {
|
|
2019
|
-
"aliases": [],
|
|
2020
|
-
"args": {},
|
|
2021
|
-
"description": "List available AI agents",
|
|
2022
|
-
"examples": [
|
|
2023
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2024
|
-
"<%= config.bin %> <%= command.id %> --output=table",
|
|
2025
|
-
"<%= config.bin %> <%= command.id %> --output=json"
|
|
2026
|
-
],
|
|
2027
|
-
"flags": {
|
|
2028
|
-
"output": {
|
|
2029
|
-
"char": "o",
|
|
2030
|
-
"description": "Output format",
|
|
2031
|
-
"name": "output",
|
|
2032
|
-
"default": "compact",
|
|
2033
|
-
"hasDynamicHelp": false,
|
|
2034
|
-
"multiple": false,
|
|
2035
|
-
"options": [
|
|
2036
|
-
"compact",
|
|
2037
|
-
"json",
|
|
2038
|
-
"table"
|
|
2039
|
-
],
|
|
2040
|
-
"type": "option"
|
|
2041
|
-
}
|
|
2042
|
-
},
|
|
2043
|
-
"hasDynamicHelp": false,
|
|
2044
|
-
"hiddenAliases": [],
|
|
2045
|
-
"id": "ai:agents:list",
|
|
2046
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2047
|
-
"pluginName": "@memberjunction/cli",
|
|
2048
|
-
"pluginType": "core",
|
|
2049
|
-
"strict": true,
|
|
2050
|
-
"enableJsonFlag": false,
|
|
2051
|
-
"isESM": false,
|
|
2052
|
-
"relativePath": [
|
|
2053
|
-
"dist",
|
|
2054
|
-
"commands",
|
|
2055
|
-
"ai",
|
|
2056
|
-
"agents",
|
|
2057
|
-
"list.js"
|
|
2058
|
-
]
|
|
2059
|
-
},
|
|
2060
|
-
"ai:agents:run": {
|
|
2061
|
-
"aliases": [],
|
|
2062
|
-
"args": {},
|
|
2063
|
-
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
2064
|
-
"examples": [
|
|
2065
|
-
"<%= config.bin %> <%= command.id %> -a \"Skip: Requirements Expert\" -p \"Create a dashboard for sales metrics\"",
|
|
2066
|
-
"<%= config.bin %> <%= command.id %> -a \"Child Component Generator Sub-agent\" --chat",
|
|
2067
|
-
"<%= config.bin %> <%= command.id %> -a \"Skip: Technical Design Expert\" -p \"Build a React component\" --verbose --timeout=600000"
|
|
2068
|
-
],
|
|
2069
|
-
"flags": {
|
|
2070
|
-
"agent": {
|
|
2071
|
-
"char": "a",
|
|
2072
|
-
"description": "Agent name",
|
|
2073
|
-
"name": "agent",
|
|
2074
|
-
"required": true,
|
|
2075
|
-
"hasDynamicHelp": false,
|
|
2076
|
-
"multiple": false,
|
|
2077
|
-
"type": "option"
|
|
2078
|
-
},
|
|
2079
|
-
"prompt": {
|
|
2080
|
-
"char": "p",
|
|
2081
|
-
"description": "Prompt to execute",
|
|
2082
|
-
"exclusive": [
|
|
2083
|
-
"chat"
|
|
2084
|
-
],
|
|
2085
|
-
"name": "prompt",
|
|
2086
|
-
"hasDynamicHelp": false,
|
|
2087
|
-
"multiple": false,
|
|
2088
|
-
"type": "option"
|
|
2089
|
-
},
|
|
2090
|
-
"chat": {
|
|
2091
|
-
"char": "c",
|
|
2092
|
-
"description": "Start interactive chat mode",
|
|
2093
|
-
"exclusive": [
|
|
2094
|
-
"prompt"
|
|
2095
|
-
],
|
|
2096
|
-
"name": "chat",
|
|
2097
|
-
"allowNo": false,
|
|
2098
|
-
"type": "boolean"
|
|
2099
|
-
},
|
|
2100
|
-
"output": {
|
|
2101
|
-
"char": "o",
|
|
2102
|
-
"description": "Output format",
|
|
2103
|
-
"name": "output",
|
|
2104
|
-
"default": "compact",
|
|
2105
|
-
"hasDynamicHelp": false,
|
|
2106
|
-
"multiple": false,
|
|
2107
|
-
"options": [
|
|
2108
|
-
"compact",
|
|
2109
|
-
"json",
|
|
2110
|
-
"table"
|
|
2111
|
-
],
|
|
2112
|
-
"type": "option"
|
|
2113
|
-
},
|
|
2114
|
-
"verbose": {
|
|
2115
|
-
"char": "v",
|
|
2116
|
-
"description": "Show detailed execution information",
|
|
2117
|
-
"name": "verbose",
|
|
2118
|
-
"allowNo": false,
|
|
2119
|
-
"type": "boolean"
|
|
2120
|
-
},
|
|
2121
|
-
"timeout": {
|
|
2122
|
-
"description": "Execution timeout in milliseconds",
|
|
2123
|
-
"name": "timeout",
|
|
2124
|
-
"default": 300000,
|
|
2125
|
-
"hasDynamicHelp": false,
|
|
2126
|
-
"multiple": false,
|
|
2127
|
-
"type": "option"
|
|
2128
|
-
}
|
|
2129
|
-
},
|
|
2130
|
-
"hasDynamicHelp": false,
|
|
2131
|
-
"hiddenAliases": [],
|
|
2132
|
-
"id": "ai:agents:run",
|
|
2133
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2134
|
-
"pluginName": "@memberjunction/cli",
|
|
2135
|
-
"pluginType": "core",
|
|
2136
|
-
"strict": true,
|
|
2137
|
-
"enableJsonFlag": false,
|
|
2138
|
-
"isESM": false,
|
|
2139
|
-
"relativePath": [
|
|
2140
|
-
"dist",
|
|
2141
|
-
"commands",
|
|
2142
|
-
"ai",
|
|
2143
|
-
"agents",
|
|
2144
|
-
"run.js"
|
|
2145
|
-
]
|
|
2146
|
-
},
|
|
2147
|
-
"ai:audit:agent-run": {
|
|
2148
|
-
"aliases": [],
|
|
2149
|
-
"args": {
|
|
2150
|
-
"runId": {
|
|
2151
|
-
"description": "AI Agent Run ID to audit (UUID)",
|
|
2152
|
-
"name": "runId",
|
|
2153
|
-
"required": false
|
|
2154
|
-
}
|
|
2155
|
-
},
|
|
2156
|
-
"description": "Audit and analyze AI agent execution runs for debugging and performance analysis",
|
|
2157
|
-
"examples": [
|
|
2158
|
-
"<%= config.bin %> <%= command.id %> abc-123-def-456",
|
|
2159
|
-
"<%= config.bin %> <%= command.id %> abc-123-def-456 --output=markdown",
|
|
2160
|
-
"<%= config.bin %> <%= command.id %> abc-123-def-456 --step 3",
|
|
2161
|
-
"<%= config.bin %> <%= command.id %> abc-123-def-456 --step 3 --detail full",
|
|
2162
|
-
"<%= config.bin %> <%= command.id %> abc-123-def-456 --errors",
|
|
2163
|
-
"<%= config.bin %> <%= command.id %> --list --agent \"Skip: Requirements Expert\"",
|
|
2164
|
-
"<%= config.bin %> <%= command.id %> --list --status failed --days 7",
|
|
2165
|
-
"<%= config.bin %> <%= command.id %> abc-123-def-456 --export full --file report.json"
|
|
2166
|
-
],
|
|
2167
|
-
"flags": {
|
|
2168
|
-
"output": {
|
|
2169
|
-
"char": "o",
|
|
2170
|
-
"description": "Output format",
|
|
2171
|
-
"name": "output",
|
|
2172
|
-
"default": "compact",
|
|
2173
|
-
"hasDynamicHelp": false,
|
|
2174
|
-
"multiple": false,
|
|
2175
|
-
"options": [
|
|
2176
|
-
"compact",
|
|
2177
|
-
"json",
|
|
2178
|
-
"table",
|
|
2179
|
-
"markdown"
|
|
2180
|
-
],
|
|
2181
|
-
"type": "option"
|
|
2182
|
-
},
|
|
2183
|
-
"step": {
|
|
2184
|
-
"char": "s",
|
|
2185
|
-
"description": "Show details for specific step number (1-based index)",
|
|
2186
|
-
"exclusive": [
|
|
2187
|
-
"list",
|
|
2188
|
-
"errors"
|
|
2189
|
-
],
|
|
2190
|
-
"name": "step",
|
|
2191
|
-
"hasDynamicHelp": false,
|
|
2192
|
-
"multiple": false,
|
|
2193
|
-
"type": "option"
|
|
2194
|
-
},
|
|
2195
|
-
"detail": {
|
|
2196
|
-
"char": "d",
|
|
2197
|
-
"dependsOn": [
|
|
2198
|
-
"step"
|
|
2199
|
-
],
|
|
2200
|
-
"description": "Detail level for step output (default: standard)",
|
|
2201
|
-
"name": "detail",
|
|
2202
|
-
"hasDynamicHelp": false,
|
|
2203
|
-
"multiple": false,
|
|
2204
|
-
"options": [
|
|
2205
|
-
"minimal",
|
|
2206
|
-
"standard",
|
|
2207
|
-
"detailed",
|
|
2208
|
-
"full"
|
|
2209
|
-
],
|
|
2210
|
-
"type": "option"
|
|
2211
|
-
},
|
|
2212
|
-
"errors": {
|
|
2213
|
-
"char": "e",
|
|
2214
|
-
"description": "Show only error details and context",
|
|
2215
|
-
"exclusive": [
|
|
2216
|
-
"step",
|
|
2217
|
-
"list"
|
|
2218
|
-
],
|
|
2219
|
-
"name": "errors",
|
|
2220
|
-
"allowNo": false,
|
|
2221
|
-
"type": "boolean"
|
|
2222
|
-
},
|
|
2223
|
-
"list": {
|
|
2224
|
-
"char": "l",
|
|
2225
|
-
"description": "List recent agent runs",
|
|
2226
|
-
"exclusive": [
|
|
2227
|
-
"step",
|
|
2228
|
-
"errors"
|
|
2229
|
-
],
|
|
2230
|
-
"name": "list",
|
|
2231
|
-
"allowNo": false,
|
|
2232
|
-
"type": "boolean"
|
|
2233
|
-
},
|
|
2234
|
-
"agent": {
|
|
2235
|
-
"char": "a",
|
|
2236
|
-
"dependsOn": [
|
|
2237
|
-
"list"
|
|
2238
|
-
],
|
|
2239
|
-
"description": "Filter by agent name",
|
|
2240
|
-
"name": "agent",
|
|
2241
|
-
"hasDynamicHelp": false,
|
|
2242
|
-
"multiple": false,
|
|
2243
|
-
"type": "option"
|
|
2244
|
-
},
|
|
2245
|
-
"status": {
|
|
2246
|
-
"dependsOn": [
|
|
2247
|
-
"list"
|
|
2248
|
-
],
|
|
2249
|
-
"description": "Filter by run status",
|
|
2250
|
-
"name": "status",
|
|
2251
|
-
"default": "all",
|
|
2252
|
-
"hasDynamicHelp": false,
|
|
2253
|
-
"multiple": false,
|
|
2254
|
-
"options": [
|
|
2255
|
-
"success",
|
|
2256
|
-
"failed",
|
|
2257
|
-
"running",
|
|
2258
|
-
"all"
|
|
2259
|
-
],
|
|
2260
|
-
"type": "option"
|
|
2261
|
-
},
|
|
2262
|
-
"days": {
|
|
2263
|
-
"dependsOn": [
|
|
2264
|
-
"list"
|
|
2265
|
-
],
|
|
2266
|
-
"description": "Number of days to look back",
|
|
2267
|
-
"name": "days",
|
|
2268
|
-
"default": 7,
|
|
2269
|
-
"hasDynamicHelp": false,
|
|
2270
|
-
"multiple": false,
|
|
2271
|
-
"type": "option"
|
|
2272
|
-
},
|
|
2273
|
-
"limit": {
|
|
2274
|
-
"dependsOn": [
|
|
2275
|
-
"list"
|
|
2276
|
-
],
|
|
2277
|
-
"description": "Maximum number of runs to return",
|
|
2278
|
-
"name": "limit",
|
|
2279
|
-
"default": 50,
|
|
2280
|
-
"hasDynamicHelp": false,
|
|
2281
|
-
"multiple": false,
|
|
2282
|
-
"type": "option"
|
|
2283
|
-
},
|
|
2284
|
-
"export": {
|
|
2285
|
-
"dependsOn": [
|
|
2286
|
-
"file"
|
|
2287
|
-
],
|
|
2288
|
-
"description": "Export full data to file",
|
|
2289
|
-
"name": "export",
|
|
2290
|
-
"hasDynamicHelp": false,
|
|
2291
|
-
"multiple": false,
|
|
2292
|
-
"options": [
|
|
2293
|
-
"full",
|
|
2294
|
-
"summary",
|
|
2295
|
-
"steps"
|
|
2296
|
-
],
|
|
2297
|
-
"type": "option"
|
|
2298
|
-
},
|
|
2299
|
-
"file": {
|
|
2300
|
-
"char": "f",
|
|
2301
|
-
"description": "Output file path for export",
|
|
2302
|
-
"name": "file",
|
|
2303
|
-
"hasDynamicHelp": false,
|
|
2304
|
-
"multiple": false,
|
|
2305
|
-
"type": "option"
|
|
2306
|
-
},
|
|
2307
|
-
"max-tokens": {
|
|
2308
|
-
"description": "Maximum tokens per field (0 = no limit)",
|
|
2309
|
-
"name": "max-tokens",
|
|
2310
|
-
"default": 5000,
|
|
2311
|
-
"hasDynamicHelp": false,
|
|
2312
|
-
"multiple": false,
|
|
2313
|
-
"type": "option"
|
|
2314
|
-
},
|
|
2315
|
-
"verbose": {
|
|
2316
|
-
"char": "v",
|
|
2317
|
-
"description": "Show detailed diagnostic information",
|
|
2318
|
-
"name": "verbose",
|
|
2319
|
-
"allowNo": false,
|
|
2320
|
-
"type": "boolean"
|
|
2321
|
-
}
|
|
2322
|
-
},
|
|
2323
|
-
"hasDynamicHelp": false,
|
|
2324
|
-
"hiddenAliases": [],
|
|
2325
|
-
"id": "ai:audit:agent-run",
|
|
2326
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2327
|
-
"pluginName": "@memberjunction/cli",
|
|
2328
|
-
"pluginType": "core",
|
|
2329
|
-
"strict": true,
|
|
2330
|
-
"enableJsonFlag": false,
|
|
2331
|
-
"isESM": false,
|
|
2332
|
-
"relativePath": [
|
|
2333
|
-
"dist",
|
|
2334
|
-
"commands",
|
|
2335
|
-
"ai",
|
|
2336
|
-
"audit",
|
|
2337
|
-
"agent-run.js"
|
|
2338
|
-
]
|
|
2339
|
-
},
|
|
2340
|
-
"ai:audit": {
|
|
2341
|
-
"aliases": [],
|
|
2342
|
-
"args": {},
|
|
2343
|
-
"description": "Analyze and audit AI agent runs, prompts, and actions for debugging and performance analysis",
|
|
2344
|
-
"flags": {},
|
|
2345
|
-
"hasDynamicHelp": false,
|
|
2346
|
-
"hidden": false,
|
|
2347
|
-
"hiddenAliases": [],
|
|
2348
|
-
"id": "ai:audit",
|
|
2349
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2350
|
-
"pluginName": "@memberjunction/cli",
|
|
2351
|
-
"pluginType": "core",
|
|
2352
|
-
"strict": true,
|
|
2353
|
-
"enableJsonFlag": false,
|
|
2354
|
-
"isESM": false,
|
|
2355
|
-
"relativePath": [
|
|
2356
|
-
"dist",
|
|
2357
|
-
"commands",
|
|
2358
|
-
"ai",
|
|
2359
|
-
"audit",
|
|
2360
|
-
"index.js"
|
|
2361
|
-
]
|
|
2362
|
-
},
|
|
2363
|
-
"ai:prompts:list": {
|
|
2364
|
-
"aliases": [],
|
|
2365
|
-
"args": {},
|
|
2366
|
-
"description": "List available models for prompt execution",
|
|
2367
|
-
"examples": [
|
|
2368
|
-
"<%= config.bin %> <%= command.id %>"
|
|
2369
|
-
],
|
|
2370
|
-
"flags": {
|
|
2371
|
-
"verbose": {
|
|
2372
|
-
"char": "v",
|
|
2373
|
-
"description": "Show detailed model information",
|
|
2374
|
-
"name": "verbose",
|
|
2375
|
-
"allowNo": false,
|
|
2376
|
-
"type": "boolean"
|
|
2377
|
-
}
|
|
2378
|
-
},
|
|
2379
|
-
"hasDynamicHelp": false,
|
|
2380
|
-
"hiddenAliases": [],
|
|
2381
|
-
"id": "ai:prompts:list",
|
|
2382
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2383
|
-
"pluginName": "@memberjunction/cli",
|
|
2384
|
-
"pluginType": "core",
|
|
2385
|
-
"strict": true,
|
|
2386
|
-
"enableJsonFlag": false,
|
|
2387
|
-
"isESM": false,
|
|
2388
|
-
"relativePath": [
|
|
2389
|
-
"dist",
|
|
2390
|
-
"commands",
|
|
2391
|
-
"ai",
|
|
2392
|
-
"prompts",
|
|
2393
|
-
"list.js"
|
|
2394
|
-
]
|
|
2395
|
-
},
|
|
2396
|
-
"ai:prompts:run": {
|
|
2397
|
-
"aliases": [],
|
|
2398
|
-
"args": {},
|
|
2399
|
-
"description": "Execute a direct prompt with an AI model",
|
|
2400
|
-
"examples": [
|
|
2401
|
-
"<%= config.bin %> <%= command.id %> -p \"Explain quantum computing in simple terms\"",
|
|
2402
|
-
"<%= config.bin %> <%= command.id %> -p \"Write a Python function to sort a list\" --model \"gpt-4\"",
|
|
2403
|
-
"<%= config.bin %> <%= command.id %> -p \"Translate to French: Hello world\" --temperature 0.3",
|
|
2404
|
-
"<%= config.bin %> <%= command.id %> -p \"Generate a haiku\" --system \"You are a poet\" --max-tokens 100"
|
|
2405
|
-
],
|
|
2406
|
-
"flags": {
|
|
2407
|
-
"prompt": {
|
|
2408
|
-
"char": "p",
|
|
2409
|
-
"description": "The prompt to execute",
|
|
2410
|
-
"name": "prompt",
|
|
2411
|
-
"required": true,
|
|
2412
|
-
"hasDynamicHelp": false,
|
|
2413
|
-
"multiple": false,
|
|
2414
|
-
"type": "option"
|
|
2415
|
-
},
|
|
2416
|
-
"model": {
|
|
2417
|
-
"char": "m",
|
|
2418
|
-
"description": "AI model to use (e.g., gpt-4, claude-3-opus)",
|
|
2419
|
-
"name": "model",
|
|
2420
|
-
"hasDynamicHelp": false,
|
|
2421
|
-
"multiple": false,
|
|
2422
|
-
"type": "option"
|
|
2423
|
-
},
|
|
2424
|
-
"system": {
|
|
2425
|
-
"char": "s",
|
|
2426
|
-
"description": "System prompt to set context",
|
|
2427
|
-
"name": "system",
|
|
2428
|
-
"hasDynamicHelp": false,
|
|
2429
|
-
"multiple": false,
|
|
2430
|
-
"type": "option"
|
|
2431
|
-
},
|
|
2432
|
-
"temperature": {
|
|
2433
|
-
"char": "t",
|
|
2434
|
-
"description": "Temperature for response creativity (0.0-2.0)",
|
|
2435
|
-
"name": "temperature",
|
|
2436
|
-
"hasDynamicHelp": false,
|
|
2437
|
-
"multiple": false,
|
|
2438
|
-
"type": "option"
|
|
2439
|
-
},
|
|
2440
|
-
"max-tokens": {
|
|
2441
|
-
"description": "Maximum tokens for the response",
|
|
2442
|
-
"name": "max-tokens",
|
|
2443
|
-
"hasDynamicHelp": false,
|
|
2444
|
-
"multiple": false,
|
|
2445
|
-
"type": "option"
|
|
2446
|
-
},
|
|
2447
|
-
"configuration": {
|
|
2448
|
-
"char": "c",
|
|
2449
|
-
"description": "AI Configuration ID to use",
|
|
2450
|
-
"name": "configuration",
|
|
2451
|
-
"hasDynamicHelp": false,
|
|
2452
|
-
"multiple": false,
|
|
2453
|
-
"type": "option"
|
|
2454
|
-
},
|
|
2455
|
-
"output": {
|
|
2456
|
-
"char": "o",
|
|
2457
|
-
"description": "Output format",
|
|
2458
|
-
"name": "output",
|
|
2459
|
-
"default": "compact",
|
|
2460
|
-
"hasDynamicHelp": false,
|
|
2461
|
-
"multiple": false,
|
|
2462
|
-
"options": [
|
|
2463
|
-
"compact",
|
|
2464
|
-
"json",
|
|
2465
|
-
"table"
|
|
2466
|
-
],
|
|
2467
|
-
"type": "option"
|
|
2468
|
-
},
|
|
2469
|
-
"verbose": {
|
|
2470
|
-
"char": "v",
|
|
2471
|
-
"description": "Show detailed execution information",
|
|
2472
|
-
"name": "verbose",
|
|
2473
|
-
"allowNo": false,
|
|
2474
|
-
"type": "boolean"
|
|
2475
|
-
},
|
|
2476
|
-
"timeout": {
|
|
2477
|
-
"description": "Execution timeout in milliseconds",
|
|
2478
|
-
"name": "timeout",
|
|
2479
|
-
"default": 300000,
|
|
2480
|
-
"hasDynamicHelp": false,
|
|
2481
|
-
"multiple": false,
|
|
2482
|
-
"type": "option"
|
|
2483
|
-
}
|
|
2484
|
-
},
|
|
2485
|
-
"hasDynamicHelp": false,
|
|
2486
|
-
"hiddenAliases": [],
|
|
2487
|
-
"id": "ai:prompts:run",
|
|
2488
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2489
|
-
"pluginName": "@memberjunction/cli",
|
|
2490
|
-
"pluginType": "core",
|
|
2491
|
-
"strict": true,
|
|
2492
|
-
"enableJsonFlag": false,
|
|
2493
|
-
"isESM": false,
|
|
2494
|
-
"relativePath": [
|
|
2495
|
-
"dist",
|
|
2496
|
-
"commands",
|
|
2497
|
-
"ai",
|
|
2498
|
-
"prompts",
|
|
2499
|
-
"run.js"
|
|
2500
|
-
]
|
|
2501
|
-
}
|
|
2502
|
-
},
|
|
2503
|
-
"version": "3.3.0"
|
|
2504
|
-
}
|