@mailmodo/cli 0.0.55 → 0.0.56-beta.pr58.101

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.
Files changed (138) hide show
  1. package/dist/commands/billing/index.d.ts +1 -11
  2. package/dist/commands/billing/index.js +28 -184
  3. package/dist/commands/contacts/index.d.ts +1 -19
  4. package/dist/commands/contacts/index.js +21 -114
  5. package/dist/commands/deploy/index.js +12 -7
  6. package/dist/commands/deployments/index.d.ts +1 -4
  7. package/dist/commands/deployments/index.js +11 -52
  8. package/dist/commands/domain/index.d.ts +1 -14
  9. package/dist/commands/domain/index.js +19 -100
  10. package/dist/commands/edit/index.d.ts +2 -20
  11. package/dist/commands/edit/index.js +33 -258
  12. package/dist/commands/emails/index.d.ts +1 -2
  13. package/dist/commands/emails/index.js +26 -91
  14. package/dist/commands/init/index.d.ts +1 -3
  15. package/dist/commands/init/index.js +51 -200
  16. package/dist/commands/login/index.d.ts +2 -0
  17. package/dist/commands/login/index.js +32 -79
  18. package/dist/commands/logs/index.d.ts +1 -8
  19. package/dist/commands/logs/index.js +12 -55
  20. package/dist/commands/preview/index.d.ts +1 -19
  21. package/dist/commands/preview/index.js +32 -212
  22. package/dist/commands/sdk/index.d.ts +1 -3
  23. package/dist/commands/sdk/index.js +14 -46
  24. package/dist/commands/settings/index.d.ts +1 -22
  25. package/dist/commands/settings/index.js +34 -246
  26. package/dist/commands/status/index.d.ts +1 -0
  27. package/dist/commands/status/index.js +13 -39
  28. package/dist/lib/base-command.d.ts +38 -10
  29. package/dist/lib/base-command.js +171 -18
  30. package/dist/lib/commands/billing/checkout-status.d.ts +3 -0
  31. package/dist/lib/commands/billing/checkout-status.js +63 -0
  32. package/dist/lib/commands/billing/format.d.ts +7 -0
  33. package/dist/lib/commands/billing/format.js +63 -0
  34. package/dist/lib/commands/billing/purchase-cap.d.ts +7 -0
  35. package/dist/lib/commands/billing/purchase-cap.js +57 -0
  36. package/dist/lib/commands/billing/types.d.ts +72 -0
  37. package/dist/lib/commands/contacts/actions.d.ts +3 -0
  38. package/dist/lib/commands/contacts/actions.js +49 -0
  39. package/dist/lib/commands/contacts/export-delete.d.ts +9 -0
  40. package/dist/lib/commands/contacts/export-delete.js +51 -0
  41. package/dist/lib/commands/contacts/types.d.ts +35 -0
  42. package/dist/lib/commands/contacts/types.js +1 -0
  43. package/dist/lib/{deploy → commands/deploy}/domain-setup.d.ts +1 -1
  44. package/dist/lib/{deploy → commands/deploy}/domain-setup.js +2 -2
  45. package/dist/lib/{deploy → commands/deploy}/output.d.ts +1 -1
  46. package/dist/lib/{deploy → commands/deploy}/output.js +2 -2
  47. package/dist/lib/{deploy → commands/deploy}/payload.d.ts +1 -1
  48. package/dist/lib/{deploy → commands/deploy}/payload.js +2 -2
  49. package/dist/lib/{deploy → commands/deploy}/sequence-status.js +2 -2
  50. package/dist/lib/{deploy → commands/deploy}/types.d.ts +4 -4
  51. package/dist/lib/commands/deploy/types.js +1 -0
  52. package/dist/lib/commands/deployments/output.d.ts +2 -0
  53. package/dist/lib/commands/deployments/output.js +68 -0
  54. package/dist/lib/commands/deployments/types.d.ts +24 -0
  55. package/dist/lib/commands/deployments/types.js +1 -0
  56. package/dist/lib/commands/domain/setup.d.ts +8 -0
  57. package/dist/lib/commands/domain/setup.js +53 -0
  58. package/dist/lib/commands/domain/types.d.ts +56 -0
  59. package/dist/lib/commands/domain/types.js +1 -0
  60. package/dist/lib/commands/domain/verify.d.ts +5 -0
  61. package/dist/lib/commands/domain/verify.js +50 -0
  62. package/dist/lib/commands/edit/diff.d.ts +7 -0
  63. package/dist/lib/commands/edit/diff.js +65 -0
  64. package/dist/lib/commands/edit/display.d.ts +5 -0
  65. package/dist/lib/commands/edit/display.js +53 -0
  66. package/dist/lib/commands/edit/flow.d.ts +8 -0
  67. package/dist/lib/commands/edit/flow.js +70 -0
  68. package/dist/lib/commands/edit/persist.d.ts +5 -0
  69. package/dist/lib/commands/edit/persist.js +67 -0
  70. package/dist/lib/commands/edit/types.d.ts +38 -0
  71. package/dist/lib/commands/edit/types.js +1 -0
  72. package/dist/lib/commands/emails/editor.d.ts +2 -0
  73. package/dist/lib/commands/emails/editor.js +43 -0
  74. package/dist/lib/commands/emails/output.d.ts +4 -0
  75. package/dist/lib/commands/emails/output.js +36 -0
  76. package/dist/lib/commands/emails/types.d.ts +3 -0
  77. package/dist/lib/commands/emails/types.js +1 -0
  78. package/dist/lib/commands/init/analysis.d.ts +3 -0
  79. package/dist/lib/commands/init/analysis.js +73 -0
  80. package/dist/lib/commands/init/output.d.ts +12 -0
  81. package/dist/lib/commands/init/output.js +39 -0
  82. package/dist/lib/commands/init/payload.d.ts +8 -0
  83. package/dist/lib/commands/init/payload.js +78 -0
  84. package/dist/lib/commands/init/types.d.ts +57 -0
  85. package/dist/lib/commands/init/types.js +1 -0
  86. package/dist/lib/commands/login/output.d.ts +8 -0
  87. package/dist/lib/commands/login/output.js +40 -0
  88. package/dist/lib/commands/login/types.d.ts +19 -0
  89. package/dist/lib/commands/login/types.js +1 -0
  90. package/dist/lib/commands/logs/output.d.ts +2 -0
  91. package/dist/lib/commands/logs/output.js +52 -0
  92. package/dist/lib/commands/logs/types.d.ts +23 -0
  93. package/dist/lib/commands/logs/types.js +1 -0
  94. package/dist/lib/commands/preview/actions.d.ts +11 -0
  95. package/dist/lib/commands/preview/actions.js +43 -0
  96. package/dist/lib/commands/preview/render.d.ts +3 -0
  97. package/dist/lib/commands/preview/render.js +30 -0
  98. package/dist/lib/commands/preview/server.d.ts +8 -0
  99. package/dist/lib/commands/preview/server.js +63 -0
  100. package/dist/lib/commands/preview/types.d.ts +22 -0
  101. package/dist/lib/commands/preview/types.js +1 -0
  102. package/dist/lib/commands/preview/wrapper-html.d.ts +2 -0
  103. package/dist/lib/commands/preview/wrapper-html.js +35 -0
  104. package/dist/lib/commands/sdk/output.d.ts +2 -0
  105. package/dist/lib/commands/sdk/output.js +42 -0
  106. package/dist/lib/commands/sdk/types.d.ts +21 -0
  107. package/dist/lib/commands/sdk/types.js +1 -0
  108. package/dist/lib/commands/settings/actions.d.ts +10 -0
  109. package/dist/lib/commands/settings/actions.js +56 -0
  110. package/dist/lib/commands/settings/display.d.ts +15 -0
  111. package/dist/lib/commands/settings/display.js +69 -0
  112. package/dist/lib/commands/settings/logo-domain.d.ts +3 -0
  113. package/dist/lib/commands/settings/logo-domain.js +47 -0
  114. package/dist/lib/commands/settings/prompt.d.ts +2 -0
  115. package/dist/lib/commands/settings/prompt.js +82 -0
  116. package/dist/lib/commands/settings/types.d.ts +65 -0
  117. package/dist/lib/commands/settings/types.js +1 -0
  118. package/dist/lib/commands/status/output.d.ts +2 -0
  119. package/dist/lib/commands/status/output.js +49 -0
  120. package/dist/lib/commands/status/types.d.ts +28 -0
  121. package/dist/lib/commands/status/types.js +1 -0
  122. package/dist/lib/constants.d.ts +3 -2
  123. package/dist/lib/constants.js +4 -5
  124. package/dist/lib/messages.d.ts +11 -0
  125. package/dist/lib/messages.js +31 -0
  126. package/dist/lib/templates/missing-templates.d.ts +16 -2
  127. package/dist/lib/templates/missing-templates.js +34 -22
  128. package/dist/lib/templates/regenerate.d.ts +10 -0
  129. package/dist/lib/templates/regenerate.js +29 -0
  130. package/dist/lib/templates/sync.d.ts +33 -0
  131. package/dist/lib/templates/sync.js +106 -0
  132. package/dist/lib/templates/types.d.ts +3 -0
  133. package/dist/lib/yaml-config.d.ts +1 -0
  134. package/dist/lib/yaml-config.js +8 -0
  135. package/oclif.manifest.json +100 -100
  136. package/package.json +1 -1
  137. /package/dist/lib/{deploy → commands/billing}/types.js +0 -0
  138. /package/dist/lib/{deploy → commands/deploy}/sequence-status.d.ts +0 -0
