@mailmodo/cli 0.0.23-beta.pr25.40 → 0.0.24-beta.pr26.41
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 +16 -5
- package/oclif.manifest.json +59 -59
- package/package.json +1 -1
|
@@ -200,12 +200,23 @@ 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
|
+
if (sdkSnippet.examples) {
|
|
204
|
+
this.log(` ${chalk.dim('// Example usage:')}`);
|
|
205
|
+
this.log(` ${chalk.dim(sdkSnippet.examples.track)}`);
|
|
206
|
+
this.log(` ${chalk.dim(sdkSnippet.examples.identify)}\n`);
|
|
207
207
|
}
|
|
208
|
-
|
|
208
|
+
const trackCalls = [...new Set(sdkSnippet.trackCalls ?? [])];
|
|
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('');
|
|
209
220
|
this.log(` Full SDK docs: ${chalk.cyan('mailmodo.com/docs/sdk')}\n`);
|
|
210
221
|
this.log(` ${'─'.repeat(53)}\n`);
|
|
211
222
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -53,6 +53,45 @@
|
|
|
53
53
|
"index.js"
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
|
+
"deploy": {
|
|
57
|
+
"aliases": [],
|
|
58
|
+
"args": {},
|
|
59
|
+
"description": "Deploy email sequences and verify sending domain",
|
|
60
|
+
"examples": [
|
|
61
|
+
"<%= config.bin %> deploy",
|
|
62
|
+
"<%= config.bin %> deploy --yes"
|
|
63
|
+
],
|
|
64
|
+
"flags": {
|
|
65
|
+
"json": {
|
|
66
|
+
"description": "Output as JSON",
|
|
67
|
+
"name": "json",
|
|
68
|
+
"allowNo": false,
|
|
69
|
+
"type": "boolean"
|
|
70
|
+
},
|
|
71
|
+
"yes": {
|
|
72
|
+
"char": "y",
|
|
73
|
+
"description": "Skip confirmation prompts",
|
|
74
|
+
"name": "yes",
|
|
75
|
+
"allowNo": false,
|
|
76
|
+
"type": "boolean"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"hasDynamicHelp": false,
|
|
80
|
+
"hiddenAliases": [],
|
|
81
|
+
"id": "deploy",
|
|
82
|
+
"pluginAlias": "@mailmodo/cli",
|
|
83
|
+
"pluginName": "@mailmodo/cli",
|
|
84
|
+
"pluginType": "core",
|
|
85
|
+
"strict": true,
|
|
86
|
+
"enableJsonFlag": false,
|
|
87
|
+
"isESM": true,
|
|
88
|
+
"relativePath": [
|
|
89
|
+
"dist",
|
|
90
|
+
"commands",
|
|
91
|
+
"deploy",
|
|
92
|
+
"index.js"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
56
95
|
"contacts": {
|
|
57
96
|
"aliases": [],
|
|
58
97
|
"args": {},
|
|
@@ -114,13 +153,14 @@
|
|
|
114
153
|
"index.js"
|
|
115
154
|
]
|
|
116
155
|
},
|
|
117
|
-
"
|
|
156
|
+
"domain": {
|
|
118
157
|
"aliases": [],
|
|
119
158
|
"args": {},
|
|
120
|
-
"description": "
|
|
159
|
+
"description": "Set up and verify your sending domain",
|
|
121
160
|
"examples": [
|
|
122
|
-
"<%= config.bin %>
|
|
123
|
-
"<%= config.bin %>
|
|
161
|
+
"<%= config.bin %> domain",
|
|
162
|
+
"<%= config.bin %> domain --verify",
|
|
163
|
+
"<%= config.bin %> domain --status"
|
|
124
164
|
],
|
|
125
165
|
"flags": {
|
|
126
166
|
"json": {
|
|
@@ -135,11 +175,23 @@
|
|
|
135
175
|
"name": "yes",
|
|
136
176
|
"allowNo": false,
|
|
137
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"
|
|
138
190
|
}
|
|
139
191
|
},
|
|
140
192
|
"hasDynamicHelp": false,
|
|
141
193
|
"hiddenAliases": [],
|
|
142
|
-
"id": "
|
|
194
|
+
"id": "domain",
|
|
143
195
|
"pluginAlias": "@mailmodo/cli",
|
|
144
196
|
"pluginName": "@mailmodo/cli",
|
|
145
197
|
"pluginType": "core",
|
|
@@ -149,7 +201,7 @@
|
|
|
149
201
|
"relativePath": [
|
|
150
202
|
"dist",
|
|
151
203
|
"commands",
|
|
152
|
-
"
|
|
204
|
+
"domain",
|
|
153
205
|
"index.js"
|
|
154
206
|
]
|
|
155
207
|
},
|
|
@@ -244,58 +296,6 @@
|
|
|
244
296
|
"index.js"
|
|
245
297
|
]
|
|
246
298
|
},
|
|
247
|
-
"domain": {
|
|
248
|
-
"aliases": [],
|
|
249
|
-
"args": {},
|
|
250
|
-
"description": "Set up and verify your sending domain",
|
|
251
|
-
"examples": [
|
|
252
|
-
"<%= config.bin %> domain",
|
|
253
|
-
"<%= config.bin %> domain --verify",
|
|
254
|
-
"<%= config.bin %> domain --status"
|
|
255
|
-
],
|
|
256
|
-
"flags": {
|
|
257
|
-
"json": {
|
|
258
|
-
"description": "Output as JSON",
|
|
259
|
-
"name": "json",
|
|
260
|
-
"allowNo": false,
|
|
261
|
-
"type": "boolean"
|
|
262
|
-
},
|
|
263
|
-
"yes": {
|
|
264
|
-
"char": "y",
|
|
265
|
-
"description": "Skip confirmation prompts",
|
|
266
|
-
"name": "yes",
|
|
267
|
-
"allowNo": false,
|
|
268
|
-
"type": "boolean"
|
|
269
|
-
},
|
|
270
|
-
"status": {
|
|
271
|
-
"description": "Show domain health status",
|
|
272
|
-
"name": "status",
|
|
273
|
-
"allowNo": false,
|
|
274
|
-
"type": "boolean"
|
|
275
|
-
},
|
|
276
|
-
"verify": {
|
|
277
|
-
"description": "Verify DNS records",
|
|
278
|
-
"name": "verify",
|
|
279
|
-
"allowNo": false,
|
|
280
|
-
"type": "boolean"
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
"hasDynamicHelp": false,
|
|
284
|
-
"hiddenAliases": [],
|
|
285
|
-
"id": "domain",
|
|
286
|
-
"pluginAlias": "@mailmodo/cli",
|
|
287
|
-
"pluginName": "@mailmodo/cli",
|
|
288
|
-
"pluginType": "core",
|
|
289
|
-
"strict": true,
|
|
290
|
-
"enableJsonFlag": false,
|
|
291
|
-
"isESM": true,
|
|
292
|
-
"relativePath": [
|
|
293
|
-
"dist",
|
|
294
|
-
"commands",
|
|
295
|
-
"domain",
|
|
296
|
-
"index.js"
|
|
297
|
-
]
|
|
298
|
-
},
|
|
299
299
|
"init": {
|
|
300
300
|
"aliases": [],
|
|
301
301
|
"args": {},
|
|
@@ -634,5 +634,5 @@
|
|
|
634
634
|
]
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
|
-
"version": "0.0.
|
|
637
|
+
"version": "0.0.24-beta.pr26.41"
|
|
638
638
|
}
|
package/package.json
CHANGED