@mailmodo/cli 0.0.27-beta.pr30.46 → 0.0.27
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/deploy/index.js +3 -1
- package/oclif.manifest.json +120 -120
- package/package.json +1 -1
|
@@ -73,7 +73,9 @@ export default class Deploy extends BaseCommand {
|
|
|
73
73
|
return {
|
|
74
74
|
condition: email.condition || null,
|
|
75
75
|
ctaText: email.ctaText || '',
|
|
76
|
-
delay: email.delay
|
|
76
|
+
delay: typeof email.delay === 'string'
|
|
77
|
+
? Number.parseInt(email.delay, 10) || 0
|
|
78
|
+
: email.delay,
|
|
77
79
|
goal: email.goal || '',
|
|
78
80
|
id: email.id,
|
|
79
81
|
isReminder: false,
|
package/oclif.manifest.json
CHANGED
|
@@ -76,15 +76,13 @@
|
|
|
76
76
|
"index.js"
|
|
77
77
|
]
|
|
78
78
|
},
|
|
79
|
-
"
|
|
79
|
+
"deploy": {
|
|
80
80
|
"aliases": [],
|
|
81
81
|
"args": {},
|
|
82
|
-
"description": "
|
|
82
|
+
"description": "Deploy email sequences and verify sending domain",
|
|
83
83
|
"examples": [
|
|
84
|
-
"<%= config.bin %>
|
|
85
|
-
"<%= config.bin %>
|
|
86
|
-
"<%= config.bin %> contacts --export # GDPR CSV → contacts.csv",
|
|
87
|
-
"<%= config.bin %> contacts --delete sarah@example.com"
|
|
84
|
+
"<%= config.bin %> deploy",
|
|
85
|
+
"<%= config.bin %> deploy --yes"
|
|
88
86
|
],
|
|
89
87
|
"flags": {
|
|
90
88
|
"json": {
|
|
@@ -99,31 +97,11 @@
|
|
|
99
97
|
"name": "yes",
|
|
100
98
|
"allowNo": false,
|
|
101
99
|
"type": "boolean"
|
|
102
|
-
},
|
|
103
|
-
"delete": {
|
|
104
|
-
"description": "GDPR hard delete a contact by email",
|
|
105
|
-
"name": "delete",
|
|
106
|
-
"hasDynamicHelp": false,
|
|
107
|
-
"multiple": false,
|
|
108
|
-
"type": "option"
|
|
109
|
-
},
|
|
110
|
-
"export": {
|
|
111
|
-
"description": "Export all contacts as GDPR-compliant CSV (writes contacts.csv in the current directory)",
|
|
112
|
-
"name": "export",
|
|
113
|
-
"allowNo": false,
|
|
114
|
-
"type": "boolean"
|
|
115
|
-
},
|
|
116
|
-
"search": {
|
|
117
|
-
"description": "Search for a contact by email",
|
|
118
|
-
"name": "search",
|
|
119
|
-
"hasDynamicHelp": false,
|
|
120
|
-
"multiple": false,
|
|
121
|
-
"type": "option"
|
|
122
100
|
}
|
|
123
101
|
},
|
|
124
102
|
"hasDynamicHelp": false,
|
|
125
103
|
"hiddenAliases": [],
|
|
126
|
-
"id": "
|
|
104
|
+
"id": "deploy",
|
|
127
105
|
"pluginAlias": "@mailmodo/cli",
|
|
128
106
|
"pluginName": "@mailmodo/cli",
|
|
129
107
|
"pluginType": "core",
|
|
@@ -133,17 +111,19 @@
|
|
|
133
111
|
"relativePath": [
|
|
134
112
|
"dist",
|
|
135
113
|
"commands",
|
|
136
|
-
"
|
|
114
|
+
"deploy",
|
|
137
115
|
"index.js"
|
|
138
116
|
]
|
|
139
117
|
},
|
|
140
|
-
"
|
|
118
|
+
"contacts": {
|
|
141
119
|
"aliases": [],
|
|
142
120
|
"args": {},
|
|
143
|
-
"description": "
|
|
121
|
+
"description": "Manage contacts — search, export, or delete",
|
|
144
122
|
"examples": [
|
|
145
|
-
"<%= config.bin %>
|
|
146
|
-
"<%= config.bin %>
|
|
123
|
+
"<%= config.bin %> contacts",
|
|
124
|
+
"<%= config.bin %> contacts --search sarah@example.com",
|
|
125
|
+
"<%= config.bin %> contacts --export # GDPR CSV → contacts.csv",
|
|
126
|
+
"<%= config.bin %> contacts --delete sarah@example.com"
|
|
147
127
|
],
|
|
148
128
|
"flags": {
|
|
149
129
|
"json": {
|
|
@@ -158,11 +138,31 @@
|
|
|
158
138
|
"name": "yes",
|
|
159
139
|
"allowNo": false,
|
|
160
140
|
"type": "boolean"
|
|
141
|
+
},
|
|
142
|
+
"delete": {
|
|
143
|
+
"description": "GDPR hard delete a contact by email",
|
|
144
|
+
"name": "delete",
|
|
145
|
+
"hasDynamicHelp": false,
|
|
146
|
+
"multiple": false,
|
|
147
|
+
"type": "option"
|
|
148
|
+
},
|
|
149
|
+
"export": {
|
|
150
|
+
"description": "Export all contacts as GDPR-compliant CSV (writes contacts.csv in the current directory)",
|
|
151
|
+
"name": "export",
|
|
152
|
+
"allowNo": false,
|
|
153
|
+
"type": "boolean"
|
|
154
|
+
},
|
|
155
|
+
"search": {
|
|
156
|
+
"description": "Search for a contact by email",
|
|
157
|
+
"name": "search",
|
|
158
|
+
"hasDynamicHelp": false,
|
|
159
|
+
"multiple": false,
|
|
160
|
+
"type": "option"
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
"hasDynamicHelp": false,
|
|
164
164
|
"hiddenAliases": [],
|
|
165
|
-
"id": "
|
|
165
|
+
"id": "contacts",
|
|
166
166
|
"pluginAlias": "@mailmodo/cli",
|
|
167
167
|
"pluginName": "@mailmodo/cli",
|
|
168
168
|
"pluginType": "core",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"relativePath": [
|
|
173
173
|
"dist",
|
|
174
174
|
"commands",
|
|
175
|
-
"
|
|
175
|
+
"contacts",
|
|
176
176
|
"index.js"
|
|
177
177
|
]
|
|
178
178
|
},
|
|
@@ -404,12 +404,15 @@
|
|
|
404
404
|
"index.js"
|
|
405
405
|
]
|
|
406
406
|
},
|
|
407
|
-
"
|
|
407
|
+
"logs": {
|
|
408
408
|
"aliases": [],
|
|
409
409
|
"args": {},
|
|
410
|
-
"description": "
|
|
410
|
+
"description": "View email send logs and delivery events",
|
|
411
411
|
"examples": [
|
|
412
|
-
"<%= config.bin %>
|
|
412
|
+
"<%= config.bin %> logs",
|
|
413
|
+
"<%= config.bin %> logs --email sarah@example.com",
|
|
414
|
+
"<%= config.bin %> logs --failed",
|
|
415
|
+
"<%= config.bin %> logs --json"
|
|
413
416
|
],
|
|
414
417
|
"flags": {
|
|
415
418
|
"json": {
|
|
@@ -424,11 +427,40 @@
|
|
|
424
427
|
"name": "yes",
|
|
425
428
|
"allowNo": false,
|
|
426
429
|
"type": "boolean"
|
|
430
|
+
},
|
|
431
|
+
"email": {
|
|
432
|
+
"description": "Filter logs by contact email",
|
|
433
|
+
"name": "email",
|
|
434
|
+
"hasDynamicHelp": false,
|
|
435
|
+
"multiple": false,
|
|
436
|
+
"type": "option"
|
|
437
|
+
},
|
|
438
|
+
"failed": {
|
|
439
|
+
"description": "Show only failed/bounced events",
|
|
440
|
+
"name": "failed",
|
|
441
|
+
"allowNo": false,
|
|
442
|
+
"type": "boolean"
|
|
443
|
+
},
|
|
444
|
+
"limit": {
|
|
445
|
+
"description": "Entries per page (max 200)",
|
|
446
|
+
"name": "limit",
|
|
447
|
+
"default": 50,
|
|
448
|
+
"hasDynamicHelp": false,
|
|
449
|
+
"multiple": false,
|
|
450
|
+
"type": "option"
|
|
451
|
+
},
|
|
452
|
+
"page": {
|
|
453
|
+
"description": "Page number",
|
|
454
|
+
"name": "page",
|
|
455
|
+
"default": 1,
|
|
456
|
+
"hasDynamicHelp": false,
|
|
457
|
+
"multiple": false,
|
|
458
|
+
"type": "option"
|
|
427
459
|
}
|
|
428
460
|
},
|
|
429
461
|
"hasDynamicHelp": false,
|
|
430
462
|
"hiddenAliases": [],
|
|
431
|
-
"id": "
|
|
463
|
+
"id": "logs",
|
|
432
464
|
"pluginAlias": "@mailmodo/cli",
|
|
433
465
|
"pluginName": "@mailmodo/cli",
|
|
434
466
|
"pluginType": "core",
|
|
@@ -438,23 +470,16 @@
|
|
|
438
470
|
"relativePath": [
|
|
439
471
|
"dist",
|
|
440
472
|
"commands",
|
|
441
|
-
"
|
|
473
|
+
"logs",
|
|
442
474
|
"index.js"
|
|
443
475
|
]
|
|
444
476
|
},
|
|
445
|
-
"
|
|
477
|
+
"logout": {
|
|
446
478
|
"aliases": [],
|
|
447
|
-
"args": {
|
|
448
|
-
|
|
449
|
-
"description": "Email template ID to preview",
|
|
450
|
-
"name": "id"
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
"description": "Preview an email in browser, as text, or send a test",
|
|
479
|
+
"args": {},
|
|
480
|
+
"description": "Sign out by removing saved credentials from this machine",
|
|
454
481
|
"examples": [
|
|
455
|
-
"<%= config.bin %>
|
|
456
|
-
"<%= config.bin %> preview welcome --text",
|
|
457
|
-
"<%= config.bin %> preview welcome --send me@example.com"
|
|
482
|
+
"<%= config.bin %> logout"
|
|
458
483
|
],
|
|
459
484
|
"flags": {
|
|
460
485
|
"json": {
|
|
@@ -469,24 +494,11 @@
|
|
|
469
494
|
"name": "yes",
|
|
470
495
|
"allowNo": false,
|
|
471
496
|
"type": "boolean"
|
|
472
|
-
},
|
|
473
|
-
"send": {
|
|
474
|
-
"description": "Send test email to this address",
|
|
475
|
-
"name": "send",
|
|
476
|
-
"hasDynamicHelp": false,
|
|
477
|
-
"multiple": false,
|
|
478
|
-
"type": "option"
|
|
479
|
-
},
|
|
480
|
-
"text": {
|
|
481
|
-
"description": "Output plain text version (for AI agents)",
|
|
482
|
-
"name": "text",
|
|
483
|
-
"allowNo": false,
|
|
484
|
-
"type": "boolean"
|
|
485
497
|
}
|
|
486
498
|
},
|
|
487
499
|
"hasDynamicHelp": false,
|
|
488
500
|
"hiddenAliases": [],
|
|
489
|
-
"id": "
|
|
501
|
+
"id": "logout",
|
|
490
502
|
"pluginAlias": "@mailmodo/cli",
|
|
491
503
|
"pluginName": "@mailmodo/cli",
|
|
492
504
|
"pluginType": "core",
|
|
@@ -496,18 +508,23 @@
|
|
|
496
508
|
"relativePath": [
|
|
497
509
|
"dist",
|
|
498
510
|
"commands",
|
|
499
|
-
"
|
|
511
|
+
"logout",
|
|
500
512
|
"index.js"
|
|
501
513
|
]
|
|
502
514
|
},
|
|
503
|
-
"
|
|
515
|
+
"preview": {
|
|
504
516
|
"aliases": [],
|
|
505
|
-
"args": {
|
|
506
|
-
|
|
517
|
+
"args": {
|
|
518
|
+
"id": {
|
|
519
|
+
"description": "Email template ID to preview",
|
|
520
|
+
"name": "id"
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
"description": "Preview an email in browser, as text, or send a test",
|
|
507
524
|
"examples": [
|
|
508
|
-
"<%= config.bin %>
|
|
509
|
-
"<%= config.bin %>
|
|
510
|
-
"<%= config.bin %>
|
|
525
|
+
"<%= config.bin %> preview welcome",
|
|
526
|
+
"<%= config.bin %> preview welcome --text",
|
|
527
|
+
"<%= config.bin %> preview welcome --send me@example.com"
|
|
511
528
|
],
|
|
512
529
|
"flags": {
|
|
513
530
|
"json": {
|
|
@@ -523,17 +540,23 @@
|
|
|
523
540
|
"allowNo": false,
|
|
524
541
|
"type": "boolean"
|
|
525
542
|
},
|
|
526
|
-
"
|
|
527
|
-
"description": "
|
|
528
|
-
"name": "
|
|
543
|
+
"send": {
|
|
544
|
+
"description": "Send test email to this address",
|
|
545
|
+
"name": "send",
|
|
529
546
|
"hasDynamicHelp": false,
|
|
530
547
|
"multiple": false,
|
|
531
548
|
"type": "option"
|
|
549
|
+
},
|
|
550
|
+
"text": {
|
|
551
|
+
"description": "Output plain text version (for AI agents)",
|
|
552
|
+
"name": "text",
|
|
553
|
+
"allowNo": false,
|
|
554
|
+
"type": "boolean"
|
|
532
555
|
}
|
|
533
556
|
},
|
|
534
557
|
"hasDynamicHelp": false,
|
|
535
558
|
"hiddenAliases": [],
|
|
536
|
-
"id": "
|
|
559
|
+
"id": "preview",
|
|
537
560
|
"pluginAlias": "@mailmodo/cli",
|
|
538
561
|
"pluginName": "@mailmodo/cli",
|
|
539
562
|
"pluginType": "core",
|
|
@@ -543,19 +566,17 @@
|
|
|
543
566
|
"relativePath": [
|
|
544
567
|
"dist",
|
|
545
568
|
"commands",
|
|
546
|
-
"
|
|
569
|
+
"preview",
|
|
547
570
|
"index.js"
|
|
548
571
|
]
|
|
549
572
|
},
|
|
550
|
-
"
|
|
573
|
+
"status": {
|
|
551
574
|
"aliases": [],
|
|
552
575
|
"args": {},
|
|
553
|
-
"description": "View email
|
|
576
|
+
"description": "View email performance metrics and quota usage",
|
|
554
577
|
"examples": [
|
|
555
|
-
"<%= config.bin %>
|
|
556
|
-
"<%= config.bin %>
|
|
557
|
-
"<%= config.bin %> logs --failed",
|
|
558
|
-
"<%= config.bin %> logs --json"
|
|
578
|
+
"<%= config.bin %> status",
|
|
579
|
+
"<%= config.bin %> status --json"
|
|
559
580
|
],
|
|
560
581
|
"flags": {
|
|
561
582
|
"json": {
|
|
@@ -570,40 +591,11 @@
|
|
|
570
591
|
"name": "yes",
|
|
571
592
|
"allowNo": false,
|
|
572
593
|
"type": "boolean"
|
|
573
|
-
},
|
|
574
|
-
"email": {
|
|
575
|
-
"description": "Filter logs by contact email",
|
|
576
|
-
"name": "email",
|
|
577
|
-
"hasDynamicHelp": false,
|
|
578
|
-
"multiple": false,
|
|
579
|
-
"type": "option"
|
|
580
|
-
},
|
|
581
|
-
"failed": {
|
|
582
|
-
"description": "Show only failed/bounced events",
|
|
583
|
-
"name": "failed",
|
|
584
|
-
"allowNo": false,
|
|
585
|
-
"type": "boolean"
|
|
586
|
-
},
|
|
587
|
-
"limit": {
|
|
588
|
-
"description": "Entries per page (max 200)",
|
|
589
|
-
"name": "limit",
|
|
590
|
-
"default": 50,
|
|
591
|
-
"hasDynamicHelp": false,
|
|
592
|
-
"multiple": false,
|
|
593
|
-
"type": "option"
|
|
594
|
-
},
|
|
595
|
-
"page": {
|
|
596
|
-
"description": "Page number",
|
|
597
|
-
"name": "page",
|
|
598
|
-
"default": 1,
|
|
599
|
-
"hasDynamicHelp": false,
|
|
600
|
-
"multiple": false,
|
|
601
|
-
"type": "option"
|
|
602
594
|
}
|
|
603
595
|
},
|
|
604
596
|
"hasDynamicHelp": false,
|
|
605
597
|
"hiddenAliases": [],
|
|
606
|
-
"id": "
|
|
598
|
+
"id": "status",
|
|
607
599
|
"pluginAlias": "@mailmodo/cli",
|
|
608
600
|
"pluginName": "@mailmodo/cli",
|
|
609
601
|
"pluginType": "core",
|
|
@@ -613,17 +605,18 @@
|
|
|
613
605
|
"relativePath": [
|
|
614
606
|
"dist",
|
|
615
607
|
"commands",
|
|
616
|
-
"
|
|
608
|
+
"status",
|
|
617
609
|
"index.js"
|
|
618
610
|
]
|
|
619
611
|
},
|
|
620
|
-
"
|
|
612
|
+
"settings": {
|
|
621
613
|
"aliases": [],
|
|
622
614
|
"args": {},
|
|
623
|
-
"description": "View
|
|
615
|
+
"description": "View and update project settings",
|
|
624
616
|
"examples": [
|
|
625
|
-
"<%= config.bin %>
|
|
626
|
-
"<%= config.bin %>
|
|
617
|
+
"<%= config.bin %> settings",
|
|
618
|
+
"<%= config.bin %> settings --set brand_color=#0F3460",
|
|
619
|
+
"<%= config.bin %> settings --json"
|
|
627
620
|
],
|
|
628
621
|
"flags": {
|
|
629
622
|
"json": {
|
|
@@ -638,11 +631,18 @@
|
|
|
638
631
|
"name": "yes",
|
|
639
632
|
"allowNo": false,
|
|
640
633
|
"type": "boolean"
|
|
634
|
+
},
|
|
635
|
+
"set": {
|
|
636
|
+
"description": "Set a setting (format: key=value)",
|
|
637
|
+
"name": "set",
|
|
638
|
+
"hasDynamicHelp": false,
|
|
639
|
+
"multiple": false,
|
|
640
|
+
"type": "option"
|
|
641
641
|
}
|
|
642
642
|
},
|
|
643
643
|
"hasDynamicHelp": false,
|
|
644
644
|
"hiddenAliases": [],
|
|
645
|
-
"id": "
|
|
645
|
+
"id": "settings",
|
|
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
|
+
"settings",
|
|
656
656
|
"index.js"
|
|
657
657
|
]
|
|
658
658
|
}
|
|
659
659
|
},
|
|
660
|
-
"version": "0.0.27
|
|
660
|
+
"version": "0.0.27"
|
|
661
661
|
}
|