@@ -289,58 +289,6 @@
289
289
  "index.js"
290
290
  ]
291
291
  },
292
- "edit": {
293
- "aliases": [],
294
- "args": {
295
- "id": {
296
- "description": "Email template ID to edit",
297
- "name": "id",
298
- "required": true
299
- }
300
- },
301
- "description": "Edit an email using AI-assisted natural language changes",
302
- "examples": [
303
- "<%= config.bin %> edit welcome",
304
- "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
305
- ],
306
- "flags": {
307
- "json": {
308
- "description": "Output as JSON",
309
- "name": "json",
310
- "allowNo": false,
311
- "type": "boolean"
312
- },
313
- "yes": {
314
- "char": "y",
315
- "description": "Skip confirmation prompts",
316
- "name": "yes",
317
- "allowNo": false,
318
- "type": "boolean"
319
- },
320
- "change": {
321
- "description": "Natural language description of the change",
322
- "name": "change",
323
- "hasDynamicHelp": false,
324
- "multiple": false,
325
- "type": "option"
326
- }
327
- },
328
- "hasDynamicHelp": false,
329
- "hiddenAliases": [],
330
- "id": "edit",
331
- "pluginAlias": "@mailmodo/cli",
332
- "pluginName": "@mailmodo/cli",
333
- "pluginType": "core",
334
- "strict": true,
335
- "enableJsonFlag": false,
336
- "isESM": true,
337
- "relativePath": [
338
- "dist",
339
- "commands",
340
- "edit",
341
- "index.js"
342
- ]
343
- },
344
292
  "emails": {
345
293
  "aliases": [],
346
294
  "args": {},
@@ -573,14 +521,19 @@
573
521
  "index.js"
574
522
  ]
