@mailmodo/cli 0.0.24-beta.pr26.41 → 0.0.24
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 +5 -16
- package/oclif.manifest.json +99 -99
- package/package.json +1 -1
|
@@ -200,23 +200,12 @@ export default class Deploy extends BaseCommand {
|
|
|
200
200
|
this.log(` ${'─'.repeat(53)}\n`);
|
|
201
201
|
this.log(` ${chalk.cyan(sdkSnippet.install ?? 'npm install @mailmodo/sdk')}\n`);
|
|
202
202
|
this.log(` ${chalk.dim("import { track, identify } from '@mailmodo/sdk'")}\n`);
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
this.log(` ${chalk.dim(
|
|
203
|
+
for (const [key, snippet] of Object.entries(sdkSnippet)) {
|
|
204
|
+
if (key === 'install')
|
|
205
|
+
continue;
|
|
206
|
+
this.log(` ${chalk.dim(snippet)}`);
|
|
207
207
|
}
|
|
208
|
-
|
|
209
|
-
for (const call of trackCalls) {
|
|
210
|
-
this.log(` ${chalk.dim(call)}`);
|
|
211
|
-
}
|
|
212
|
-
if (trackCalls.length > 0)
|
|
213
|
-
this.log('');
|
|
214
|
-
const identifyCalls = [...new Set(sdkSnippet.identifyCalls ?? [])];
|
|
215
|
-
for (const call of identifyCalls) {
|
|
216
|
-
this.log(` ${chalk.dim(call)}`);
|
|
217
|
-
}
|
|
218
|
-
if (identifyCalls.length > 0)
|
|
219
|
-
this.log('');
|
|
208
|
+
this.log('');
|
|
220
209
|
this.log(` Full SDK docs: ${chalk.cyan('mailmodo.com/docs/sdk')}\n`);
|
|
221
210
|
this.log(` ${'─'.repeat(53)}\n`);
|
|
222
211
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -53,13 +53,15 @@
|
|
|
53
53
|
"index.js"
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
|
-
"
|
|
56
|
+
"contacts": {
|
|
57
57
|
"aliases": [],
|
|
58
58
|
"args": {},
|
|
59
|
-
"description": "
|
|
59
|
+
"description": "Manage contacts — search, export, or delete",
|
|
60
60
|
"examples": [
|
|
61
|
-
"<%= config.bin %>
|
|
62
|
-
"<%= config.bin %>
|
|
61
|
+
"<%= config.bin %> contacts",
|
|
62
|
+
"<%= config.bin %> contacts --search sarah@example.com",
|
|
63
|
+
"<%= config.bin %> contacts --export # GDPR CSV → contacts.csv",
|
|
64
|
+
"<%= config.bin %> contacts --delete sarah@example.com"
|
|
63
65
|
],
|
|
64
66
|
"flags": {
|
|
65
67
|
"json": {
|
|
@@ -74,11 +76,31 @@
|
|
|
74
76
|
"name": "yes",
|
|
75
77
|
"allowNo": false,
|
|
76
78
|
"type": "boolean"
|
|
79
|
+
},
|
|
80
|
+
"delete": {
|
|
81
|
+
"description": "GDPR hard delete a contact by email",
|
|
82
|
+
"name": "delete",
|
|
83
|
+
"hasDynamicHelp": false,
|
|
84
|
+
"multiple": false,
|
|
85
|
+
"type": "option"
|
|
86
|
+
},
|
|
87
|
+
"export": {
|
|
88
|
+
"description": "Export all contacts as GDPR-compliant CSV (writes contacts.csv in the current directory)",
|
|
89
|
+
"name": "export",
|
|
90
|
+
"allowNo": false,
|
|
91
|
+
"type": "boolean"
|
|
92
|
+
},
|
|
93
|
+
"search": {
|
|
94
|
+
"description": "Search for a contact by email",
|
|
95
|
+
"name": "search",
|
|
96
|
+
"hasDynamicHelp": false,
|
|
97
|
+
"multiple": false,
|
|
98
|
+
"type": "option"
|
|
77
99
|
}
|
|
78
100
|
},
|
|
79
101
|
"hasDynamicHelp": false,
|
|
80
102
|
"hiddenAliases": [],
|
|
81
|
-
"id": "
|
|
103
|
+
"id": "contacts",
|
|
82
104
|
"pluginAlias": "@mailmodo/cli",
|
|
83
105
|
"pluginName": "@mailmodo/cli",
|
|
84
106
|
"pluginType": "core",
|
|
@@ -88,19 +110,17 @@
|
|
|
88
110
|
"relativePath": [
|
|
89
111
|
"dist",
|
|
90
112
|
"commands",
|
|
91
|
-
"
|
|
113
|
+
"contacts",
|
|
92
114
|
"index.js"
|
|
93
115
|
]
|
|
94
116
|
},
|
|
95
|
-
"
|
|
117
|
+
"deploy": {
|
|
96
118
|
"aliases": [],
|
|
97
119
|
"args": {},
|
|
98
|
-
"description": "
|
|
120
|
+
"description": "Deploy email sequences and verify sending domain",
|
|
99
121
|
"examples": [
|
|
100
|
-
"<%= config.bin %>
|
|
101
|
-
"<%= config.bin %>
|
|
102
|
-
"<%= config.bin %> contacts --export # GDPR CSV → contacts.csv",
|
|
103
|
-
"<%= config.bin %> contacts --delete sarah@example.com"
|
|
122
|
+
"<%= config.bin %> deploy",
|
|
123
|
+
"<%= config.bin %> deploy --yes"
|
|
104
124
|
],
|
|
105
125
|
"flags": {
|
|
106
126
|
"json": {
|
|
@@ -115,31 +135,11 @@
|
|
|
115
135
|
"name": "yes",
|
|
116
136
|
"allowNo": false,
|
|
117
137
|
"type": "boolean"
|
|
118
|
-
},
|
|
119
|
-
"delete": {
|
|
120
|
-
"description": "GDPR hard delete a contact by email",
|
|
121
|
-
"name": "delete",
|
|
122
|
-
"hasDynamicHelp": false,
|
|
123
|
-
"multiple": false,
|
|
124
|
-
"type": "option"
|
|
125
|
-
},
|
|
126
|
-
"export": {
|
|
127
|
-
"description": "Export all contacts as GDPR-compliant CSV (writes contacts.csv in the current directory)",
|
|
128
|
-
"name": "export",
|
|
129
|
-
"allowNo": false,
|
|
130
|
-
"type": "boolean"
|
|
131
|
-
},
|
|
132
|
-
"search": {
|
|
133
|
-
"description": "Search for a contact by email",
|
|
134
|
-
"name": "search",
|
|
135
|
-
"hasDynamicHelp": false,
|
|
136
|
-
"multiple": false,
|
|
137
|
-
"type": "option"
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
"hasDynamicHelp": false,
|
|
141
141
|
"hiddenAliases": [],
|
|
142
|
-
"id": "
|
|
142
|
+
"id": "deploy",
|
|
143
143
|
"pluginAlias": "@mailmodo/cli",
|
|
144
144
|
"pluginName": "@mailmodo/cli",
|
|
145
145
|
"pluginType": "core",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"relativePath": [
|
|
150
150
|
"dist",
|
|
151
151
|
"commands",
|
|
152
|
-
"
|
|
152
|
+
"deploy",
|
|
153
153
|
"index.js"
|
|
154
154
|
]
|
|
155
155
|
},
|
|
@@ -381,44 +381,6 @@
|
|
|
381
381
|
"index.js"
|
|
382
382
|
]
|
|
383
383
|
},
|
|
384
|
-
"logout": {
|
|
385
|
-
"aliases": [],
|
|
386
|
-
"args": {},
|
|
387
|
-
"description": "Sign out by removing saved credentials from this machine",
|
|
388
|
-
"examples": [
|
|
389
|
-
"<%= config.bin %> logout"
|
|
390
|
-
],
|
|
391
|
-
"flags": {
|
|
392
|
-
"json": {
|
|
393
|
-
"description": "Output as JSON",
|
|
394
|
-
"name": "json",
|
|
395
|
-
"allowNo": false,
|
|
396
|
-
"type": "boolean"
|
|
397
|
-
},
|
|
398
|
-
"yes": {
|
|
399
|
-
"char": "y",
|
|
400
|
-
"description": "Skip confirmation prompts",
|
|
401
|
-
"name": "yes",
|
|
402
|
-
"allowNo": false,
|
|
403
|
-
"type": "boolean"
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
"hasDynamicHelp": false,
|
|
407
|
-
"hiddenAliases": [],
|
|
408
|
-
"id": "logout",
|
|
409
|
-
"pluginAlias": "@mailmodo/cli",
|
|
410
|
-
"pluginName": "@mailmodo/cli",
|
|
411
|
-
"pluginType": "core",
|
|
412
|
-
"strict": true,
|
|
413
|
-
"enableJsonFlag": false,
|
|
414
|
-
"isESM": true,
|
|
415
|
-
"relativePath": [
|
|
416
|
-
"dist",
|
|
417
|
-
"commands",
|
|
418
|
-
"logout",
|
|
419
|
-
"index.js"
|
|
420
|
-
]
|
|
421
|
-
},
|
|
422
384
|
"logs": {
|
|
423
385
|
"aliases": [],
|
|
424
386
|
"args": {},
|
|
@@ -489,19 +451,12 @@
|
|
|
489
451
|
"index.js"
|
|
490
452
|
]
|
|
491
453
|
},
|
|
492
|
-
"
|
|
454
|
+
"logout": {
|
|
493
455
|
"aliases": [],
|
|
494
|
-
"args": {
|
|
495
|
-
|
|
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",
|
|
456
|
+
"args": {},
|
|
457
|
+
"description": "Sign out by removing saved credentials from this machine",
|
|
501
458
|
"examples": [
|
|
502
|
-
"<%= config.bin %>
|
|
503
|
-
"<%= config.bin %> preview welcome --text",
|
|
504
|
-
"<%= config.bin %> preview welcome --send me@example.com"
|
|
459
|
+
"<%= config.bin %> logout"
|
|
505
460
|
],
|
|
506
461
|
"flags": {
|
|
507
462
|
"json": {
|
|
@@ -516,24 +471,11 @@
|
|
|
516
471
|
"name": "yes",
|
|
517
472
|
"allowNo": false,
|
|
518
473
|
"type": "boolean"
|
|
519
|
-
},
|
|
520
|
-
"send": {
|
|
521
|
-
"description": "Send test email to this address",
|
|
522
|
-
"name": "send",
|
|
523
|
-
"hasDynamicHelp": false,
|
|
524
|
-
"multiple": false,
|
|
525
|
-
"type": "option"
|
|
526
|
-
},
|
|
527
|
-
"text": {
|
|
528
|
-
"description": "Output plain text version (for AI agents)",
|
|
529
|
-
"name": "text",
|
|
530
|
-
"allowNo": false,
|
|
531
|
-
"type": "boolean"
|
|
532
474
|
}
|
|
533
475
|
},
|
|
534
476
|
"hasDynamicHelp": false,
|
|
535
477
|
"hiddenAliases": [],
|
|
536
|
-
"id": "
|
|
478
|
+
"id": "logout",
|
|
537
479
|
"pluginAlias": "@mailmodo/cli",
|
|
538
480
|
"pluginName": "@mailmodo/cli",
|
|
539
481
|
"pluginType": "core",
|
|
@@ -543,7 +485,7 @@
|
|
|
543
485
|
"relativePath": [
|
|
544
486
|
"dist",
|
|
545
487
|
"commands",
|
|
546
|
-
"
|
|
488
|
+
"logout",
|
|
547
489
|
"index.js"
|
|
548
490
|
]
|
|
549
491
|
},
|
|
@@ -632,7 +574,65 @@
|
|
|
632
574
|
"status",
|
|
633
575
|
"index.js"
|
|
634
576
|
]
|
|
577
|
+
},
|
|
578
|
+
"preview": {
|
|
579
|
+
"aliases": [],
|
|
580
|
+
"args": {
|
|
581
|
+
"id": {
|
|
582
|
+
"description": "Email template ID to preview",
|
|
583
|
+
"name": "id"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"description": "Preview an email in browser, as text, or send a test",
|
|
587
|
+
"examples": [
|
|
588
|
+
"<%= config.bin %> preview welcome",
|
|
589
|
+
"<%= config.bin %> preview welcome --text",
|
|
590
|
+
"<%= config.bin %> preview welcome --send me@example.com"
|
|
591
|
+
],
|
|
592
|
+
"flags": {
|
|
593
|
+
"json": {
|
|
594
|
+
"description": "Output as JSON",
|
|
595
|
+
"name": "json",
|
|
596
|
+
"allowNo": false,
|
|
597
|
+
"type": "boolean"
|
|
598
|
+
},
|
|
599
|
+
"yes": {
|
|
600
|
+
"char": "y",
|
|
601
|
+
"description": "Skip confirmation prompts",
|
|
602
|
+
"name": "yes",
|
|
603
|
+
"allowNo": false,
|
|
604
|
+
"type": "boolean"
|
|
605
|
+
},
|
|
606
|
+
"send": {
|
|
607
|
+
"description": "Send test email to this address",
|
|
608
|
+
"name": "send",
|
|
609
|
+
"hasDynamicHelp": false,
|
|
610
|
+
"multiple": false,
|
|
611
|
+
"type": "option"
|
|
612
|
+
},
|
|
613
|
+
"text": {
|
|
614
|
+
"description": "Output plain text version (for AI agents)",
|
|
615
|
+
"name": "text",
|
|
616
|
+
"allowNo": false,
|
|
617
|
+
"type": "boolean"
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
"hasDynamicHelp": false,
|
|
621
|
+
"hiddenAliases": [],
|
|
622
|
+
"id": "preview",
|
|
623
|
+
"pluginAlias": "@mailmodo/cli",
|
|
624
|
+
"pluginName": "@mailmodo/cli",
|
|
625
|
+
"pluginType": "core",
|
|
626
|
+
"strict": true,
|
|
627
|
+
"enableJsonFlag": false,
|
|
628
|
+
"isESM": true,
|
|
629
|
+
"relativePath": [
|
|
630
|
+
"dist",
|
|
631
|
+
"commands",
|
|
632
|
+
"preview",
|
|
633
|
+
"index.js"
|
|
634
|
+
]
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
|
-
"version": "0.0.24
|
|
637
|
+
"version": "0.0.24"
|
|
638
638
|
}
|