@sendly/cli 3.3.2 → 3.5.0

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.
@@ -219,7 +219,7 @@
219
219
  "status": {
220
220
  "aliases": [],
221
221
  "args": {},
222
- "description": "Show account status dashboard with credits, usage, and health",
222
+ "description": "Show account status dashboard with credits, usage, and capabilities",
223
223
  "examples": [
224
224
  "<%= config.bin %> status",
225
225
  "<%= config.bin %> status --json"
@@ -682,18 +682,81 @@
682
682
  "revoke.js"
683
683
  ]
684
684
  },
685
+ "logs:tail": {
686
+ "aliases": [],
687
+ "args": {},
688
+ "description": "Tail logs in real-time (like stripe logs tail)",
689
+ "examples": [
690
+ "<%= config.bin %> logs tail",
691
+ "<%= config.bin %> logs tail --status failed",
692
+ "<%= config.bin %> logs tail --since 1h"
693
+ ],
694
+ "flags": {
695
+ "json": {
696
+ "description": "Output in JSON format",
697
+ "name": "json",
698
+ "allowNo": false,
699
+ "type": "boolean"
700
+ },
701
+ "quiet": {
702
+ "char": "q",
703
+ "description": "Minimal output",
704
+ "name": "quiet",
705
+ "allowNo": false,
706
+ "type": "boolean"
707
+ },
708
+ "status": {
709
+ "char": "s",
710
+ "description": "Filter by status (sent, delivered, failed)",
711
+ "name": "status",
712
+ "hasDynamicHelp": false,
713
+ "multiple": false,
714
+ "type": "option"
715
+ },
716
+ "since": {
717
+ "description": "Show logs since (e.g., 1h, 30m, 1d)",
718
+ "name": "since",
719
+ "default": "1h",
720
+ "hasDynamicHelp": false,
721
+ "multiple": false,
722
+ "type": "option"
723
+ },
724
+ "type": {
725
+ "char": "t",
726
+ "description": "Filter by type (message, api_call, webhook)",
727
+ "name": "type",
728
+ "hasDynamicHelp": false,
729
+ "multiple": false,
730
+ "type": "option"
731
+ }
732
+ },
733
+ "hasDynamicHelp": false,
734
+ "hiddenAliases": [],
735
+ "id": "logs:tail",
736
+ "pluginAlias": "@sendly/cli",
737
+ "pluginName": "@sendly/cli",
738
+ "pluginType": "core",
739
+ "strict": true,
740
+ "isESM": true,
741
+ "relativePath": [
742
+ "dist",
743
+ "commands",
744
+ "logs",
745
+ "tail.js"
746
+ ]
747
+ },
685
748
  "sms:batch": {
686
749
  "aliases": [],
687
750
  "args": {},
688
- "description": "Send batch SMS messages",
751
+ "description": "Send batch SMS messages (uploads CSV to cloud for audit trail)",
689
752
  "examples": [
690
- "<%= config.bin %> sms batch --file recipients.json",
691
- "<%= config.bin %> sms batch --to +15551234567,+15559876543 --text \"Hello everyone!\"",
692
- "<%= config.bin %> sms batch --file phones.csv --text \"Your order is ready!\"",
693
- "<%= config.bin %> sms batch --file recipients.csv --from \"Sendly\"",
694
- "<%= config.bin %> sms batch --file messages.json --json",
695
- "<%= config.bin %> sms batch --file phones.csv --text \"Hi\" --dry-run",
696
- "<%= config.bin %> sms batch --file phones.csv --text \"Your code: 123\" --type transactional"
753
+ "<%= config.bin %> sms batch --file recipients.csv",
754
+ "<%= config.bin %> sms batch --file phones.csv --text \"Hello everyone!\"",
755
+ "<%= config.bin %> sms batch --to +15551234567,+15559876543 --text \"Hello!\"",
756
+ "<%= config.bin %> sms batch --file recipients.csv --dry-run",
757
+ "<%= config.bin %> sms batch --file phones.csv --text \"Code: 123\" --type transactional",
758
+ "<%= config.bin %> sms batch --reuse abc123-def456",
759
+ "<%= config.bin %> sms batch --history"
697
760
  ],
698
761
  "flags": {
699
762
  "json": {
@@ -711,9 +774,11 @@
711
774
  },
712
775
  "file": {
713
776
  "char": "F",
714
- "description": "JSON file with messages array [{to, text}, ...]",
777
+ "description": "CSV file with phone numbers (and optional message text)",
715
778
  "exclusive": [
716
- "to"
779
+ "to",
780
+ "reuse",
781
+ "history"
717
782
  ],
718
783
  "name": "file",
719
784
  "hasDynamicHelp": false,
@@ -724,7 +789,9 @@
724
789
  "char": "t",
725
790
  "description": "Comma-separated recipient phone numbers (E.164 format)",
726
791
  "exclusive": [
727
- "file"
792
+ "file",
793
+ "reuse",
794
+ "history"
728
795
  ],
729
796
  "name": "to",
730
797
  "hasDynamicHelp": false,
@@ -733,7 +800,7 @@
733
800
  },
734
801
  "text": {
735
802
  "char": "m",
736
- "description": "Message text (works with --to or --file for phone-only lists)",
803
+ "description": "Message text (required with --to, optional with --file if CSV has text column)",
737
804
  "name": "text",
738
805
  "hasDynamicHelp": false,
739
806
  "multiple": false,
@@ -765,6 +832,29 @@
765
832
  "name": "dry-run",
766
833
  "allowNo": false,
767
834
  "type": "boolean"
835
+ },
836
+ "reuse": {
837
+ "description": "Re-use a previous batch upload by ID (see --history)",
838
+ "exclusive": [
839
+ "file",
840
+ "to",
841
+ "history"
842
+ ],
843
+ "name": "reuse",
844
+ "hasDynamicHelp": false,
845
+ "multiple": false,
846
+ "type": "option"
847
+ },
848
+ "history": {
849
+ "description": "Show recent batch upload history",
850
+ "exclusive": [
851
+ "file",
852
+ "to",
853
+ "reuse"
854
+ ],
855
+ "name": "history",
856
+ "allowNo": false,
857
+ "type": "boolean"
768
858
  }
769
859
  },
770
860
  "hasDynamicHelp": false,
@@ -1172,69 +1262,6 @@
1172
1262
  "send.js"
1173
1263
  ]