575
523
  },
576
- "settings": {
524
+ "preview": {
577
525
  "aliases": [],
578
- "args": {},
579
- "description": "View and update project settings",
526
+ "args": {
527
+ "id": {
528
+ "description": "Email template ID to preview",
529
+ "name": "id"
530
+ }
531
+ },
532
+ "description": "Preview an email in browser, as text, or send a test",
580
533
  "examples": [
581
- "<%= config.bin %> settings",
582
- "<%= config.bin %> settings --set brand_color=#0F3460",
583
- "<%= config.bin %> settings --json"
534
+ "<%= config.bin %> preview welcome",
535
+ "<%= config.bin %> preview welcome --text",
536
+ "<%= config.bin %> preview welcome --send me@example.com"
584
537
  ],
585
538
  "flags": {
586
539
  "json": {
@@ -596,17 +549,23 @@
596
549
  "allowNo": false,
597
550
  "type": "boolean"
598
551
  },
599
- "set": {
600
- "description": "Set a setting (format: key=value)",
601
- "name": "set",
552
+ "send": {
553
+ "description": "Send test email to this address",
554
+ "name": "send",
602
555
  "hasDynamicHelp": false,
603
556
  "multiple": false,
604
557
  "type": "option"
558
+ },
559
+ "text": {
560
+ "description": "Output plain text version (for AI agents)",
561
+ "name": "text",
562
+ "allowNo": false,
563
+ "type": "boolean"
605
564
  }
606
565
  },
607
566
  "hasDynamicHelp": false,
608
567
  "hiddenAliases": [],
609
- "id": "settings",
568
+ "id": "preview",
610
569
  "pluginAlias": "@mailmodo/cli",
611
570
  "pluginName": "@mailmodo/cli",
612
571
  "pluginType": "core",
@@ -616,17 +575,18 @@
616
575
  "relativePath": [
617
576
  "dist",
618
577
  "commands",
619
- "settings",
578
+ "preview",
620
579
  "index.js"
621
580
  ]
622
581
  },
623
- "status": {
582
+ "sdk": {
624
583
  "aliases": [],
625
584
  "args": {},
626
- "description": "View email performance metrics and quota usage",
585
+ "description": "Show the SDK track() / identify() reference for deployed sequences",
627
586
  "examples": [
628
- "<%= config.bin %> status",
629
- "<%= config.bin %> status --json"
587
+ "<%= config.bin %> sdk",
588
+ "<%= config.bin %> sdk --sequence-id a1b2c3d4",
589
+ "<%= config.bin %> sdk --json"
630
590
  ],
631
591
  "flags": {
632
592
  "json": {
@@ -641,11 +601,18 @@
641
601
  "name": "yes",
642
602
  "allowNo": false,
643
603
  "type": "boolean"
604
+ },
605
+ "sequence-id": {
606
+ "description": "Limit output to a single active sequence by ID (default: all active sequences)",
607
+ "name": "sequence-id",
608
+ "hasDynamicHelp": false,
609
+ "multiple": false,
610
+ "type": "option"
644
611
  }
645
612
  },
646
613
  "hasDynamicHelp": false,
647
614
  "hiddenAliases": [],
648
- "id": "status",
615
+ "id": "sdk",
649
616
  "pluginAlias": "@mailmodo/cli",
650
617
  "pluginName": "@mailmodo/cli",
651
618
  "pluginType": "core",
@@ -655,23 +622,18 @@
655
622
  "relativePath": [
656
623
  "dist",
657
624
  "commands",
658
- "status",
625
+ "sdk",
659
626
  "index.js"
660
627
  ]
661
628
  },
662
- "preview": {
629
+ "settings": {
663
630
  "aliases": [],
664
- "args": {
665
- "id": {
666
- "description": "Email template ID to preview",
667
- "name": "id"
668
- }
669
- },
670
- "description": "Preview an email in browser, as text, or send a test",
631
+ "args": {},
632
+ "description": "View and update project settings",
671
633
  "examples": [
672
- "<%= config.bin %> preview welcome",
673
- "<%= config.bin %> preview welcome --text",
674
- "<%= config.bin %> preview welcome --send me@example.com"
634
+ "<%= config.bin %> settings",
635
+ "<%= config.bin %> settings --set brand_color=#0F3460",
636
+ "<%= config.bin %> settings --json"
675
637
  ],
676
638
  "flags": {
677
639
  "json": {
@@ -687,23 +649,56 @@
687
649
  "allowNo": false,
688
650
  "type": "boolean"
689
651
  },
690
- "send": {
691
- "description": "Send test email to this address",
692
- "name": "send",
652
+ "set": {
653
+ "description": "Set a setting (format: key=value)",
654
+ "name": "set",
693
655
  "hasDynamicHelp": false,
694
656
  "multiple": false,
695
657
  "type": "option"
658
+ }
659
+ },
660
+ "hasDynamicHelp": false,
661
+ "hiddenAliases": [],
662
+ "id": "settings",
663
+ "pluginAlias": "@mailmodo/cli",
664
+ "pluginName": "@mailmodo/cli",
665
+ "pluginType": "core",
666
+ "strict": true,
667
+ "enableJsonFlag": false,
668
+ "isESM": true,
669
+ "relativePath": [
670
+ "dist",
671
+ "commands",
672
+ "settings",
673
+ "index.js"
674
+ ]
675
+ },
676
+ "status": {
677
+ "aliases": [],
678
+ "args": {},
679
+ "description": "View email performance metrics and quota usage",
680
+ "examples": [
681
+ "<%= config.bin %> status",
682
+ "<%= config.bin %> status --json"
683
+ ],
684
+ "flags": {
685
+ "json": {
686
+ "description": "Output as JSON",
687
+ "name": "json",
688
+ "allowNo": false,
689
+ "type": "boolean"
696
690
  },
697
- "text": {
698
- "description": "Output plain text version (for AI agents)",
699
- "name": "text",
691
+ "yes": {
692
+ "char": "y",
693
+ "description": "Skip confirmation prompts",
694
+ "name": "yes",
700
695
  "allowNo": false,
701
696
  "type": "boolean"
702
697
  }
703
698
  },
704
699
  "hasDynamicHelp": false,
705
700
  "hiddenAliases": [],
706
- "id": "preview",
701
+ "id": "status",
707
702
  "pluginAlias": "@mailmodo/cli",
708
703
  "pluginName": "@mailmodo/cli",
709
704
  "pluginType": "core",
@@ -713,18 +708,23 @@
713
708
  "relativePath": [
714
709
  "dist",
715
710
  "commands",
716
- "preview",
711
+ "status",
717
712
  "index.js"
718
713
  ]
719
714
  },
720
- "sdk": {
715
+ "edit": {
721
716
  "aliases": [],
722
- "args": {},
723
- "description": "Show the SDK track() / identify() reference for deployed sequences",
717
+ "args": {
718
+ "id": {
719
+ "description": "Email template ID to edit",
720
+ "name": "id",
721
+ "required": true
722
+ }
723
+ },
724
+ "description": "Edit an email using AI-assisted natural language changes",
724
725
  "examples": [
725
- "<%= config.bin %> sdk",
726
- "<%= config.bin %> sdk --sequence-id a1b2c3d4",
727
- "<%= config.bin %> sdk --json"
726
+ "<%= config.bin %> edit welcome",
727
+ "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
728
728
  ],
729
729
  "flags": {
730
730
  "json": {
@@ -740,9 +740,9 @@
740
740
  "allowNo": false,
741
741
  "type": "boolean"
742
742
  },
743
- "sequence-id": {
744
- "description": "Limit output to a single active sequence by ID (default: all active sequences)",
745
- "name": "sequence-id",
743
+ "change": {
744
+ "description": "Natural language description of the change",
745
+ "name": "change",
746
746
  "hasDynamicHelp": false,
747
747
  "multiple": false,
748
748
  "type": "option"
@@ -750,7 +750,7 @@
750
750
  },
751
751
  "hasDynamicHelp": false,
752
752
  "hiddenAliases": [],
753
- "id": "sdk",
753
+ "id": "edit",
754
754
  "pluginAlias": "@mailmodo/cli",
755
755
  "pluginName": "@mailmodo/cli",
756
756
  "pluginType": "core",
@@ -760,10 +760,10 @@
760
760
  "relativePath": [
761
761
  "dist",
762
762
  "commands",
763
- "sdk",
763
+ "edit",
764
764
  "index.js"
765
765
  ]
766
766
  }
767
767
  },
768
- "version": "0.0.55"
768
+ "version": "0.0.56-beta.pr58.101"
769
769
  }
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.55",
4
+ "version": "0.0.56-beta.pr58.101",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"
File without changes