@mailmodo/cli 0.0.44-beta.pr46.72 → 0.0.45-beta.pr47.73

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.
@@ -28,7 +28,7 @@ export default class Billing extends BaseCommand {
28
28
  description: 'Open Stripe checkout to add or update a payment method',
29
29
  }),
30
30
  purchase: Flags.integer({
31
- description: 'Manually purchase this many 10,000-email blocks',
31
+ description: 'Manually purchase email blocks',
32
32
  }),
33
33
  status: Flags.boolean({
34
34
  default: false,
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "commands": {
3
- "contacts": {
3
+ "billing": {
4
4
  "aliases": [],
5
5
  "args": {},
6
- "description": "Manage contacts search, export, or delete",
6
+ "description": "View billing status, purchase blocks, set cap, or add a payment method",
7
7
  "examples": [
8
- "<%= config.bin %> contacts",
9
- "<%= config.bin %> contacts --search sarah@example.com",
10
- "<%= config.bin %> contacts --export # GDPR CSV → contacts.csv",
11
- "<%= config.bin %> contacts --delete sarah@example.com"
8
+ "<%= config.bin %> billing",
9
+ "<%= config.bin %> billing --status",
10
+ "<%= config.bin %> billing --cap 5",
11
+ "<%= config.bin %> billing --cap 5 --auto-charge-block-count 2",
12
+ "<%= config.bin %> billing --purchase 3",
13
+ "<%= config.bin %> billing --checkout"
12
14
  ],
13
15
  "flags": {
14
16
  "json": {
@@ -24,30 +26,43 @@
24
26
  "allowNo": false,
25
27
  "type": "boolean"
26
28
  },
27
- "delete": {
28
- "description": "GDPR hard delete a contact by email",
29
- "name": "delete",
29
+ "auto-charge-block-count": {
30
+ "description": "Blocks to auto-purchase when the quota runs low (use with --cap)",
31
+ "name": "auto-charge-block-count",
30
32
  "hasDynamicHelp": false,
31
33
  "multiple": false,
32
34
  "type": "option"
33
35
  },
34
- "export": {
35
- "description": "Export all contacts as GDPR-compliant CSV (writes contacts.csv in the current directory)",
36
- "name": "export",
36
+ "cap": {
37
+ "description": "Set monthly sending cap in blocks",
38
+ "name": "cap",
39
+ "hasDynamicHelp": false,
40
+ "multiple": false,
41
+ "type": "option"
42
+ },
43
+ "checkout": {
44
+ "description": "Open Stripe checkout to add or update a payment method",
45
+ "name": "checkout",
37
46
  "allowNo": false,
38
47
  "type": "boolean"
39
48
  },
40
- "search": {
41
- "description": "Search for a contact by email",
42
- "name": "search",
49
+ "purchase": {
50
+ "description": "Manually purchase email blocks",
51
+ "name": "purchase",
43
52
  "hasDynamicHelp": false,
44
53
  "multiple": false,
45
54
  "type": "option"
55
+ },
56
+ "status": {
57
+ "description": "Show billing status only",
58
+ "name": "status",
59
+ "allowNo": false,
60
+ "type": "boolean"
46
61
  }
47
62
  },
48
63
  "hasDynamicHelp": false,
49
64
  "hiddenAliases": [],
50
- "id": "contacts",
65
+ "id": "billing",
51
66
  "pluginAlias": "@mailmodo/cli",
52
67
  "pluginName": "@mailmodo/cli",
53
68
  "pluginType": "core",
@@ -57,21 +72,19 @@
57
72
  "relativePath": [
58
73
  "dist",
59
74
  "commands",
60
- "contacts",
75
+ "billing",
61
76
  "index.js"
62
77
  ]
63
78
  },
64
- "billing": {
79
+ "contacts": {
65
80
  "aliases": [],
66
81
  "args": {},
67
- "description": "View billing status, purchase blocks, set cap, or add a payment method",
82
+ "description": "Manage contacts search, export, or delete",
68
83
  "examples": [
69
- "<%= config.bin %> billing",
70
- "<%= config.bin %> billing --status",
71
- "<%= config.bin %> billing --cap 5",
72
- "<%= config.bin %> billing --cap 5 --auto-charge-block-count 2",
73
- "<%= config.bin %> billing --purchase 3",
74
- "<%= config.bin %> billing --checkout"
84
+ "<%= config.bin %> contacts",
85
+ "<%= config.bin %> contacts --search sarah@example.com",
86
+ "<%= config.bin %> contacts --export # GDPR CSV → contacts.csv",
87
+ "<%= config.bin %> contacts --delete sarah@example.com"
75
88
  ],
76
89
  "flags": {
77
90
  "json": {
@@ -87,43 +100,30 @@
87
100
  "allowNo": false,
88
101
  "type": "boolean"
89
102
  },
90
- "auto-charge-block-count": {
91
- "description": "Blocks to auto-purchase when the quota runs low (use with --cap)",
92
- "name": "auto-charge-block-count",
93
- "hasDynamicHelp": false,
94
- "multiple": false,
95
- "type": "option"
96
- },
97
- "cap": {
98
- "description": "Set monthly sending cap in blocks",
99
- "name": "cap",
103
+ "delete": {
104
+ "description": "GDPR hard delete a contact by email",
105
+ "name": "delete",
100
106
  "hasDynamicHelp": false,
101
107
  "multiple": false,
102
108
  "type": "option"
103
109
  },
104
- "checkout": {
105
- "description": "Open Stripe checkout to add or update a payment method",
106
- "name": "checkout",
110
+ "export": {
111
+ "description": "Export all contacts as GDPR-compliant CSV (writes contacts.csv in the current directory)",
112
+ "name": "export",
107
113
  "allowNo": false,
108
114
  "type": "boolean"
109
115
  },
110
- "purchase": {
111
- "description": "Manually purchase this many 10,000-email blocks",
112
- "name": "purchase",
116
+ "search": {
117
+ "description": "Search for a contact by email",
118
+ "name": "search",
113
119
  "hasDynamicHelp": false,
114
120
  "multiple": false,
115
121
  "type": "option"
116
- },
117
- "status": {
118
- "description": "Show billing status only",
119
- "name": "status",
120
- "allowNo": false,
121
- "type": "boolean"
122
122
  }
123
123
  },
124
124
  "hasDynamicHelp": false,
125
125
  "hiddenAliases": [],
126
- "id": "billing",
126
+ "id": "contacts",
127
127
  "pluginAlias": "@mailmodo/cli",
128
128
  "pluginName": "@mailmodo/cli",
129
129
  "pluginType": "core",
@@ -133,7 +133,7 @@
133
133
  "relativePath": [
134
134
  "dist",
135
135
  "commands",
136
- "billing",
136
+ "contacts",
137
137
  "index.js"
138
138
  ]
139
139
  },
@@ -570,13 +570,14 @@
570
570
  "index.js"
571
571
  ]
572
572
  },
573
- "status": {
573
+ "settings": {
574
574
  "aliases": [],
575
575
  "args": {},
576
- "description": "View email performance metrics and quota usage",
576
+ "description": "View and update project settings",
577
577
  "examples": [
578
- "<%= config.bin %> status",
579
- "<%= config.bin %> status --json"
578
+ "<%= config.bin %> settings",
579
+ "<%= config.bin %> settings --set brand_color=#0F3460",
580
+ "<%= config.bin %> settings --json"
580
581
  ],
581
582
  "flags": {
582
583
  "json": {
@@ -591,11 +592,18 @@
591
592
  "name": "yes",
592
593
  "allowNo": false,
593
594
  "type": "boolean"
595
+ },
596
+ "set": {
597
+ "description": "Set a setting (format: key=value)",
598
+ "name": "set",
599
+ "hasDynamicHelp": false,
600
+ "multiple": false,
601
+ "type": "option"
594
602
  }
595
603
  },
596
604
  "hasDynamicHelp": false,
597
605
  "hiddenAliases": [],
598
- "id": "status",
606
+ "id": "settings",
599
607
  "pluginAlias": "@mailmodo/cli",
600
608
  "pluginName": "@mailmodo/cli",
601
609
  "pluginType": "core",
@@ -605,18 +613,17 @@
605
613
  "relativePath": [
606
614
  "dist",
607
615
  "commands",
608
- "status",
616
+ "settings",
609
617
  "index.js"
610
618
  ]
611
619
  },
612
- "settings": {
620
+ "status": {
613
621
  "aliases": [],
614
622
  "args": {},
615
- "description": "View and update project settings",
623
+ "description": "View email performance metrics and quota usage",
616
624
  "examples": [
617
- "<%= config.bin %> settings",
618
- "<%= config.bin %> settings --set brand_color=#0F3460",
619
- "<%= config.bin %> settings --json"
625
+ "<%= config.bin %> status",
626
+ "<%= config.bin %> status --json"
620
627
  ],
621
628
  "flags": {
622
629
  "json": {
@@ -631,18 +638,11 @@
631
638
  "name": "yes",
632
639
  "allowNo": false,
633
640
  "type": "boolean"
634
- },
635
- "set": {
636
- "description": "Set a setting (format: key=value)",
637
- "name": "set",
638
- "hasDynamicHelp": false,
639
- "multiple": false,
640
- "type": "option"
641
641
  }
642
642
  },
643
643
  "hasDynamicHelp": false,
644
644
  "hiddenAliases": [],
645
- "id": "settings",
645
+ "id": "status",
646
646
  "pluginAlias": "@mailmodo/cli",
647
647
  "pluginName": "@mailmodo/cli",
648
648
  "pluginType": "core",
@@ -652,10 +652,10 @@
652
652
  "relativePath": [
653
653
  "dist",
654
654
  "commands",
655
- "settings",
655
+ "status",
656
656
  "index.js"
657
657
  ]
658
658
  }
659
659
  },
660
- "version": "0.0.44-beta.pr46.72"
660
+ "version": "0.0.45-beta.pr47.73"
661
661
  }
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.44-beta.pr46.72",
4
+ "version": "0.0.45-beta.pr47.73",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"