@mailmodo/cli 0.0.4-beta.pr6.9 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/dev.cmd +1 -1
- package/bin/dev.js +2 -17
- package/oclif.manifest.json +82 -82
- package/package.json +1 -2
package/bin/dev.cmd
CHANGED
package/bin/dev.js
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import {spawnSync} from 'node:child_process'
|
|
4
|
-
import {fileURLToPath} from 'node:url'
|
|
1
|
+
#!/usr/bin/env -S node --loader ts-node/esm --disable-warning=ExperimentalWarning
|
|
5
2
|
|
|
6
3
|
import {execute} from '@oclif/core'
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
await execute({development: true, dir: import.meta.url})
|
|
10
|
-
} else {
|
|
11
|
-
const scriptPath = fileURLToPath(import.meta.url)
|
|
12
|
-
const result = spawnSync(process.execPath, ['--import', 'tsx', scriptPath, ...process.argv.slice(2)], {
|
|
13
|
-
env: {...process.env, MAILMODO_DEV_TSX: '1'},
|
|
14
|
-
stdio: 'inherit',
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
if (result.status !== 0) {
|
|
18
|
-
throw new Error(`dev bootstrap failed with exit code ${result.status ?? 1}`)
|
|
19
|
-
}
|
|
20
|
-
}
|
|
5
|
+
await execute({development: true, dir: import.meta.url})
|
package/oclif.manifest.json
CHANGED
|
@@ -153,6 +153,58 @@
|
|
|
153
153
|
"index.js"
|
|
154
154
|
]
|
|
155
155
|
},
|
|
156
|
+
"domain": {
|
|
157
|
+
"aliases": [],
|
|
158
|
+
"args": {},
|
|
159
|
+
"description": "Set up and verify your sending domain",
|
|
160
|
+
"examples": [
|
|
161
|
+
"<%= config.bin %> domain",
|
|
162
|
+
"<%= config.bin %> domain --verify",
|
|
163
|
+
"<%= config.bin %> domain --status"
|
|
164
|
+
],
|
|
165
|
+
"flags": {
|
|
166
|
+
"json": {
|
|
167
|
+
"description": "Output as JSON",
|
|
168
|
+
"name": "json",
|
|
169
|
+
"allowNo": false,
|
|
170
|
+
"type": "boolean"
|
|
171
|
+
},
|
|
172
|
+
"yes": {
|
|
173
|
+
"char": "y",
|
|
174
|
+
"description": "Skip confirmation prompts",
|
|
175
|
+
"name": "yes",
|
|
176
|
+
"allowNo": false,
|
|
177
|
+
"type": "boolean"
|
|
178
|
+
},
|
|
179
|
+
"status": {
|
|
180
|
+
"description": "Show domain health status",
|
|
181
|
+
"name": "status",
|
|
182
|
+
"allowNo": false,
|
|
183
|
+
"type": "boolean"
|
|
184
|
+
},
|
|
185
|
+
"verify": {
|
|
186
|
+
"description": "Verify DNS records",
|
|
187
|
+
"name": "verify",
|
|
188
|
+
"allowNo": false,
|
|
189
|
+
"type": "boolean"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"hasDynamicHelp": false,
|
|
193
|
+
"hiddenAliases": [],
|
|
194
|
+
"id": "domain",
|
|
195
|
+
"pluginAlias": "@mailmodo/cli",
|
|
196
|
+
"pluginName": "@mailmodo/cli",
|
|
197
|
+
"pluginType": "core",
|
|
198
|
+
"strict": true,
|
|
199
|
+
"enableJsonFlag": false,
|
|
200
|
+
"isESM": true,
|
|
201
|
+
"relativePath": [
|
|
202
|
+
"dist",
|
|
203
|
+
"commands",
|
|
204
|
+
"domain",
|
|
205
|
+
"index.js"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
156
208
|
"edit": {
|
|
157
209
|
"aliases": [],
|
|
158
210
|
"args": {
|
|
@@ -244,14 +296,13 @@
|
|
|
244
296
|
"index.js"
|
|
245
297
|
]
|
|
246
298
|
},
|
|
247
|
-
"
|
|
299
|
+
"init": {
|
|
248
300
|
"aliases": [],
|
|
249
301
|
"args": {},
|
|
250
|
-
"description": "
|
|
302
|
+
"description": "Analyze your product and generate email sequences",
|
|
251
303
|
"examples": [
|
|
252
|
-
"<%= config.bin %>
|
|
253
|
-
"<%= config.bin %>
|
|
254
|
-
"<%= config.bin %> domain --status"
|
|
304
|
+
"<%= config.bin %> init",
|
|
305
|
+
"<%= config.bin %> init --url https://myapp.com --yes"
|
|
255
306
|
],
|
|
256
307
|
"flags": {
|
|
257
308
|
"json": {
|
|
@@ -267,22 +318,17 @@
|
|
|
267
318
|
"allowNo": false,
|
|
268
319
|
"type": "boolean"
|
|
269
320
|
},
|
|
270
|
-
"
|
|
271
|
-
"description": "
|
|
272
|
-
"name": "
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
|
|
276
|
-
"verify": {
|
|
277
|
-
"description": "Verify DNS records",
|
|
278
|
-
"name": "verify",
|
|
279
|
-
"allowNo": false,
|
|
280
|
-
"type": "boolean"
|
|
321
|
+
"url": {
|
|
322
|
+
"description": "Product URL to analyze",
|
|
323
|
+
"name": "url",
|
|
324
|
+
"hasDynamicHelp": false,
|
|
325
|
+
"multiple": false,
|
|
326
|
+
"type": "option"
|
|
281
327
|
}
|
|
282
328
|
},
|
|
283
329
|
"hasDynamicHelp": false,
|
|
284
330
|
"hiddenAliases": [],
|
|
285
|
-
"id": "
|
|
331
|
+
"id": "init",
|
|
286
332
|
"pluginAlias": "@mailmodo/cli",
|
|
287
333
|
"pluginName": "@mailmodo/cli",
|
|
288
334
|
"pluginType": "core",
|
|
@@ -292,7 +338,7 @@
|
|
|
292
338
|
"relativePath": [
|
|
293
339
|
"dist",
|
|
294
340
|
"commands",
|
|
295
|
-
"
|
|
341
|
+
"init",
|
|
296
342
|
"index.js"
|
|
297
343
|
]
|
|
298
344
|
},
|
|
@@ -335,13 +381,15 @@
|
|
|
335
381
|
"index.js"
|
|
336
382
|
]
|
|
337
383
|
},
|
|
338
|
-
"
|
|
384
|
+
"logs": {
|
|
339
385
|
"aliases": [],
|
|
340
386
|
"args": {},
|
|
341
|
-
"description": "
|
|
387
|
+
"description": "View email send logs and delivery events",
|
|
342
388
|
"examples": [
|
|
343
|
-
"<%= config.bin %>
|
|
344
|
-
"<%= config.bin %>
|
|
389
|
+
"<%= config.bin %> logs",
|
|
390
|
+
"<%= config.bin %> logs --email sarah@example.com",
|
|
391
|
+
"<%= config.bin %> logs --failed",
|
|
392
|
+
"<%= config.bin %> logs --json"
|
|
345
393
|
],
|
|
346
394
|
"flags": {
|
|
347
395
|
"json": {
|
|
@@ -357,17 +405,23 @@
|
|
|
357
405
|
"allowNo": false,
|
|
358
406
|
"type": "boolean"
|
|
359
407
|
},
|
|
360
|
-
"
|
|
361
|
-
"description": "
|
|
362
|
-
"name": "
|
|
408
|
+
"email": {
|
|
409
|
+
"description": "Filter logs by contact email",
|
|
410
|
+
"name": "email",
|
|
363
411
|
"hasDynamicHelp": false,
|
|
364
412
|
"multiple": false,
|
|
365
413
|
"type": "option"
|
|
414
|
+
},
|
|
415
|
+
"failed": {
|
|
416
|
+
"description": "Show only failed/bounced events",
|
|
417
|
+
"name": "failed",
|
|
418
|
+
"allowNo": false,
|
|
419
|
+
"type": "boolean"
|
|
366
420
|
}
|
|
367
421
|
},
|
|
368
422
|
"hasDynamicHelp": false,
|
|
369
423
|
"hiddenAliases": [],
|
|
370
|
-
"id": "
|
|
424
|
+
"id": "logs",
|
|
371
425
|
"pluginAlias": "@mailmodo/cli",
|
|
372
426
|
"pluginName": "@mailmodo/cli",
|
|
373
427
|
"pluginType": "core",
|
|
@@ -377,7 +431,7 @@
|
|
|
377
431
|
"relativePath": [
|
|
378
432
|
"dist",
|
|
379
433
|
"commands",
|
|
380
|
-
"
|
|
434
|
+
"logs",
|
|
381
435
|
"index.js"
|
|
382
436
|
]
|
|
383
437
|
},
|
|
@@ -486,60 +540,6 @@
|
|
|
486
540
|
"index.js"
|
|
487
541
|
]
|
|
488
542
|
},
|
|
489
|
-
"logs": {
|
|
490
|
-
"aliases": [],
|
|
491
|
-
"args": {},
|
|
492
|
-
"description": "View email send logs and delivery events",
|
|
493
|
-
"examples": [
|
|
494
|
-
"<%= config.bin %> logs",
|
|
495
|
-
"<%= config.bin %> logs --email sarah@example.com",
|
|
496
|
-
"<%= config.bin %> logs --failed",
|
|
497
|
-
"<%= config.bin %> logs --json"
|
|
498
|
-
],
|
|
499
|
-
"flags": {
|
|
500
|
-
"json": {
|
|
501
|
-
"description": "Output as JSON",
|
|
502
|
-
"name": "json",
|
|
503
|
-
"allowNo": false,
|
|
504
|
-
"type": "boolean"
|
|
505
|
-
},
|
|
506
|
-
"yes": {
|
|
507
|
-
"char": "y",
|
|
508
|
-
"description": "Skip confirmation prompts",
|
|
509
|
-
"name": "yes",
|
|
510
|
-
"allowNo": false,
|
|
511
|
-
"type": "boolean"
|
|
512
|
-
},
|
|
513
|
-
"email": {
|
|
514
|
-
"description": "Filter logs by contact email",
|
|
515
|
-
"name": "email",
|
|
516
|
-
"hasDynamicHelp": false,
|
|
517
|
-
"multiple": false,
|
|
518
|
-
"type": "option"
|
|
519
|
-
},
|
|
520
|
-
"failed": {
|
|
521
|
-
"description": "Show only failed/bounced events",
|
|
522
|
-
"name": "failed",
|
|
523
|
-
"allowNo": false,
|
|
524
|
-
"type": "boolean"
|
|
525
|
-
}
|
|
526
|
-
},
|
|
527
|
-
"hasDynamicHelp": false,
|
|
528
|
-
"hiddenAliases": [],
|
|
529
|
-
"id": "logs",
|
|
530
|
-
"pluginAlias": "@mailmodo/cli",
|
|
531
|
-
"pluginName": "@mailmodo/cli",
|
|
532
|
-
"pluginType": "core",
|
|
533
|
-
"strict": true,
|
|
534
|
-
"enableJsonFlag": false,
|
|
535
|
-
"isESM": true,
|
|
536
|
-
"relativePath": [
|
|
537
|
-
"dist",
|
|
538
|
-
"commands",
|
|
539
|
-
"logs",
|
|
540
|
-
"index.js"
|
|
541
|
-
]
|
|
542
|
-
},
|
|
543
543
|
"status": {
|
|
544
544
|
"aliases": [],
|
|
545
545
|
"args": {},
|
|
@@ -580,5 +580,5 @@
|
|
|
580
580
|
]
|
|
581
581
|
}
|
|
582
582
|
},
|
|
583
|
-
"version": "0.0.4
|
|
583
|
+
"version": "0.0.4"
|
|
584
584
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailmodo/cli",
|
|
3
3
|
"description": "Email lifecycle automation for the AI-native builder generation.",
|
|
4
|
-
"version": "0.0.4
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"author": "provishalk",
|
|
6
6
|
"bin": {
|
|
7
7
|
"mailmodo": "bin/run.js"
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"oclif": "^4",
|
|
33
33
|
"shx": "^0.3.3",
|
|
34
34
|
"ts-node": "^10",
|
|
35
|
-
"tsx": "^4.21.0",
|
|
36
35
|
"typescript": "^5"
|
|
37
36
|
},
|
|
38
37
|
"engines": {
|