@mailmodo/cli 1.0.0 → 1.0.1

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.
package/README.md CHANGED
@@ -35,7 +35,6 @@
35
35
  - [SDK / App Integration](#sdk--app-integration)
36
36
  - [Configuration](#configuration)
37
37
  - [AI Agent Support](#ai-agent-support)
38
- - [Contributing](#contributing)
39
38
 
40
39
  ---
41
40
 
@@ -780,48 +779,6 @@ mailmodo edit welcome --change "add a P.S. with the link to our docs" --yes --js
780
779
  mailmodo deploy --yes --json
781
780
  ```
782
781
 
783
- ---
784
-
785
- ## Contributing
786
-
787
- Contributions are welcome. This is an open-source project and issues, bug reports, and pull requests are appreciated.
788
-
789
- ```bash
790
- # Clone and install
791
- git clone https://github.com/Mailmodo/mailmodo-cli.git
792
- cd mailmodo-cli
793
- npm install
794
-
795
- # Build
796
- npm run build
797
-
798
- # Run a command without building
799
- node ./bin/run.js <command>
800
-
801
- # Run tests
802
- npm test
803
-
804
- # Run a single test file
805
- npx mocha --loader ts-node/esm test/commands/<name>/index.test.ts
806
-
807
- # Lint
808
- npm run lint
809
- ```
810
-
811
- **Versioning:** PR title tags control version bumps on merge to `main`:
812
-
813
- - `[major]` → major bump
814
- - `[minor]` → minor bump
815
- - `[patch]` or no tag → patch bump
816
-
817
- Beta builds are published automatically to npm on every PR:
818
-
819
- ```bash
820
- npm install -g @mailmodo/cli@beta
821
- ```
822
-
823
- ---
824
-
825
782
  ## License
826
783
 
827
784
  MIT © [Mailmodo](https://github.com/Mailmodo)
@@ -426,13 +426,12 @@
426
426
  "index.js"
427
427
  ]
428
428
  },
429
- "login": {
429
+ "logout": {
430
430
  "aliases": [],
431
431
  "args": {},
432
- "description": "Authenticate with Mailmodo using your API key",
432
+ "description": "Sign out by removing saved credentials from this machine",
433
433
  "examples": [
434
- "<%= config.bin %> login",
435
- "MAILMODO_API_KEY=YOUR_API_KEY <%= config.bin %> login"
434
+ "<%= config.bin %> logout"
436
435
  ],
437
436
  "flags": {
438
437
  "json": {
@@ -451,7 +450,7 @@
451
450
  },
452
451
  "hasDynamicHelp": false,
453
452
  "hiddenAliases": [],
454
- "id": "login",
453
+ "id": "logout",
455
454
  "pluginAlias": "@mailmodo/cli",
456
455
  "pluginName": "@mailmodo/cli",
457
456
  "pluginType": "core",
@@ -461,16 +460,17 @@
461
460
  "relativePath": [
462
461
  "dist",
463
462
  "commands",
464
- "login",
463
+ "logout",
465
464
  "index.js"
466
465
  ]
467
466
  },
468
- "logout": {
467
+ "login": {
469
468
  "aliases": [],
470
469
  "args": {},
471
- "description": "Sign out by removing saved credentials from this machine",
470
+ "description": "Authenticate with Mailmodo using your API key",
472
471
  "examples": [
473
- "<%= config.bin %> logout"
472
+ "<%= config.bin %> login",
473
+ "MAILMODO_API_KEY=YOUR_API_KEY <%= config.bin %> login"
474
474
  ],
475
475
  "flags": {
476
476
  "json": {
@@ -489,7 +489,7 @@
489
489
  },
490
490
  "hasDynamicHelp": false,
491
491
  "hiddenAliases": [],
492
- "id": "logout",
492
+ "id": "login",
493
493
  "pluginAlias": "@mailmodo/cli",
494
494
  "pluginName": "@mailmodo/cli",
495
495
  "pluginType": "core",
@@ -499,7 +499,7 @@
499
499
  "relativePath": [
500
500
  "dist",
501
501
  "commands",
502
- "logout",
502
+ "login",
503
503
  "index.js"
504
504
  ]
505
505
  },
@@ -775,15 +775,14 @@
775
775
  "index.js"
776
776
  ]
777
777
  },
778
- "logs": {
778
+ "settings": {
779
779
  "aliases": [],
780
780
  "args": {},
781
- "description": "View email send logs and delivery events",
781
+ "description": "View and update project settings",
782
782
  "examples": [
783
- "<%= config.bin %> logs",
784
- "<%= config.bin %> logs --email sarah@example.com",
785
- "<%= config.bin %> logs --failed",
786
- "<%= config.bin %> logs --json"
783
+ "<%= config.bin %> settings",
784
+ "<%= config.bin %> settings --set brand_color=#0F3460",
785
+ "<%= config.bin %> settings --json"
787
786
  ],
788
787
  "flags": {
789
788
  "json": {
@@ -799,31 +798,9 @@
799
798
  "allowNo": false,
800
799
  "type": "boolean"
801
800
  },
802
- "email": {
803
- "description": "Filter logs by contact email",
804
- "name": "email",
805
- "hasDynamicHelp": false,
806
- "multiple": false,
807
- "type": "option"
808
- },
809
- "failed": {
810
- "description": "Show only failed/bounced events",
811
- "name": "failed",
812
- "allowNo": false,
813
- "type": "boolean"
814
- },
815
- "limit": {
816
- "description": "Entries per page (max 200)",
817
- "name": "limit",
818
- "default": 50,
819
- "hasDynamicHelp": false,
820
- "multiple": false,
821
- "type": "option"
822
- },
823
- "page": {
824
- "description": "Page number",
825
- "name": "page",
826
- "default": 1,
801
+ "set": {
802
+ "description": "Set a setting (format: key=value)",
803
+ "name": "set",
827
804
  "hasDynamicHelp": false,
828
805
  "multiple": false,
829
806
  "type": "option"
@@ -831,7 +808,7 @@
831
808
  },
832
809
  "hasDynamicHelp": false,
833
810
  "hiddenAliases": [],
834
- "id": "logs",
811
+ "id": "settings",
835
812
  "pluginAlias": "@mailmodo/cli",
836
813
  "pluginName": "@mailmodo/cli",
837
814
  "pluginType": "core",
@@ -841,18 +818,17 @@
841
818
  "relativePath": [
842
819
  "dist",
843
820
  "commands",
844
- "logs",
821
+ "settings",
845
822
  "index.js"
846
823
  ]
847
824
  },
848
- "settings": {
825
+ "status": {
849
826
  "aliases": [],
850
827
  "args": {},
851
- "description": "View and update project settings",
828
+ "description": "View email performance metrics and quota usage",
852
829
  "examples": [
853
- "<%= config.bin %> settings",
854
- "<%= config.bin %> settings --set brand_color=#0F3460",
855
- "<%= config.bin %> settings --json"
830
+ "<%= config.bin %> status",
831
+ "<%= config.bin %> status --json"
856
832
  ],
857
833
  "flags": {
858
834
  "json": {
@@ -867,18 +843,11 @@
867
843
  "name": "yes",
868
844
  "allowNo": false,
869
845
  "type": "boolean"
870
- },
871
- "set": {
872
- "description": "Set a setting (format: key=value)",
873
- "name": "set",
874
- "hasDynamicHelp": false,
875
- "multiple": false,
876
- "type": "option"
877
846
  }
878
847
  },
879
848
  "hasDynamicHelp": false,
880
849
  "hiddenAliases": [],
881
- "id": "settings",
850
+ "id": "status",
882
851
  "pluginAlias": "@mailmodo/cli",
883
852
  "pluginName": "@mailmodo/cli",
884
853
  "pluginType": "core",
@@ -888,17 +857,19 @@
888
857
  "relativePath": [
889
858
  "dist",
890
859
  "commands",
891
- "settings",
860
+ "status",
892
861
  "index.js"
893
862
  ]
894
863
  },
895
- "status": {
864
+ "logs": {
896
865
  "aliases": [],
897
866
  "args": {},
898
- "description": "View email performance metrics and quota usage",
867
+ "description": "View email send logs and delivery events",
899
868
  "examples": [
900
- "<%= config.bin %> status",
901
- "<%= config.bin %> status --json"
869
+ "<%= config.bin %> logs",
870
+ "<%= config.bin %> logs --email sarah@example.com",
871
+ "<%= config.bin %> logs --failed",
872
+ "<%= config.bin %> logs --json"
902
873
  ],
903
874
  "flags": {
904
875
  "json": {
@@ -913,11 +884,40 @@
913
884
  "name": "yes",
914
885
  "allowNo": false,
915
886
  "type": "boolean"
887
+ },
888
+ "email": {
889
+ "description": "Filter logs by contact email",
890
+ "name": "email",
891
+ "hasDynamicHelp": false,
892
+ "multiple": false,
893
+ "type": "option"
894
+ },
895
+ "failed": {
896
+ "description": "Show only failed/bounced events",
897
+ "name": "failed",
898
+ "allowNo": false,
899
+ "type": "boolean"
900
+ },
901
+ "limit": {
902
+ "description": "Entries per page (max 200)",
903
+ "name": "limit",
904
+ "default": 50,
905
+ "hasDynamicHelp": false,
906
+ "multiple": false,
907
+ "type": "option"
908
+ },
909
+ "page": {
910
+ "description": "Page number",
911
+ "name": "page",
912
+ "default": 1,
913
+ "hasDynamicHelp": false,
914
+ "multiple": false,
915
+ "type": "option"
916
916
  }
917
917
  },
918
918
  "hasDynamicHelp": false,
919
919
  "hiddenAliases": [],
920
- "id": "status",
920
+ "id": "logs",
921
921
  "pluginAlias": "@mailmodo/cli",
922
922
  "pluginName": "@mailmodo/cli",
923
923
  "pluginType": "core",
@@ -927,10 +927,10 @@
927
927
  "relativePath": [
928
928
  "dist",
929
929
  "commands",
930
- "status",
930
+ "logs",
931
931
  "index.js"
932
932
  ]
933
933
  }
934
934
  },
935
- "version": "1.0.0"
935
+ "version": "1.0.1"
936
936
  }
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": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"