dhti-cli 0.1.0 → 0.1.1

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.
@@ -1,4 +1,444 @@
1
1
  {
2
- "commands": {},
3
- "version": "0.1.0"
2
+ "commands": {
3
+ "compose": {
4
+ "aliases": [],
5
+ "args": {
6
+ "op": {
7
+ "description": "Operation to perform (add, delete, read or reset)",
8
+ "name": "op"
9
+ }
10
+ },
11
+ "description": "Generates a docker-compose.yml file from a list of modules",
12
+ "examples": [
13
+ "<%= config.bin %> <%= command.id %>"
14
+ ],
15
+ "flags": {
16
+ "file": {
17
+ "char": "f",
18
+ "description": "Full path to the docker compose file to read from. Creates if it does not exist",
19
+ "name": "file",
20
+ "default": "/home/beapen/dhti/docker-compose.yml",
21
+ "hasDynamicHelp": false,
22
+ "multiple": false,
23
+ "type": "option"
24
+ },
25
+ "module": {
26
+ "char": "m",
27
+ "description": "Modules to add from ( langserve, openmrs, ollama, langfuse, cqlFhir, redis, neo4j and mcpFhir)",
28
+ "name": "module",
29
+ "hasDynamicHelp": false,
30
+ "multiple": true,
31
+ "type": "option"
32
+ }
33
+ },
34
+ "hasDynamicHelp": false,
35
+ "hiddenAliases": [],
36
+ "id": "compose",
37
+ "pluginAlias": "dhti-cli",
38
+ "pluginName": "dhti-cli",
39
+ "pluginType": "core",
40
+ "strict": true,
41
+ "enableJsonFlag": false,
42
+ "isESM": true,
43
+ "relativePath": [
44
+ "dist",
45
+ "commands",
46
+ "compose.js"
47
+ ]
48
+ },
49
+ "conch": {
50
+ "aliases": [],
51
+ "args": {
52
+ "op": {
53
+ "description": "Operation to perform (install, uninstall or dev)",
54
+ "name": "op"
55
+ }
56
+ },
57
+ "description": "Install or uninstall conchs to create a Docker image",
58
+ "examples": [
59
+ "<%= config.bin %> <%= command.id %>"
60
+ ],
61
+ "flags": {
62
+ "branch": {
63
+ "char": "b",
64
+ "description": "Branch to install from",
65
+ "name": "branch",
66
+ "default": "develop",
67
+ "hasDynamicHelp": false,
68
+ "multiple": false,
69
+ "type": "option"
70
+ },
71
+ "container": {
72
+ "char": "c",
73
+ "description": "Name of the container to copy the conch to while in dev mode",
74
+ "name": "container",
75
+ "default": "dhti-frontend-1",
76
+ "hasDynamicHelp": false,
77
+ "multiple": false,
78
+ "type": "option"
79
+ },
80
+ "dev": {
81
+ "char": "d",
82
+ "description": "Dev folder to install",
83
+ "name": "dev",
84
+ "default": "none",
85
+ "hasDynamicHelp": false,
86
+ "multiple": false,
87
+ "type": "option"
88
+ },
89
+ "git": {
90
+ "char": "g",
91
+ "description": "Github repository to install",
92
+ "name": "git",
93
+ "default": "none",
94
+ "hasDynamicHelp": false,
95
+ "multiple": false,
96
+ "type": "option"
97
+ },
98
+ "image": {
99
+ "char": "i",
100
+ "description": "Base image to use for the conch",
101
+ "name": "image",
102
+ "default": "openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.17",
103
+ "hasDynamicHelp": false,
104
+ "multiple": false,
105
+ "type": "option"
106
+ },
107
+ "name": {
108
+ "char": "n",
109
+ "description": "Name of the elixir",
110
+ "name": "name",
111
+ "hasDynamicHelp": false,
112
+ "multiple": false,
113
+ "type": "option"
114
+ },
115
+ "repoVersion": {
116
+ "char": "v",
117
+ "description": "Version of the conch",
118
+ "name": "repoVersion",
119
+ "default": "1.0.0",
120
+ "hasDynamicHelp": false,
121
+ "multiple": false,
122
+ "type": "option"
123
+ },
124
+ "workdir": {
125
+ "char": "w",
126
+ "description": "Working directory to install the conch",
127
+ "name": "workdir",
128
+ "default": "/home/beapen/dhti",
129
+ "hasDynamicHelp": false,
130
+ "multiple": false,
131
+ "type": "option"
132
+ }
133
+ },
134
+ "hasDynamicHelp": false,
135
+ "hiddenAliases": [],
136
+ "id": "conch",
137
+ "pluginAlias": "dhti-cli",
138
+ "pluginName": "dhti-cli",
139
+ "pluginType": "core",
140
+ "strict": true,
141
+ "enableJsonFlag": false,
142
+ "isESM": true,
143
+ "relativePath": [
144
+ "dist",
145
+ "commands",
146
+ "conch.js"
147
+ ]
148
+ },
149
+ "docker": {
150
+ "aliases": [],
151
+ "args": {
152
+ "path": {
153
+ "default": "/home/beapen/dhti",
154
+ "description": "Docker project path to build. Ex: dhti",
155
+ "name": "path"
156
+ }
157
+ },
158
+ "description": "Build a docker project and update docker-compose file",
159
+ "examples": [
160
+ "<%= config.bin %> <%= command.id %>"
161
+ ],
162
+ "flags": {
163
+ "down": {
164
+ "char": "d",
165
+ "description": "Run docker-compose down after building",
166
+ "name": "down",
167
+ "allowNo": false,
168
+ "type": "boolean"
169
+ },
170
+ "file": {
171
+ "char": "f",
172
+ "description": "Full path to the docker compose file to edit or run.",
173
+ "name": "file",
174
+ "default": "/home/beapen/dhti/docker-compose.yml",
175
+ "hasDynamicHelp": false,
176
+ "multiple": false,
177
+ "type": "option"
178
+ },
179
+ "name": {
180
+ "char": "n",
181
+ "description": "Name of the container to build",
182
+ "name": "name",
183
+ "hasDynamicHelp": false,
184
+ "multiple": false,
185
+ "type": "option"
186
+ },
187
+ "type": {
188
+ "char": "t",
189
+ "description": "Type of the service (elixir/conch)",
190
+ "name": "type",
191
+ "default": "elixir",
192
+ "hasDynamicHelp": false,
193
+ "multiple": false,
194
+ "type": "option"
195
+ },
196
+ "up": {
197
+ "char": "u",
198
+ "description": "Run docker-compose up after building",
199
+ "name": "up",
200
+ "allowNo": false,
201
+ "type": "boolean"
202
+ }
203
+ },
204
+ "hasDynamicHelp": false,
205
+ "hiddenAliases": [],
206
+ "id": "docker",
207
+ "pluginAlias": "dhti-cli",
208
+ "pluginName": "dhti-cli",
209
+ "pluginType": "core",
210
+ "strict": true,
211
+ "enableJsonFlag": false,
212
+ "isESM": true,
213
+ "relativePath": [
214
+ "dist",
215
+ "commands",
216
+ "docker.js"
217
+ ]
218
+ },
219
+ "elixir": {
220
+ "aliases": [],
221
+ "args": {
222
+ "op": {
223
+ "description": "Operation to perform (install, uninstall or dev)",
224
+ "name": "op"
225
+ }
226
+ },
227
+ "description": "Install or uninstall elixirs to create a Docker image",
228
+ "examples": [
229
+ "<%= config.bin %> <%= command.id %>"
230
+ ],
231
+ "flags": {
232
+ "branch": {
233
+ "char": "b",
234
+ "description": "Branch to install from",
235
+ "name": "branch",
236
+ "default": "develop",
237
+ "hasDynamicHelp": false,
238
+ "multiple": false,
239
+ "type": "option"
240
+ },
241
+ "container": {
242
+ "char": "c",
243
+ "description": "Name of the container to copy the elixir to while in dev mode",
244
+ "name": "container",
245
+ "default": "dhti-langserve-1",
246
+ "hasDynamicHelp": false,
247
+ "multiple": false,
248
+ "type": "option"
249
+ },
250
+ "dev": {
251
+ "char": "d",
252
+ "description": "Dev folder to install",
253
+ "name": "dev",
254
+ "default": "none",
255
+ "hasDynamicHelp": false,
256
+ "multiple": false,
257
+ "type": "option"
258
+ },
259
+ "git": {
260
+ "char": "g",
261
+ "description": "Github repository to install",
262
+ "name": "git",
263
+ "default": "none",
264
+ "hasDynamicHelp": false,
265
+ "multiple": false,
266
+ "type": "option"
267
+ },
268
+ "name": {
269
+ "char": "n",
270
+ "description": "Name of the elixir",
271
+ "name": "name",
272
+ "hasDynamicHelp": false,
273
+ "multiple": false,
274
+ "type": "option"
275
+ },
276
+ "pypi": {
277
+ "char": "p",
278
+ "description": "PyPi package to install. Ex: dhti-elixir-base = \">=0.1.0\"",
279
+ "name": "pypi",
280
+ "default": "none",
281
+ "hasDynamicHelp": false,
282
+ "multiple": false,
283
+ "type": "option"
284
+ },
285
+ "repoVersion": {
286
+ "char": "v",
287
+ "description": "Version of the elixir",
288
+ "name": "repoVersion",
289
+ "default": "0.1.0",
290
+ "hasDynamicHelp": false,
291
+ "multiple": false,
292
+ "type": "option"
293
+ },
294
+ "whl": {
295
+ "char": "e",
296
+ "description": "Whl file to install",
297
+ "name": "whl",
298
+ "default": "none",
299
+ "hasDynamicHelp": false,
300
+ "multiple": false,
301
+ "type": "option"
302
+ },
303
+ "workdir": {
304
+ "char": "w",
305
+ "description": "Working directory to install the elixir",
306
+ "name": "workdir",
307
+ "default": "/home/beapen/dhti",
308
+ "hasDynamicHelp": false,
309
+ "multiple": false,
310
+ "type": "option"
311
+ }
312
+ },
313
+ "hasDynamicHelp": false,
314
+ "hiddenAliases": [],
315
+ "id": "elixir",
316
+ "pluginAlias": "dhti-cli",
317
+ "pluginName": "dhti-cli",
318
+ "pluginType": "core",
319
+ "strict": true,
320
+ "enableJsonFlag": false,
321
+ "isESM": true,
322
+ "relativePath": [
323
+ "dist",
324
+ "commands",
325
+ "elixir.js"
326
+ ]
327
+ },
328
+ "mimic": {
329
+ "aliases": [],
330
+ "args": {
331
+ "server": {
332
+ "default": "http://localhost/fhir/$import",
333
+ "description": "Server URL to submit",
334
+ "name": "server"
335
+ }
336
+ },
337
+ "description": "Submit a FHIR request to a server",
338
+ "examples": [
339
+ "<%= config.bin %> <%= command.id %>"
340
+ ],
341
+ "flags": {},
342
+ "hasDynamicHelp": false,
343
+ "hiddenAliases": [],
344
+ "id": "mimic",
345
+ "pluginAlias": "dhti-cli",
346
+ "pluginName": "dhti-cli",
347
+ "pluginType": "core",
348
+ "strict": true,
349
+ "enableJsonFlag": false,
350
+ "isESM": true,
351
+ "relativePath": [
352
+ "dist",
353
+ "commands",
354
+ "mimic.js"
355
+ ]
356
+ },
357
+ "synthetic": {
358
+ "aliases": [],
359
+ "args": {
360
+ "input": {
361
+ "default": "",
362
+ "description": "Input file to process",
363
+ "name": "input"
364
+ },
365
+ "output": {
366
+ "description": "Output file to write",
367
+ "name": "output"
368
+ },
369
+ "prompt": {
370
+ "default": "",
371
+ "description": "Prompt file to read",
372
+ "name": "prompt"
373
+ }
374
+ },
375
+ "description": "Generate synthetic data using LLM",
376
+ "examples": [
377
+ "<%= config.bin %> <%= command.id %>"
378
+ ],
379
+ "flags": {
380
+ "inputField": {
381
+ "char": "i",
382
+ "description": "Input field to use",
383
+ "name": "inputField",
384
+ "default": "input",
385
+ "hasDynamicHelp": false,
386
+ "multiple": false,
387
+ "options": [
388
+ "input",
389
+ "instruction",
390
+ "output"
391
+ ],
392
+ "type": "option"
393
+ },
394
+ "maxCycles": {
395
+ "char": "m",
396
+ "description": "Maximum number of cycles to run",
397
+ "name": "maxCycles",
398
+ "default": 0,
399
+ "hasDynamicHelp": false,
400
+ "multiple": false,
401
+ "type": "option"
402
+ },
403
+ "maxRecords": {
404
+ "char": "r",
405
+ "description": "Maximum number of records to generate",
406
+ "name": "maxRecords",
407
+ "default": 10,
408
+ "hasDynamicHelp": false,
409
+ "multiple": false,
410
+ "type": "option"
411
+ },
412
+ "outputField": {
413
+ "char": "o",
414
+ "description": "Output field to use",
415
+ "name": "outputField",
416
+ "default": "output",
417
+ "hasDynamicHelp": false,
418
+ "multiple": false,
419
+ "options": [
420
+ "input",
421
+ "instruction",
422
+ "output"
423
+ ],
424
+ "type": "option"
425
+ }
426
+ },
427
+ "hasDynamicHelp": false,
428
+ "hiddenAliases": [],
429
+ "id": "synthetic",
430
+ "pluginAlias": "dhti-cli",
431
+ "pluginName": "dhti-cli",
432
+ "pluginType": "core",
433
+ "strict": true,
434
+ "enableJsonFlag": false,
435
+ "isESM": true,
436
+ "relativePath": [
437
+ "dist",
438
+ "commands",
439
+ "synthetic.js"
440
+ ]
441
+ }
442
+ },
443
+ "version": "0.1.1"
4
444
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dhti-cli",
3
3
  "description": "DHTI CLI",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "author": "Bell Eapen",
6
6
  "bin": {
7
7
  "dhti-cli": "bin/run.js"