@mailmodo/cli 0.0.25-beta.pr27.42 → 0.0.25
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/preview/index.js +2 -3
- package/oclif.manifest.json +53 -53
- package/package.json +1 -1
|
@@ -225,11 +225,10 @@ export default class Preview extends BaseCommand {
|
|
|
225
225
|
}
|
|
226
226
|
await new Promise((resolve) => {
|
|
227
227
|
const shutdown = () => {
|
|
228
|
-
server.closeAllConnections?.();
|
|
229
228
|
server.close(() => resolve());
|
|
230
229
|
};
|
|
231
|
-
process.
|
|
232
|
-
process.
|
|
230
|
+
process.on('SIGINT', shutdown);
|
|
231
|
+
process.on('SIGTERM', shutdown);
|
|
233
232
|
});
|
|
234
233
|
}
|
|
235
234
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -205,6 +205,58 @@
|
|
|
205
205
|
"index.js"
|
|
206
206
|
]
|
|
207
207
|
},
|
|
208
|
+
"edit": {
|
|
209
|
+
"aliases": [],
|
|
210
|
+
"args": {
|
|
211
|
+
"id": {
|
|
212
|
+
"description": "Email template ID to edit",
|
|
213
|
+
"name": "id",
|
|
214
|
+
"required": true
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"description": "Edit an email using AI-assisted natural language changes",
|
|
218
|
+
"examples": [
|
|
219
|
+
"<%= config.bin %> edit welcome",
|
|
220
|
+
"<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
|
|
221
|
+
],
|
|
222
|
+
"flags": {
|
|
223
|
+
"json": {
|
|
224
|
+
"description": "Output as JSON",
|
|
225
|
+
"name": "json",
|
|
226
|
+
"allowNo": false,
|
|
227
|
+
"type": "boolean"
|
|
228
|
+
},
|
|
229
|
+
"yes": {
|
|
230
|
+
"char": "y",
|
|
231
|
+
"description": "Skip confirmation prompts",
|
|
232
|
+
"name": "yes",
|
|
233
|
+
"allowNo": false,
|
|
234
|
+
"type": "boolean"
|
|
235
|
+
},
|
|
236
|
+
"change": {
|
|
237
|
+
"description": "Natural language description of the change",
|
|
238
|
+
"name": "change",
|
|
239
|
+
"hasDynamicHelp": false,
|
|
240
|
+
"multiple": false,
|
|
241
|
+
"type": "option"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"hasDynamicHelp": false,
|
|
245
|
+
"hiddenAliases": [],
|
|
246
|
+
"id": "edit",
|
|
247
|
+
"pluginAlias": "@mailmodo/cli",
|
|
248
|
+
"pluginName": "@mailmodo/cli",
|
|
249
|
+
"pluginType": "core",
|
|
250
|
+
"strict": true,
|
|
251
|
+
"enableJsonFlag": false,
|
|
252
|
+
"isESM": true,
|
|
253
|
+
"relativePath": [
|
|
254
|
+
"dist",
|
|
255
|
+
"commands",
|
|
256
|
+
"edit",
|
|
257
|
+
"index.js"
|
|
258
|
+
]
|
|
259
|
+
},
|
|
208
260
|
"emails": {
|
|
209
261
|
"aliases": [],
|
|
210
262
|
"args": {},
|
|
@@ -437,58 +489,6 @@
|
|
|
437
489
|
"index.js"
|
|
438
490
|
]
|
|
439
491
|
},
|
|
440
|
-
"edit": {
|
|
441
|
-
"aliases": [],
|
|
442
|
-
"args": {
|
|
443
|
-
"id": {
|
|
444
|
-
"description": "Email template ID to edit",
|
|
445
|
-
"name": "id",
|
|
446
|
-
"required": true
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
"description": "Edit an email using AI-assisted natural language changes",
|
|
450
|
-
"examples": [
|
|
451
|
-
"<%= config.bin %> edit welcome",
|
|
452
|
-
"<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
|
|
453
|
-
],
|
|
454
|
-
"flags": {
|
|
455
|
-
"json": {
|
|
456
|
-
"description": "Output as JSON",
|
|
457
|
-
"name": "json",
|
|
458
|
-
"allowNo": false,
|
|
459
|
-
"type": "boolean"
|
|
460
|
-
},
|
|
461
|
-
"yes": {
|
|
462
|
-
"char": "y",
|
|
463
|
-
"description": "Skip confirmation prompts",
|
|
464
|
-
"name": "yes",
|
|
465
|
-
"allowNo": false,
|
|
466
|
-
"type": "boolean"
|
|
467
|
-
},
|
|
468
|
-
"change": {
|
|
469
|
-
"description": "Natural language description of the change",
|
|
470
|
-
"name": "change",
|
|
471
|
-
"hasDynamicHelp": false,
|
|
472
|
-
"multiple": false,
|
|
473
|
-
"type": "option"
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
"hasDynamicHelp": false,
|
|
477
|
-
"hiddenAliases": [],
|
|
478
|
-
"id": "edit",
|
|
479
|
-
"pluginAlias": "@mailmodo/cli",
|
|
480
|
-
"pluginName": "@mailmodo/cli",
|
|
481
|
-
"pluginType": "core",
|
|
482
|
-
"strict": true,
|
|
483
|
-
"enableJsonFlag": false,
|
|
484
|
-
"isESM": true,
|
|
485
|
-
"relativePath": [
|
|
486
|
-
"dist",
|
|
487
|
-
"commands",
|
|
488
|
-
"edit",
|
|
489
|
-
"index.js"
|
|
490
|
-
]
|
|
491
|
-
},
|
|
492
492
|
"preview": {
|
|
493
493
|
"aliases": [],
|
|
494
494
|
"args": {
|
|
@@ -634,5 +634,5 @@
|
|
|
634
634
|
]
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
|
-
"version": "0.0.25
|
|
637
|
+
"version": "0.0.25"
|
|
638
638
|
}
|