@mailmodo/cli 0.0.40-beta.pr42.65 → 0.0.40-beta.pr42.66

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.
@@ -12,13 +12,13 @@ export default class Login extends BaseCommand {
12
12
  if (process.platform === 'win32') {
13
13
  return [
14
14
  '<%= config.bin %> login',
15
- '$env:MAILMODO_API_KEY="mm_live_xxx"; <%= config.bin %> login # PowerShell',
16
- 'set MAILMODO_API_KEY=mm_live_xxx && <%= config.bin %> login # CMD',
15
+ '$env:MAILMODO_API_KEY="YOUR_API_KEY"; <%= config.bin %> login # PowerShell',
16
+ 'set MAILMODO_API_KEY=YOUR_API_KEY && <%= config.bin %> login # CMD',
17
17
  ];
18
18
  }
19
19
  return [
20
20
  '<%= config.bin %> login',
21
- 'MAILMODO_API_KEY=mm_live_xxx <%= config.bin %> login',
21
+ 'MAILMODO_API_KEY=YOUR_API_KEY <%= config.bin %> login',
22
22
  ];
23
23
  }
24
24
  static flags = {
@@ -280,10 +280,14 @@
280
280
  "index.js"
281
281
  ]
282
282
  },
283
- "login": {
283
+ "init": {
284
284
  "aliases": [],
285
285
  "args": {},
286
- "description": "Authenticate with Mailmodo using your API key",
286
+ "description": "Analyze your product and generate email sequences",
287
+ "examples": [
288
+ "<%= config.bin %> init",
289
+ "<%= config.bin %> init --url https://myapp.com --yes"
290
+ ],
287
291
  "flags": {
288
292
  "json": {
289
293
  "description": "Output as JSON",
@@ -297,11 +301,18 @@
297
301
  "name": "yes",
298
302
  "allowNo": false,
299
303
  "type": "boolean"
304
+ },
305
+ "url": {
306
+ "description": "Product URL to analyze",
307
+ "name": "url",
308
+ "hasDynamicHelp": false,
309
+ "multiple": false,
310
+ "type": "option"
300
311
  }
301
312
  },
302
313
  "hasDynamicHelp": false,
303
314
  "hiddenAliases": [],
304
- "id": "login",
315
+ "id": "init",
305
316
  "pluginAlias": "@mailmodo/cli",
306
317
  "pluginName": "@mailmodo/cli",
307
318
  "pluginType": "core",
@@ -311,17 +322,17 @@
311
322
  "relativePath": [
312
323
  "dist",
313
324
  "commands",
314
- "login",
325
+ "init",
315
326
  "index.js"
316
327
  ]
317
328
  },
318
- "init": {
329
+ "emails": {
319
330
  "aliases": [],
320
331
  "args": {},
321
- "description": "Analyze your product and generate email sequences",
332
+ "description": "List and view configured email sequences",
322
333
  "examples": [
323
- "<%= config.bin %> init",
324
- "<%= config.bin %> init --url https://myapp.com --yes"
334
+ "<%= config.bin %> emails",
335
+ "<%= config.bin %> emails --json"
325
336
  ],
326
337
  "flags": {
327
338
  "json": {
@@ -336,18 +347,46 @@
336
347
  "name": "yes",
337
348
  "allowNo": false,
338
349
  "type": "boolean"
350
+ }
351
+ },
352
+ "hasDynamicHelp": false,
353
+ "hiddenAliases": [],
354
+ "id": "emails",
355
+ "pluginAlias": "@mailmodo/cli",
356
+ "pluginName": "@mailmodo/cli",
357
+ "pluginType": "core",
358
+ "strict": true,
359
+ "enableJsonFlag": false,
360
+ "isESM": true,
361
+ "relativePath": [
362
+ "dist",
363
+ "commands",
364
+ "emails",
365
+ "index.js"
366
+ ]
367
+ },
368
+ "login": {
369
+ "aliases": [],
370
+ "args": {},
371
+ "description": "Authenticate with Mailmodo using your API key",
372
+ "flags": {
373
+ "json": {
374
+ "description": "Output as JSON",
375
+ "name": "json",
376
+ "allowNo": false,
377
+ "type": "boolean"
339
378
  },
340
- "url": {
341
- "description": "Product URL to analyze",
342
- "name": "url",
343
- "hasDynamicHelp": false,
344
- "multiple": false,
345
- "type": "option"
379
+ "yes": {
380
+ "char": "y",
381
+ "description": "Skip confirmation prompts",
382
+ "name": "yes",
383
+ "allowNo": false,
384
+ "type": "boolean"
346
385
  }
347
386
  },
348
387
  "hasDynamicHelp": false,
349
388
  "hiddenAliases": [],
350
- "id": "init",
389
+ "id": "login",
351
390
  "pluginAlias": "@mailmodo/cli",
352
391
  "pluginName": "@mailmodo/cli",
353
392
  "pluginType": "core",
@@ -357,17 +396,16 @@
357
396
  "relativePath": [
358
397
  "dist",
359
398
  "commands",
360
- "init",
399
+ "login",
361
400
  "index.js"
362
401
  ]
363
402
  },
364
- "emails": {
403
+ "logout": {
365
404
  "aliases": [],
366
405
  "args": {},
367
- "description": "List and view configured email sequences",
406
+ "description": "Sign out by removing saved credentials from this machine",
368
407
  "examples": [
369
- "<%= config.bin %> emails",
370
- "<%= config.bin %> emails --json"
408
+ "<%= config.bin %> logout"
371
409
  ],
372
410
  "flags": {
373
411
  "json": {
@@ -386,7 +424,7 @@
386
424
  },
387
425
  "hasDynamicHelp": false,
388
426
  "hiddenAliases": [],
389
- "id": "emails",
427
+ "id": "logout",
390
428
  "pluginAlias": "@mailmodo/cli",
391
429
  "pluginName": "@mailmodo/cli",
392
430
  "pluginType": "core",
@@ -396,7 +434,7 @@
396
434
  "relativePath": [
397
435
  "dist",
398
436
  "commands",
399
- "emails",
437
+ "logout",
400
438
  "index.js"
401
439
  ]
402
440
  },
@@ -613,45 +651,7 @@
613
651
  "status",
614
652
  "index.js"
615
653
  ]
616
- },
617
- "logout": {
618
- "aliases": [],
619
- "args": {},
620
- "description": "Sign out by removing saved credentials from this machine",
621
- "examples": [
622
- "<%= config.bin %> logout"
623
- ],
624
- "flags": {
625
- "json": {
626
- "description": "Output as JSON",
627
- "name": "json",
628
- "allowNo": false,
629
- "type": "boolean"
630
- },
631
- "yes": {
632
- "char": "y",
633
- "description": "Skip confirmation prompts",
634
- "name": "yes",
635
- "allowNo": false,
636
- "type": "boolean"
637
- }
638
- },
639
- "hasDynamicHelp": false,
640
- "hiddenAliases": [],
641
- "id": "logout",
642
- "pluginAlias": "@mailmodo/cli",
643
- "pluginName": "@mailmodo/cli",
644
- "pluginType": "core",
645
- "strict": true,
646
- "enableJsonFlag": false,
647
- "isESM": true,
648
- "relativePath": [
649
- "dist",
650
- "commands",
651
- "logout",
652
- "index.js"
653
- ]
654
654
  }
655
655
  },
656
- "version": "0.0.40-beta.pr42.65"
656
+ "version": "0.0.40-beta.pr42.66"
657
657
  }
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.40-beta.pr42.65",
4
+ "version": "0.0.40-beta.pr42.66",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"