1174
1264
  },
1175
- "logs:tail": {
1176
- "aliases": [],
1177
- "args": {},
1178
- "description": "Tail logs in real-time (like stripe logs tail)",
1179
- "examples": [
1180
- "<%= config.bin %> logs tail",
1181
- "<%= config.bin %> logs tail --status failed",
1182
- "<%= config.bin %> logs tail --since 1h"
1183
- ],
1184
- "flags": {
1185
- "json": {
1186
- "description": "Output in JSON format",
1187
- "name": "json",
1188
- "allowNo": false,
1189
- "type": "boolean"
1190
- },
1191
- "quiet": {
1192
- "char": "q",
1193
- "description": "Minimal output",
1194
- "name": "quiet",
1195
- "allowNo": false,
1196
- "type": "boolean"
1197
- },
1198
- "status": {
1199
- "char": "s",
1200
- "description": "Filter by status (sent, delivered, failed)",
1201
- "name": "status",
1202
- "hasDynamicHelp": false,
1203
- "multiple": false,
1204
- "type": "option"
1205
- },
1206
- "since": {
1207
- "description": "Show logs since (e.g., 1h, 30m, 1d)",
1208
- "name": "since",
1209
- "default": "1h",
1210
- "hasDynamicHelp": false,
1211
- "multiple": false,
1212
- "type": "option"
1213
- },
1214
- "type": {
1215
- "char": "t",
1216
- "description": "Filter by type (message, api_call, webhook)",
1217
- "name": "type",
1218
- "hasDynamicHelp": false,
1219
- "multiple": false,
1220
- "type": "option"
1221
- }
1222
- },
1223
- "hasDynamicHelp": false,
1224
- "hiddenAliases": [],
1225
- "id": "logs:tail",
1226
- "pluginAlias": "@sendly/cli",
1227
- "pluginName": "@sendly/cli",
1228
- "pluginType": "core",
1229
- "strict": true,
1230
- "isESM": true,
1231
- "relativePath": [
1232
- "dist",
1233
- "commands",
1234
- "logs",
1235
- "tail.js"
1236
- ]
1237
- },
1238
1265
  "webhooks:create": {
1239
1266
  "aliases": [],
1240
1267
  "args": {},
@@ -1762,5 +1789,5 @@
1762
1789
  ]
1763
1790
  }
1764
1791
  },
1765
- "version": "3.3.2"
1792
+ "version": "3.5.0"
1766
1793
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendly/cli",
3
- "version": "3.3.2",
3
+ "version": "3.5.0",
4
4
  "type": "module",
5
5
  "description": "Sendly CLI - Send SMS from your terminal",
6
6
  "author": "Sendly <support@sendly.live>",
@@ -34,8 +34,7 @@
34
34
  "command_not_found": "./dist/hooks/command-not-found"
35
35
  },
36
36
  "plugins": [
37
- "@oclif/plugin-help",
38
- "@oclif/plugin-plugins"
37
+ "@oclif/plugin-help"
39
38
  ],
40
39
  "topicSeparator": " ",
41
40
  "topics": {
@@ -59,7 +58,6 @@
59
58
  "dependencies": {
60
59
  "@oclif/core": "^3.27.0",
61
60
  "@oclif/plugin-help": "^6.2.0",
62
- "@oclif/plugin-plugins": "^5.3.0",
63
61
  "chalk": "^5.3.0",
64
62
  "cli-table3": "^0.6.5",
65
63
  "conf": "^12.0.0",