@mailmodo/cli 0.0.13-beta.pr14.22 → 0.0.14-beta.pr16.23

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, SIGNUP_URL } from '../../lib/constants.js';
7
+ import { API_ENDPOINTS, LOGIN_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(SIGNUP_URL)}\n`);
47
+ this.log(`\n Get your free API key at: ${chalk.cyan(LOGIN_URL)}\n`);
48
48
  try {
49
- await open(SIGNUP_URL);
49
+ await open(LOGIN_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 SIGNUP_URL = "https://mailmodo.com/cli";
21
+ export declare const LOGIN_URL = "https://app-vertex-debug.azurewebsites.net/login.html";
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,7 +24,12 @@ export const API_ENDPOINTS = Object.freeze({
24
24
  PREVIEW: '/preview',
25
25
  SEQUENCES: '/sequences',
26
26
  });
27
- export const SIGNUP_URL = 'https://mailmodo.com/cli';
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;
28
33
  export const DOCS_URL = 'https://mailmodo.com/docs/cli';
29
34
  export const DNS_GUIDE_URL = 'https://mailmodo.com/docs/dns';
30
35
  export const PREVIEW_PORT = 3421;
@@ -114,13 +114,14 @@
114
114
  "index.js"
115
115
  ]
116
116
  },
117
- "deploy": {
117
+ "domain": {
118
118
  "aliases": [],
119
119
  "args": {},
120
- "description": "Deploy email sequences and verify sending domain",
120
+ "description": "Set up and verify your sending domain",
121
121
  "examples": [
122
- "<%= config.bin %> deploy",
123
- "<%= config.bin %> deploy --yes"
122
+ "<%= config.bin %> domain",
123
+ "<%= config.bin %> domain --verify",
124
+ "<%= config.bin %> domain --status"
124
125
  ],
125
126
  "flags": {
126
127
  "json": {
@@ -135,11 +136,23 @@
135
136
  "name": "yes",
136
137
  "allowNo": false,
137
138
  "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"
138
151
  }
139
152
  },
140
153
  "hasDynamicHelp": false,
141
154
  "hiddenAliases": [],
142
- "id": "deploy",
155
+ "id": "domain",
143
156
  "pluginAlias": "@mailmodo/cli",
144
157
  "pluginName": "@mailmodo/cli",
145
158
  "pluginType": "core",
@@ -149,18 +162,17 @@
149
162
  "relativePath": [
150
163
  "dist",
151
164
  "commands",
152
- "deploy",
165
+ "domain",
153
166
  "index.js"
154
167
  ]
155
168
  },
156
- "domain": {
169
+ "deploy": {
157
170
  "aliases": [],
158
171
  "args": {},
159
- "description": "Set up and verify your sending domain",
172
+ "description": "Deploy email sequences and verify sending domain",
160
173
  "examples": [
161
- "<%= config.bin %> domain",
162
- "<%= config.bin %> domain --verify",
163
- "<%= config.bin %> domain --status"
174
+ "<%= config.bin %> deploy",
175
+ "<%= config.bin %> deploy --yes"
164
176
  ],
165
177
  "flags": {
166
178
  "json": {
@@ -175,23 +187,11 @@
175
187
  "name": "yes",
176
188
  "allowNo": false,
177
189
  "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": "domain",
194
+ "id": "deploy",
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
- "domain",
204
+ "deploy",
205
205
  "index.js"
206
206
  ]
207
207
  },
@@ -618,5 +618,5 @@
618
618
  ]
619
619
  }
620
620
  },
621
- "version": "0.0.13-beta.pr14.22"
621
+ "version": "0.0.14-beta.pr16.23"
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.13-beta.pr14.22",
4
+ "version": "0.0.14-beta.pr16.23",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"