@mailmodo/cli 0.0.14-beta.pr16.23 → 0.0.14

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.
@@ -4,7 +4,7 @@ import open from 'open';
4
4
  import { BaseCommand } from '../../lib/base-command.js';
5
5
  import { ApiClient } from '../../lib/api-client.js';
6
6
  import { loadConfig, saveConfig } from '../../lib/config.js';
7
- import { API_ENDPOINTS, LOGIN_URL } from '../../lib/constants.js';
7
+ import { API_ENDPOINTS, SIGNUP_URL } from '../../lib/constants.js';
8
8
  export default class Login extends BaseCommand {
9
9
  static description = 'Authenticate with Mailmodo using your API key';
10
10
  static examples = [
@@ -44,9 +44,9 @@ export default class Login extends BaseCommand {
44
44
  this.log('Detected MAILMODO_API_KEY from environment.');
45
45
  }
46
46
  else {
47
- this.log(`\n Get your free API key at: ${chalk.cyan(LOGIN_URL)}\n`);
47
+ this.log(`\n Get your free API key at: ${chalk.cyan(SIGNUP_URL)}\n`);
48
48
  try {
49
- await open(LOGIN_URL);
49
+ await open(SIGNUP_URL);
50
50
  this.log(' Opening in browser...\n');
51
51
  }
52
52
  catch {
@@ -18,7 +18,7 @@ export declare const API_ENDPOINTS: Readonly<{
18
18
  PREVIEW: "/preview";
19
19
  SEQUENCES: "/sequences";
20
20
  }>;
21
- export declare const LOGIN_URL = "https://app-vertex-debug.azurewebsites.net/login.html";
21
+ export declare const SIGNUP_URL = "https://mailmodo.com/cli";
22
22
  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;
@@ -24,12 +24,7 @@ export const API_ENDPOINTS = Object.freeze({
24
24
  PREVIEW: '/preview',
25
25
  SEQUENCES: '/sequences',
26
26
  });
27
- const DEV_LOGIN_URL = 'https://app-vertex-debug.azurewebsites.net/login.html';
28
- // const PRODUCTION_LOGIN_URL = 'https://mailmodo.com/cli';
29
- const PRODUCTION_LOGIN_URL = 'https://app-vertex-debug.azurewebsites.net/login.html';
30
- export const LOGIN_URL = process.env.MAILMODO_DEV_TSX
31
- ? DEV_LOGIN_URL
32
- : PRODUCTION_LOGIN_URL;
27
+ export const SIGNUP_URL = 'https://mailmodo.com/cli';
33
28
  export const DOCS_URL = 'https://mailmodo.com/docs/cli';
34
29
  export const DNS_GUIDE_URL = 'https://mailmodo.com/docs/dns';
35
30
  export const PREVIEW_PORT = 3421;
@@ -114,14 +114,13 @@
114
114
  "index.js"
115
115
  ]
116
116
  },
117
- "domain": {
117
+ "deploy": {
118
118
  "aliases": [],
119
119
  "args": {},
120
- "description": "Set up and verify your sending domain",
120
+ "description": "Deploy email sequences and verify sending domain",
121
121
  "examples": [
122
- "<%= config.bin %> domain",
123
- "<%= config.bin %> domain --verify",
124
- "<%= config.bin %> domain --status"
122
+ "<%= config.bin %> deploy",
123
+ "<%= config.bin %> deploy --yes"
125
124
  ],
126
125
  "flags": {
127
126
  "json": {
@@ -136,23 +135,11 @@
136
135
  "name": "yes",
137
136
  "allowNo": false,
138
137
  "type": "boolean"
139
- },
140
- "status": {
141
- "description": "Show domain health status",
142
- "name": "status",
143
- "allowNo": false,
144
- "type": "boolean"
145
- },
146
- "verify": {
147
- "description": "Verify DNS records",
148
- "name": "verify",
149
- "allowNo": false,
150
- "type": "boolean"
151
138
  }
152
139
  },
153
140
  "hasDynamicHelp": false,
154
141
  "hiddenAliases": [],
155
- "id": "domain",
142
+ "id": "deploy",
156
143
  "pluginAlias": "@mailmodo/cli",
157
144
  "pluginName": "@mailmodo/cli",
158
145
  "pluginType": "core",
@@ -162,17 +149,18 @@
162
149
  "relativePath": [
163
150
  "dist",
164
151
  "commands",
165
- "domain",
152
+ "deploy",
166
153
  "index.js"
167
154
  ]
168
155
  },
169
- "deploy": {
156
+ "domain": {
170
157
  "aliases": [],
171
158
  "args": {},
172
- "description": "Deploy email sequences and verify sending domain",
159
+ "description": "Set up and verify your sending domain",
173
160
  "examples": [
174
- "<%= config.bin %> deploy",
175
- "<%= config.bin %> deploy --yes"
161
+ "<%= config.bin %> domain",
162
+ "<%= config.bin %> domain --verify",
163
+ "<%= config.bin %> domain --status"
176
164
  ],
177
165
  "flags": {
178
166
  "json": {
@@ -187,11 +175,23 @@
187
175
  "name": "yes",
188
176
  "allowNo": false,
189
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"
190
190
  }
191
191
  },
192
192
  "hasDynamicHelp": false,
193
193
  "hiddenAliases": [],
194
- "id": "deploy",
194
+ "id": "domain",
195
195
  "pluginAlias": "@mailmodo/cli",
196
196
  "pluginName": "@mailmodo/cli",
197
197
  "pluginType": "core",
@@ -201,7 +201,7 @@
201
201
  "relativePath": [
202
202
  "dist",
203
203
  "commands",
204
- "deploy",
204
+ "domain",
205
205
  "index.js"
206
206
  ]
207
207
  },
@@ -618,5 +618,5 @@
618
618
  ]
619
619
  }
620
620
  },
621
- "version": "0.0.14-beta.pr16.23"
621
+ "version": "0.0.14"
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.14-beta.pr16.23",
4
+ "version": "0.0.14",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"