@mailmodo/cli 0.0.40-beta.pr42.67 → 0.0.40

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.
@@ -8,16 +8,10 @@ import { API_ENDPOINTS, LOGIN_URL } from '../../lib/constants.js';
8
8
  import { INFO } from '../../lib/messages.js';
9
9
  export default class Login extends BaseCommand {
10
10
  static description = 'Authenticate with Mailmodo using your API key';
11
- static examples = process.platform === 'win32'
12
- ? [
13
- '<%= config.bin %> login',
14
- '$env:MAILMODO_API_KEY="YOUR_API_KEY"; <%= config.bin %> login # PowerShell',
15
- 'set MAILMODO_API_KEY=YOUR_API_KEY && <%= config.bin %> login # CMD',
16
- ]
17
- : [
18
- '<%= config.bin %> login',
19
- 'MAILMODO_API_KEY=YOUR_API_KEY <%= config.bin %> login',
20
- ];
11
+ static examples = [
12
+ '<%= config.bin %> login',
13
+ 'MAILMODO_API_KEY=mm_live_xxx <%= config.bin %> login',
14
+ ];
21
15
  static flags = {
22
16
  ...BaseCommand.baseFlags,
23
17
  };
@@ -365,51 +365,13 @@
365
365
  "index.js"
366
366
  ]
367
367
  },
368
- "logout": {
369
- "aliases": [],
370
- "args": {},
371
- "description": "Sign out by removing saved credentials from this machine",
372
- "examples": [
373
- "<%= config.bin %> logout"
374
- ],
375
- "flags": {
376
- "json": {
377
- "description": "Output as JSON",
378
- "name": "json",
379
- "allowNo": false,
380
- "type": "boolean"
381
- },
382
- "yes": {
383
- "char": "y",
384
- "description": "Skip confirmation prompts",
385
- "name": "yes",
386
- "allowNo": false,
387
- "type": "boolean"
388
- }
389
- },
390
- "hasDynamicHelp": false,
391
- "hiddenAliases": [],
392
- "id": "logout",
393
- "pluginAlias": "@mailmodo/cli",
394
- "pluginName": "@mailmodo/cli",
395
- "pluginType": "core",
396
- "strict": true,
397
- "enableJsonFlag": false,
398
- "isESM": true,
399
- "relativePath": [
400
- "dist",
401
- "commands",
402
- "logout",
403
- "index.js"
404
- ]
405
- },
406
368
  "login": {
407
369
  "aliases": [],
408
370
  "args": {},
409
371
  "description": "Authenticate with Mailmodo using your API key",
410
372
  "examples": [
411
373
  "<%= config.bin %> login",
412
- "MAILMODO_API_KEY=YOUR_API_KEY <%= config.bin %> login"
374
+ "MAILMODO_API_KEY=mm_live_xxx <%= config.bin %> login"
413
375
  ],
414
376
  "flags": {
415
377
  "json": {
@@ -512,6 +474,44 @@
512
474
  "index.js"
513
475
  ]
514
476
  },
477
+ "logout": {
478
+ "aliases": [],
479
+ "args": {},
480
+ "description": "Sign out by removing saved credentials from this machine",
481
+ "examples": [
482
+ "<%= config.bin %> logout"
483
+ ],
484
+ "flags": {
485
+ "json": {
486
+ "description": "Output as JSON",
487
+ "name": "json",
488
+ "allowNo": false,
489
+ "type": "boolean"
490
+ },
491
+ "yes": {
492
+ "char": "y",
493
+ "description": "Skip confirmation prompts",
494
+ "name": "yes",
495
+ "allowNo": false,
496
+ "type": "boolean"
497
+ }
498
+ },
499
+ "hasDynamicHelp": false,
500
+ "hiddenAliases": [],
501
+ "id": "logout",
502
+ "pluginAlias": "@mailmodo/cli",
503
+ "pluginName": "@mailmodo/cli",
504
+ "pluginType": "core",
505
+ "strict": true,
506
+ "enableJsonFlag": false,
507
+ "isESM": true,
508
+ "relativePath": [
509
+ "dist",
510
+ "commands",
511
+ "logout",
512
+ "index.js"
513
+ ]
514
+ },
515
515
  "preview": {
516
516
  "aliases": [],
517
517
  "args": {
@@ -657,5 +657,5 @@
657
657
  ]
658
658
  }
659
659
  },
660
- "version": "0.0.40-beta.pr42.67"
660
+ "version": "0.0.40"
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.40-beta.pr42.67",
4
+ "version": "0.0.40",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"