@mailmodo/cli 0.0.11-beta.pr13.17 → 0.0.11

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.
@@ -2,7 +2,7 @@ import { Flags } from '@oclif/core';
2
2
  import { editor, input, select } from '@inquirer/prompts';
3
3
  import chalk from 'chalk';
4
4
  import { BaseCommand } from '../../lib/base-command.js';
5
- import { API_ENDPOINTS, DEFAULT_BRAND_COLOR, DEFAULT_MONTHLY_CAP } from '../../lib/constants.js';
5
+ import { API_ENDPOINTS, DEFAULT_BRAND_COLOR } from '../../lib/constants.js';
6
6
  import { saveTemplate, saveYaml, } from '../../lib/yaml-config.js';
7
7
  function isValidUrl(value) {
8
8
  try {
@@ -140,7 +140,6 @@ export default class Init extends BaseCommand {
140
140
  fromEmail: '',
141
141
  fromName: `Team ${analysisPayload.productName}`,
142
142
  logoUrl: analysisPayload.brand?.logoUrl || '',
143
- monthlyCap: DEFAULT_MONTHLY_CAP,
144
143
  name: analysisPayload.productName,
145
144
  replyTo: '',
146
145
  type: analysisPayload.pricingModel,
@@ -23,6 +23,5 @@ export declare const DOCS_URL = "https://mailmodo.com/docs/cli";
23
23
  export declare const DNS_GUIDE_URL = "https://mailmodo.com/docs/dns";
24
24
  export declare const PREVIEW_PORT = 3421;
25
25
  export declare const DEFAULT_BRAND_COLOR = "#1A56DB";
26
- export declare const DEFAULT_MONTHLY_CAP = 5;
27
26
  export declare const TEMPLATES_DIR = "mailmodo";
28
27
  export declare const YAML_FILE = "mailmodo.yaml";
@@ -28,6 +28,5 @@ export const DOCS_URL = 'https://mailmodo.com/docs/cli';
28
28
  export const DNS_GUIDE_URL = 'https://mailmodo.com/docs/dns';
29
29
  export const PREVIEW_PORT = 3421;
30
30
  export const DEFAULT_BRAND_COLOR = '#1A56DB';
31
- export const DEFAULT_MONTHLY_CAP = 5;
32
31
  export const TEMPLATES_DIR = 'mailmodo';
33
32
  export const YAML_FILE = 'mailmodo.yaml';
@@ -205,19 +205,13 @@
205
205
  "index.js"
206
206
  ]
207
207
  },
208
- "edit": {
208
+ "emails": {
209
209
  "aliases": [],
210
- "args": {
211
- "id": {
212
- "description": "Email ID to edit",
213
- "name": "id",
214
- "required": true
215
- }
216
- },
217
- "description": "Edit an email using AI-assisted natural language changes",
210
+ "args": {},
211
+ "description": "List and view configured email sequences",
218
212
  "examples": [
219
- "<%= config.bin %> edit welcome",
220
- "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
213
+ "<%= config.bin %> emails",
214
+ "<%= config.bin %> emails --json"
221
215
  ],
222
216
  "flags": {
223
217
  "json": {
@@ -232,18 +226,11 @@
232
226
  "name": "yes",
233
227
  "allowNo": false,
234
228
  "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
229
  }
243
230
  },
244
231
  "hasDynamicHelp": false,
245
232
  "hiddenAliases": [],
246
- "id": "edit",
233
+ "id": "emails",
247
234
  "pluginAlias": "@mailmodo/cli",
248
235
  "pluginName": "@mailmodo/cli",
249
236
  "pluginType": "core",
@@ -253,17 +240,23 @@
253
240
  "relativePath": [
254
241
  "dist",
255
242
  "commands",
256
- "edit",
243
+ "emails",
257
244
  "index.js"
258
245
  ]
259
246
  },
260
- "emails": {
247
+ "edit": {
261
248
  "aliases": [],
262
- "args": {},
263
- "description": "List and view configured email sequences",
249
+ "args": {
250
+ "id": {
251
+ "description": "Email ID to edit",
252
+ "name": "id",
253
+ "required": true
254
+ }
255
+ },
256
+ "description": "Edit an email using AI-assisted natural language changes",
264
257
  "examples": [
265
- "<%= config.bin %> emails",
266
- "<%= config.bin %> emails --json"
258
+ "<%= config.bin %> edit welcome",
259
+ "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
267
260
  ],
268
261
  "flags": {
269
262
  "json": {
@@ -278,11 +271,18 @@
278
271
  "name": "yes",
279
272
  "allowNo": false,
280
273
  "type": "boolean"
274
+ },
275
+ "change": {
276
+ "description": "Natural language description of the change",
277
+ "name": "change",
278
+ "hasDynamicHelp": false,
279
+ "multiple": false,
280
+ "type": "option"
281
281
  }
282
282
  },
283
283
  "hasDynamicHelp": false,
284
284
  "hiddenAliases": [],
285
- "id": "emails",
285
+ "id": "edit",
286
286
  "pluginAlias": "@mailmodo/cli",
287
287
  "pluginName": "@mailmodo/cli",
288
288
  "pluginType": "core",
@@ -292,7 +292,7 @@
292
292
  "relativePath": [
293
293
  "dist",
294
294
  "commands",
295
- "emails",
295
+ "edit",
296
296
  "index.js"
297
297
  ]
298
298
  },
@@ -419,6 +419,60 @@
419
419
  "index.js"
420
420
  ]
421
421
  },
422
+ "logs": {
423
+ "aliases": [],
424
+ "args": {},
425
+ "description": "View email send logs and delivery events",
426
+ "examples": [
427
+ "<%= config.bin %> logs",
428
+ "<%= config.bin %> logs --email sarah@example.com",
429
+ "<%= config.bin %> logs --failed",
430
+ "<%= config.bin %> logs --json"
431
+ ],
432
+ "flags": {
433
+ "json": {
434
+ "description": "Output as JSON",
435
+ "name": "json",
436
+ "allowNo": false,
437
+ "type": "boolean"
438
+ },
439
+ "yes": {
440
+ "char": "y",
441
+ "description": "Skip confirmation prompts",
442
+ "name": "yes",
443
+ "allowNo": false,
444
+ "type": "boolean"
445
+ },
446
+ "email": {
447
+ "description": "Filter logs by contact email",
448
+ "name": "email",
449
+ "hasDynamicHelp": false,
450
+ "multiple": false,
451
+ "type": "option"
452
+ },
453
+ "failed": {
454
+ "description": "Show only failed/bounced events",
455
+ "name": "failed",
456
+ "allowNo": false,
457
+ "type": "boolean"
458
+ }
459
+ },
460
+ "hasDynamicHelp": false,
461
+ "hiddenAliases": [],
462
+ "id": "logs",
463
+ "pluginAlias": "@mailmodo/cli",
464
+ "pluginName": "@mailmodo/cli",
465
+ "pluginType": "core",
466
+ "strict": true,
467
+ "enableJsonFlag": false,
468
+ "isESM": true,
469
+ "relativePath": [
470
+ "dist",
471
+ "commands",
472
+ "logs",
473
+ "index.js"
474
+ ]
475
+ },
422
476
  "preview": {
423
477
  "aliases": [],
424
478
  "args": {
@@ -562,61 +616,7 @@
562
616
  "status",
563
617
  "index.js"
564
618
  ]
565
- },
566
- "logs": {
567
- "aliases": [],
568
- "args": {},
569
- "description": "View email send logs and delivery events",
570
- "examples": [
571
- "<%= config.bin %> logs",
572
- "<%= config.bin %> logs --email sarah@example.com",
573
- "<%= config.bin %> logs --failed",
574
- "<%= config.bin %> logs --json"
575
- ],
576
- "flags": {
577
- "json": {
578
- "description": "Output as JSON",
579
- "name": "json",
580
- "allowNo": false,
581
- "type": "boolean"
582
- },
583
- "yes": {
584
- "char": "y",
585
- "description": "Skip confirmation prompts",
586
- "name": "yes",
587
- "allowNo": false,
588
- "type": "boolean"
589
- },
590
- "email": {
591
- "description": "Filter logs by contact email",
592
- "name": "email",
593
- "hasDynamicHelp": false,
594
- "multiple": false,
595
- "type": "option"
596
- },
597
- "failed": {
598
- "description": "Show only failed/bounced events",
599
- "name": "failed",
600
- "allowNo": false,
601
- "type": "boolean"
602
- }
603
- },
604
- "hasDynamicHelp": false,
605
- "hiddenAliases": [],
606
- "id": "logs",
607
- "pluginAlias": "@mailmodo/cli",
608
- "pluginName": "@mailmodo/cli",
609
- "pluginType": "core",
610
- "strict": true,
611
- "enableJsonFlag": false,
612
- "isESM": true,
613
- "relativePath": [
614
- "dist",
615
- "commands",
616
- "logs",
617
- "index.js"
618
- ]
619
619
  }
620
620
  },
621
- "version": "0.0.11-beta.pr13.17"
621
+ "version": "0.0.11"
622
622
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mailmodo/cli",
3
3
  "description": "Email lifecycle automation for the AI-native builder generation.",
4
- "version": "0.0.11-beta.pr13.17",
4
+ "version": "0.0.11",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"