@mailmodo/cli 0.0.30 → 0.0.31-beta.pr33.54
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/dist/commands/billing/index.js +3 -2
- package/dist/commands/deploy/index.js +23 -22
- package/dist/commands/domain/index.d.ts +0 -2
- package/dist/commands/domain/index.js +28 -102
- package/dist/commands/edit/index.d.ts +11 -1
- package/dist/commands/edit/index.js +148 -86
- package/dist/commands/emails/index.d.ts +2 -0
- package/dist/commands/emails/index.js +50 -1
- package/dist/commands/init/index.js +1 -1
- package/dist/commands/login/index.js +3 -2
- package/dist/commands/preview/index.d.ts +6 -2
- package/dist/commands/preview/index.js +41 -14
- package/dist/commands/settings/index.d.ts +0 -7
- package/dist/commands/settings/index.js +8 -51
- package/dist/lib/base-command.d.ts +26 -0
- package/dist/lib/base-command.js +89 -6
- package/dist/lib/config.d.ts +0 -1
- package/dist/lib/messages.d.ts +36 -0
- package/dist/lib/messages.js +39 -0
- package/dist/lib/yaml-config.d.ts +2 -0
- package/dist/lib/yaml-config.js +7 -0
- package/oclif.manifest.json +82 -82
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -365,12 +365,13 @@
|
|
|
365
365
|
"index.js"
|
|
366
366
|
]
|
|
367
367
|
},
|
|
368
|
-
"
|
|
368
|
+
"login": {
|
|
369
369
|
"aliases": [],
|
|
370
370
|
"args": {},
|
|
371
|
-
"description": "
|
|
371
|
+
"description": "Authenticate with Mailmodo using your API key",
|
|
372
372
|
"examples": [
|
|
373
|
-
"<%= config.bin %>
|
|
373
|
+
"<%= config.bin %> login",
|
|
374
|
+
"MAILMODO_API_KEY=mm_live_xxx <%= config.bin %> login"
|
|
374
375
|
],
|
|
375
376
|
"flags": {
|
|
376
377
|
"json": {
|
|
@@ -389,7 +390,7 @@
|
|
|
389
390
|
},
|
|
390
391
|
"hasDynamicHelp": false,
|
|
391
392
|
"hiddenAliases": [],
|
|
392
|
-
"id": "
|
|
393
|
+
"id": "login",
|
|
393
394
|
"pluginAlias": "@mailmodo/cli",
|
|
394
395
|
"pluginName": "@mailmodo/cli",
|
|
395
396
|
"pluginType": "core",
|
|
@@ -399,19 +400,16 @@
|
|
|
399
400
|
"relativePath": [
|
|
400
401
|
"dist",
|
|
401
402
|
"commands",
|
|
402
|
-
"
|
|
403
|
+
"login",
|
|
403
404
|
"index.js"
|
|
404
405
|
]
|
|
405
406
|
},
|
|
406
|
-
"
|
|
407
|
+
"logout": {
|
|
407
408
|
"aliases": [],
|
|
408
409
|
"args": {},
|
|
409
|
-
"description": "
|
|
410
|
+
"description": "Sign out by removing saved credentials from this machine",
|
|
410
411
|
"examples": [
|
|
411
|
-
"<%= config.bin %>
|
|
412
|
-
"<%= config.bin %> logs --email sarah@example.com",
|
|
413
|
-
"<%= config.bin %> logs --failed",
|
|
414
|
-
"<%= config.bin %> logs --json"
|
|
412
|
+
"<%= config.bin %> logout"
|
|
415
413
|
],
|
|
416
414
|
"flags": {
|
|
417
415
|
"json": {
|
|
@@ -426,40 +424,11 @@
|
|
|
426
424
|
"name": "yes",
|
|
427
425
|
"allowNo": false,
|
|
428
426
|
"type": "boolean"
|
|
429
|
-
},
|
|
430
|
-
"email": {
|
|
431
|
-
"description": "Filter logs by contact email",
|
|
432
|
-
"name": "email",
|
|
433
|
-
"hasDynamicHelp": false,
|
|
434
|
-
"multiple": false,
|
|
435
|
-
"type": "option"
|
|
436
|
-
},
|
|
437
|
-
"failed": {
|
|
438
|
-
"description": "Show only failed/bounced events",
|
|
439
|
-
"name": "failed",
|
|
440
|
-
"allowNo": false,
|
|
441
|
-
"type": "boolean"
|
|
442
|
-
},
|
|
443
|
-
"limit": {
|
|
444
|
-
"description": "Entries per page (max 200)",
|
|
445
|
-
"name": "limit",
|
|
446
|
-
"default": 50,
|
|
447
|
-
"hasDynamicHelp": false,
|
|
448
|
-
"multiple": false,
|
|
449
|
-
"type": "option"
|
|
450
|
-
},
|
|
451
|
-
"page": {
|
|
452
|
-
"description": "Page number",
|
|
453
|
-
"name": "page",
|
|
454
|
-
"default": 1,
|
|
455
|
-
"hasDynamicHelp": false,
|
|
456
|
-
"multiple": false,
|
|
457
|
-
"type": "option"
|
|
458
427
|
}
|
|
459
428
|
},
|
|
460
429
|
"hasDynamicHelp": false,
|
|
461
430
|
"hiddenAliases": [],
|
|
462
|
-
"id": "
|
|
431
|
+
"id": "logout",
|
|
463
432
|
"pluginAlias": "@mailmodo/cli",
|
|
464
433
|
"pluginName": "@mailmodo/cli",
|
|
465
434
|
"pluginType": "core",
|
|
@@ -469,23 +438,18 @@
|
|
|
469
438
|
"relativePath": [
|
|
470
439
|
"dist",
|
|
471
440
|
"commands",
|
|
472
|
-
"
|
|
441
|
+
"logout",
|
|
473
442
|
"index.js"
|
|
474
443
|
]
|
|
475
444
|
},
|
|
476
|
-
"
|
|
445
|
+
"settings": {
|
|
477
446
|
"aliases": [],
|
|
478
|
-
"args": {
|
|
479
|
-
|
|
480
|
-
"description": "Email template ID to preview",
|
|
481
|
-
"name": "id"
|
|
482
|
-
}
|
|
483
|
-
},
|
|
484
|
-
"description": "Preview an email in browser, as text, or send a test",
|
|
447
|
+
"args": {},
|
|
448
|
+
"description": "View and update project settings",
|
|
485
449
|
"examples": [
|
|
486
|
-
"<%= config.bin %>
|
|
487
|
-
"<%= config.bin %>
|
|
488
|
-
"<%= config.bin %>
|
|
450
|
+
"<%= config.bin %> settings",
|
|
451
|
+
"<%= config.bin %> settings --set brand_color=#0F3460",
|
|
452
|
+
"<%= config.bin %> settings --json"
|
|
489
453
|
],
|
|
490
454
|
"flags": {
|
|
491
455
|
"json": {
|
|
@@ -501,23 +465,17 @@
|
|
|
501
465
|
"allowNo": false,
|
|
502
466
|
"type": "boolean"
|
|
503
467
|
},
|
|
504
|
-
"
|
|
505
|
-
"description": "
|
|
506
|
-
"name": "
|
|
468
|
+
"set": {
|
|
469
|
+
"description": "Set a setting (format: key=value)",
|
|
470
|
+
"name": "set",
|
|
507
471
|
"hasDynamicHelp": false,
|
|
508
472
|
"multiple": false,
|
|
509
473
|
"type": "option"
|
|
510
|
-
},
|
|
511
|
-
"text": {
|
|
512
|
-
"description": "Output plain text version (for AI agents)",
|
|
513
|
-
"name": "text",
|
|
514
|
-
"allowNo": false,
|
|
515
|
-
"type": "boolean"
|
|
516
474
|
}
|
|
517
475
|
},
|
|
518
476
|
"hasDynamicHelp": false,
|
|
519
477
|
"hiddenAliases": [],
|
|
520
|
-
"id": "
|
|
478
|
+
"id": "settings",
|
|
521
479
|
"pluginAlias": "@mailmodo/cli",
|
|
522
480
|
"pluginName": "@mailmodo/cli",
|
|
523
481
|
"pluginType": "core",
|
|
@@ -527,18 +485,23 @@
|
|
|
527
485
|
"relativePath": [
|
|
528
486
|
"dist",
|
|
529
487
|
"commands",
|
|
530
|
-
"
|
|
488
|
+
"settings",
|
|
531
489
|
"index.js"
|
|
532
490
|
]
|
|
533
491
|
},
|
|
534
|
-
"
|
|
492
|
+
"preview": {
|
|
535
493
|
"aliases": [],
|
|
536
|
-
"args": {
|
|
537
|
-
|
|
494
|
+
"args": {
|
|
495
|
+
"id": {
|
|
496
|
+
"description": "Email template ID to preview",
|
|
497
|
+
"name": "id"
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"description": "Preview an email in browser, as text, or send a test",
|
|
538
501
|
"examples": [
|
|
539
|
-
"<%= config.bin %>
|
|
540
|
-
"<%= config.bin %>
|
|
541
|
-
"<%= config.bin %>
|
|
502
|
+
"<%= config.bin %> preview welcome",
|
|
503
|
+
"<%= config.bin %> preview welcome --text",
|
|
504
|
+
"<%= config.bin %> preview welcome --send me@example.com"
|
|
542
505
|
],
|
|
543
506
|
"flags": {
|
|
544
507
|
"json": {
|
|
@@ -554,17 +517,23 @@
|
|
|
554
517
|
"allowNo": false,
|
|
555
518
|
"type": "boolean"
|
|
556
519
|
},
|
|
557
|
-
"
|
|
558
|
-
"description": "
|
|
559
|
-
"name": "
|
|
520
|
+
"send": {
|
|
521
|
+
"description": "Send test email to this address",
|
|
522
|
+
"name": "send",
|
|
560
523
|
"hasDynamicHelp": false,
|
|
561
524
|
"multiple": false,
|
|
562
525
|
"type": "option"
|
|
526
|
+
},
|
|
527
|
+
"text": {
|
|
528
|
+
"description": "Output plain text version (for AI agents)",
|
|
529
|
+
"name": "text",
|
|
530
|
+
"allowNo": false,
|
|
531
|
+
"type": "boolean"
|
|
563
532
|
}
|
|
564
533
|
},
|
|
565
534
|
"hasDynamicHelp": false,
|
|
566
535
|
"hiddenAliases": [],
|
|
567
|
-
"id": "
|
|
536
|
+
"id": "preview",
|
|
568
537
|
"pluginAlias": "@mailmodo/cli",
|
|
569
538
|
"pluginName": "@mailmodo/cli",
|
|
570
539
|
"pluginType": "core",
|
|
@@ -574,7 +543,7 @@
|
|
|
574
543
|
"relativePath": [
|
|
575
544
|
"dist",
|
|
576
545
|
"commands",
|
|
577
|
-
"
|
|
546
|
+
"preview",
|
|
578
547
|
"index.js"
|
|
579
548
|
]
|
|
580
549
|
},
|
|
@@ -617,13 +586,15 @@
|
|
|
617
586
|
"index.js"
|
|
618
587
|
]
|
|
619
588
|
},
|
|
620
|
-
"
|
|
589
|
+
"logs": {
|
|
621
590
|
"aliases": [],
|
|
622
591
|
"args": {},
|
|
623
|
-
"description": "
|
|
592
|
+
"description": "View email send logs and delivery events",
|
|
624
593
|
"examples": [
|
|
625
|
-
"<%= config.bin %>
|
|
626
|
-
"
|
|
594
|
+
"<%= config.bin %> logs",
|
|
595
|
+
"<%= config.bin %> logs --email sarah@example.com",
|
|
596
|
+
"<%= config.bin %> logs --failed",
|
|
597
|
+
"<%= config.bin %> logs --json"
|
|
627
598
|
],
|
|
628
599
|
"flags": {
|
|
629
600
|
"json": {
|
|
@@ -638,11 +609,40 @@
|
|
|
638
609
|
"name": "yes",
|
|
639
610
|
"allowNo": false,
|
|
640
611
|
"type": "boolean"
|
|
612
|
+
},
|
|
613
|
+
"email": {
|
|
614
|
+
"description": "Filter logs by contact email",
|
|
615
|
+
"name": "email",
|
|
616
|
+
"hasDynamicHelp": false,
|
|
617
|
+
"multiple": false,
|
|
618
|
+
"type": "option"
|
|
619
|
+
},
|
|
620
|
+
"failed": {
|
|
621
|
+
"description": "Show only failed/bounced events",
|
|
622
|
+
"name": "failed",
|
|
623
|
+
"allowNo": false,
|
|
624
|
+
"type": "boolean"
|
|
625
|
+
},
|
|
626
|
+
"limit": {
|
|
627
|
+
"description": "Entries per page (max 200)",
|
|
628
|
+
"name": "limit",
|
|
629
|
+
"default": 50,
|
|
630
|
+
"hasDynamicHelp": false,
|
|
631
|
+
"multiple": false,
|
|
632
|
+
"type": "option"
|
|
633
|
+
},
|
|
634
|
+
"page": {
|
|
635
|
+
"description": "Page number",
|
|
636
|
+
"name": "page",
|
|
637
|
+
"default": 1,
|
|
638
|
+
"hasDynamicHelp": false,
|
|
639
|
+
"multiple": false,
|
|
640
|
+
"type": "option"
|
|
641
641
|
}
|
|
642
642
|
},
|
|
643
643
|
"hasDynamicHelp": false,
|
|
644
644
|
"hiddenAliases": [],
|
|
645
|
-
"id": "
|
|
645
|
+
"id": "logs",
|
|
646
646
|
"pluginAlias": "@mailmodo/cli",
|
|
647
647
|
"pluginName": "@mailmodo/cli",
|
|
648
648
|
"pluginType": "core",
|
|
@@ -652,10 +652,10 @@
|
|
|
652
652
|
"relativePath": [
|
|
653
653
|
"dist",
|
|
654
654
|
"commands",
|
|
655
|
-
"
|
|
655
|
+
"logs",
|
|
656
656
|
"index.js"
|
|
657
657
|
]
|
|
658
658
|
}
|
|
659
659
|
},
|
|
660
|
-
"version": "0.0.
|
|
660
|
+
"version": "0.0.31-beta.pr33.54"
|
|
661
661
|
}
|