@mailmodo/cli 0.0.42-beta.pr45.71 → 0.0.43
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.
|
@@ -113,7 +113,7 @@ export default class Contacts extends BaseCommand {
|
|
|
113
113
|
this.log(`\n Export status: ${status ?? 'unknown'}. No download URL yet.\n`);
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
|
-
const fileResult = await this.apiClient.getPublicFile(downloadUrl.trim());
|
|
116
|
+
const fileResult = await this.withApiSpinner({ json: jsonOutput, text: ' Downloading CSV file...' }, () => this.apiClient.getPublicFile(downloadUrl.trim()));
|
|
117
117
|
if (!fileResult.ok) {
|
|
118
118
|
this.error(`Download failed: ${fileResult.status} ${fileResult.error ?? ''}\n` +
|
|
119
119
|
` URL: ${fileResult.debug.fullUrl}`);
|
|
@@ -97,7 +97,7 @@ export default class Domain extends BaseCommand {
|
|
|
97
97
|
this.log(`\n ${INFO.DNS_RECORDS_FAILED}`);
|
|
98
98
|
if (!dkim) {
|
|
99
99
|
this.log(`\n DKIM common mistakes:`);
|
|
100
|
-
this.log(` - Using
|
|
100
|
+
this.log(` - Using TXT instead of CNAME record type`);
|
|
101
101
|
this.log(` - Including the full domain in the Host field`);
|
|
102
102
|
this.log(` - Cloudflare: proxy must be OFF (grey cloud, not orange)`);
|
|
103
103
|
}
|
|
@@ -261,7 +261,7 @@ export default class Settings extends BaseCommand {
|
|
|
261
261
|
const mimeType = mimeTypes[ext ?? ''] ?? 'application/octet-stream';
|
|
262
262
|
const formData = new FormData();
|
|
263
263
|
formData.append('logo', new Blob([new Uint8Array(fileBuffer)], { type: mimeType }), logoPath.split(/[/\\]/).pop() || 'logo.png');
|
|
264
|
-
const response = await this.apiClient.postFormData(API_ENDPOINTS.ASSETS_LOGO, formData);
|
|
264
|
+
const response = await this.withApiSpinner({ json: false, text: ' Uploading logo file...' }, () => this.apiClient.postFormData(API_ENDPOINTS.ASSETS_LOGO, formData));
|
|
265
265
|
if (!response.ok) {
|
|
266
266
|
this.handleApiError(response);
|
|
267
267
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -228,45 +228,6 @@
|
|
|
228
228
|
"index.js"
|
|
229
229
|
]
|
|
230
230
|
},
|
|
231
|
-
"emails": {
|
|
232
|
-
"aliases": [],
|
|
233
|
-
"args": {},
|
|
234
|
-
"description": "List and view configured email sequences",
|
|
235
|
-
"examples": [
|
|
236
|
-
"<%= config.bin %> emails",
|
|
237
|
-
"<%= config.bin %> emails --json"
|
|
238
|
-
],
|
|
239
|
-
"flags": {
|
|
240
|
-
"json": {
|
|
241
|
-
"description": "Output as JSON",
|
|
242
|
-
"name": "json",
|
|
243
|
-
"allowNo": false,
|
|
244
|
-
"type": "boolean"
|
|
245
|
-
},
|
|
246
|
-
"yes": {
|
|
247
|
-
"char": "y",
|
|
248
|
-
"description": "Skip confirmation prompts",
|
|
249
|
-
"name": "yes",
|
|
250
|
-
"allowNo": false,
|
|
251
|
-
"type": "boolean"
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
"hasDynamicHelp": false,
|
|
255
|
-
"hiddenAliases": [],
|
|
256
|
-
"id": "emails",
|
|
257
|
-
"pluginAlias": "@mailmodo/cli",
|
|
258
|
-
"pluginName": "@mailmodo/cli",
|
|
259
|
-
"pluginType": "core",
|
|
260
|
-
"strict": true,
|
|
261
|
-
"enableJsonFlag": false,
|
|
262
|
-
"isESM": true,
|
|
263
|
-
"relativePath": [
|
|
264
|
-
"dist",
|
|
265
|
-
"commands",
|
|
266
|
-
"emails",
|
|
267
|
-
"index.js"
|
|
268
|
-
]
|
|
269
|
-
},
|
|
270
231
|
"edit": {
|
|
271
232
|
"aliases": [],
|
|
272
233
|
"args": {
|
|
@@ -365,13 +326,13 @@
|
|
|
365
326
|
"index.js"
|
|
366
327
|
]
|
|
367
328
|
},
|
|
368
|
-
"
|
|
329
|
+
"emails": {
|
|
369
330
|
"aliases": [],
|
|
370
331
|
"args": {},
|
|
371
|
-
"description": "
|
|
332
|
+
"description": "List and view configured email sequences",
|
|
372
333
|
"examples": [
|
|
373
|
-
"<%= config.bin %>
|
|
374
|
-
"
|
|
334
|
+
"<%= config.bin %> emails",
|
|
335
|
+
"<%= config.bin %> emails --json"
|
|
375
336
|
],
|
|
376
337
|
"flags": {
|
|
377
338
|
"json": {
|
|
@@ -390,7 +351,7 @@
|
|
|
390
351
|
},
|
|
391
352
|
"hasDynamicHelp": false,
|
|
392
353
|
"hiddenAliases": [],
|
|
393
|
-
"id": "
|
|
354
|
+
"id": "emails",
|
|
394
355
|
"pluginAlias": "@mailmodo/cli",
|
|
395
356
|
"pluginName": "@mailmodo/cli",
|
|
396
357
|
"pluginType": "core",
|
|
@@ -400,16 +361,17 @@
|
|
|
400
361
|
"relativePath": [
|
|
401
362
|
"dist",
|
|
402
363
|
"commands",
|
|
403
|
-
"
|
|
364
|
+
"emails",
|
|
404
365
|
"index.js"
|
|
405
366
|
]
|
|
406
367
|
},
|
|
407
|
-
"
|
|
368
|
+
"login": {
|
|
408
369
|
"aliases": [],
|
|
409
370
|
"args": {},
|
|
410
|
-
"description": "
|
|
371
|
+
"description": "Authenticate with Mailmodo using your API key",
|
|
411
372
|
"examples": [
|
|
412
|
-
"<%= config.bin %>
|
|
373
|
+
"<%= config.bin %> login",
|
|
374
|
+
"MAILMODO_API_KEY=YOUR_API_KEY <%= config.bin %> login"
|
|
413
375
|
],
|
|
414
376
|
"flags": {
|
|
415
377
|
"json": {
|
|
@@ -428,7 +390,7 @@
|
|
|
428
390
|
},
|
|
429
391
|
"hasDynamicHelp": false,
|
|
430
392
|
"hiddenAliases": [],
|
|
431
|
-
"id": "
|
|
393
|
+
"id": "login",
|
|
432
394
|
"pluginAlias": "@mailmodo/cli",
|
|
433
395
|
"pluginName": "@mailmodo/cli",
|
|
434
396
|
"pluginType": "core",
|
|
@@ -438,7 +400,7 @@
|
|
|
438
400
|
"relativePath": [
|
|
439
401
|
"dist",
|
|
440
402
|
"commands",
|
|
441
|
-
"
|
|
403
|
+
"login",
|
|
442
404
|
"index.js"
|
|
443
405
|
]
|
|
444
406
|
},
|
|
@@ -512,6 +474,44 @@
|
|
|
512
474
|
"index.js"
|
|
513
475
|
]
|
|
514
476
|
},
|
|
477
|
+
"logout": {
|
|
478
|
+
"aliases": [],
|
|
479
|
+
"args": {},
|
|
480
|
+
"description": "Sign out by removing saved credentials from this machine",
|
|
481
|
+
"examples": [
|
|
482
|
+
"<%= config.bin %> logout"
|
|
483
|
+
],
|
|
484
|
+
"flags": {
|
|
485
|
+
"json": {
|
|
486
|
+
"description": "Output as JSON",
|
|
487
|
+
"name": "json",
|
|
488
|
+
"allowNo": false,
|
|
489
|
+
"type": "boolean"
|
|
490
|
+
},
|
|
491
|
+
"yes": {
|
|
492
|
+
"char": "y",
|
|
493
|
+
"description": "Skip confirmation prompts",
|
|
494
|
+
"name": "yes",
|
|
495
|
+
"allowNo": false,
|
|
496
|
+
"type": "boolean"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"hasDynamicHelp": false,
|
|
500
|
+
"hiddenAliases": [],
|
|
501
|
+
"id": "logout",
|
|
502
|
+
"pluginAlias": "@mailmodo/cli",
|
|
503
|
+
"pluginName": "@mailmodo/cli",
|
|
504
|
+
"pluginType": "core",
|
|
505
|
+
"strict": true,
|
|
506
|
+
"enableJsonFlag": false,
|
|
507
|
+
"isESM": true,
|
|
508
|
+
"relativePath": [
|
|
509
|
+
"dist",
|
|
510
|
+
"commands",
|
|
511
|
+
"logout",
|
|
512
|
+
"index.js"
|
|
513
|
+
]
|
|
514
|
+
},
|
|
515
515
|
"preview": {
|
|
516
516
|
"aliases": [],
|
|
517
517
|
"args": {
|
|
@@ -657,5 +657,5 @@
|
|
|
657
657
|
]
|
|
658
658
|
}
|
|
659
659
|
},
|
|
660
|
-
"version": "0.0.
|
|
660
|
+
"version": "0.0.43"
|
|
661
661
|
}
|