@sendly/cli 3.13.1 → 3.15.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.
@@ -900,153 +900,6 @@
900
900
  "update.js"
901
901
  ]
902
902
  },
903
- "config:get": {
904
- "aliases": [],
905
- "args": {
906
- "key": {
907
- "description": "Configuration key",
908
- "name": "key",
909
- "options": [
910
- "environment",
911
- "baseUrl",
912
- "defaultFormat",
913
- "colorEnabled"
914
- ],
915
- "required": true
916
- }
917
- },
918
- "description": "Get a configuration value",
919
- "examples": [
920
- "<%= config.bin %> config get environment",
921
- "<%= config.bin %> config get baseUrl"
922
- ],
923
- "flags": {
924
- "json": {
925
- "description": "Output in JSON format",
926
- "name": "json",
927
- "allowNo": false,
928
- "type": "boolean"
929
- },
930
- "quiet": {
931
- "char": "q",
932
- "description": "Minimal output",
933
- "name": "quiet",
934
- "allowNo": false,
935
- "type": "boolean"
936
- }
937
- },
938
- "hasDynamicHelp": false,
939
- "hiddenAliases": [],
940
- "id": "config:get",
941
- "pluginAlias": "@sendly/cli",
942
- "pluginName": "@sendly/cli",
943
- "pluginType": "core",
944
- "strict": true,
945
- "enableJsonFlag": false,
946
- "isESM": true,
947
- "relativePath": [
948
- "dist",
949
- "commands",
950
- "config",
951
- "get.js"
952
- ]
953
- },
954
- "config:list": {
955
- "aliases": [],
956
- "args": {},
957
- "description": "List all configuration values",
958
- "examples": [
959
- "<%= config.bin %> config list",
960
- "<%= config.bin %> config list --json"
961
- ],
962
- "flags": {
963
- "json": {
964
- "description": "Output in JSON format",
965
- "name": "json",
966
- "allowNo": false,
967
- "type": "boolean"
968
- },
969
- "quiet": {
970
- "char": "q",
971
- "description": "Minimal output",
972
- "name": "quiet",
973
- "allowNo": false,
974
- "type": "boolean"
975
- }
976
- },
977
- "hasDynamicHelp": false,
978
- "hiddenAliases": [],
979
- "id": "config:list",
980
- "pluginAlias": "@sendly/cli",
981
- "pluginName": "@sendly/cli",
982
- "pluginType": "core",
983
- "strict": true,
984
- "enableJsonFlag": false,
985
- "isESM": true,
986
- "relativePath": [
987
- "dist",
988
- "commands",
989
- "config",
990
- "list.js"
991
- ]
992
- },
993
- "config:set": {
994
- "aliases": [],
995
- "args": {
996
- "key": {
997
- "description": "Configuration key",
998
- "name": "key",
999
- "options": [
1000
- "environment",
1001
- "baseUrl",
1002
- "defaultFormat",
1003
- "colorEnabled"
1004
- ],
1005
- "required": true
1006
- },
1007
- "value": {
1008
- "description": "Configuration value",
1009
- "name": "value",
1010
- "required": true
1011
- }
1012
- },
1013
- "description": "Set a configuration value",
1014
- "examples": [
1015
- "<%= config.bin %> config set environment live",
1016
- "<%= config.bin %> config set defaultFormat json",
1017
- "<%= config.bin %> config set baseUrl https://api.sendly.live"
1018
- ],
1019
- "flags": {
1020
- "json": {
1021
- "description": "Output in JSON format",
1022
- "name": "json",
1023
- "allowNo": false,
1024
- "type": "boolean"
1025
- },
1026
- "quiet": {
1027
- "char": "q",
1028
- "description": "Minimal output",
1029
- "name": "quiet",
1030
- "allowNo": false,
1031
- "type": "boolean"
1032
- }
1033
- },
1034
- "hasDynamicHelp": false,
1035
- "hiddenAliases": [],
1036
- "id": "config:set",
1037
- "pluginAlias": "@sendly/cli",
1038
- "pluginName": "@sendly/cli",
1039
- "pluginType": "core",
1040
- "strict": true,
1041
- "enableJsonFlag": false,
1042
- "isESM": true,
1043
- "relativePath": [
1044
- "dist",
1045
- "commands",
1046
- "config",
1047
- "set.js"
1048
- ]
1049
- },
1050
903
  "contacts:create": {
1051
904
  "aliases": [],
1052
905
  "args": {},
@@ -1394,6 +1247,153 @@
1394
1247
  "update.js"
1395
1248
  ]
1396
1249
  },
1250
+ "config:get": {
1251
+ "aliases": [],
1252
+ "args": {
1253
+ "key": {
1254
+ "description": "Configuration key",
1255
+ "name": "key",
1256
+ "options": [
1257
+ "environment",
1258
+ "baseUrl",
1259
+ "defaultFormat",
1260
+ "colorEnabled"
1261
+ ],
1262
+ "required": true
1263
+ }
1264
+ },
1265
+ "description": "Get a configuration value",
1266
+ "examples": [
1267
+ "<%= config.bin %> config get environment",
1268
+ "<%= config.bin %> config get baseUrl"
1269
+ ],
1270
+ "flags": {
1271
+ "json": {
1272
+ "description": "Output in JSON format",
1273
+ "name": "json",
1274
+ "allowNo": false,
1275
+ "type": "boolean"
1276
+ },
1277
+ "quiet": {
1278
+ "char": "q",
1279
+ "description": "Minimal output",
1280
+ "name": "quiet",
1281
+ "allowNo": false,
1282
+ "type": "boolean"
1283
+ }
1284
+ },
1285
+ "hasDynamicHelp": false,
1286
+ "hiddenAliases": [],
1287
+ "id": "config:get",
1288
+ "pluginAlias": "@sendly/cli",
1289
+ "pluginName": "@sendly/cli",
1290
+ "pluginType": "core",
1291
+ "strict": true,
1292
+ "enableJsonFlag": false,
1293
+ "isESM": true,
1294
+ "relativePath": [
1295
+ "dist",
1296
+ "commands",
1297
+ "config",
1298
+ "get.js"
1299
+ ]
1300
+ },
1301
+ "config:list": {
1302
+ "aliases": [],
1303
+ "args": {},
1304
+ "description": "List all configuration values",
1305
+ "examples": [
1306
+ "<%= config.bin %> config list",
1307
+ "<%= config.bin %> config list --json"
1308
+ ],
1309
+ "flags": {
1310
+ "json": {
1311
+ "description": "Output in JSON format",
1312
+ "name": "json",
1313
+ "allowNo": false,
1314
+ "type": "boolean"
1315
+ },
1316
+ "quiet": {
1317
+ "char": "q",
1318
+ "description": "Minimal output",
1319
+ "name": "quiet",
1320
+ "allowNo": false,
1321
+ "type": "boolean"
1322
+ }
1323
+ },
1324
+ "hasDynamicHelp": false,
1325
+ "hiddenAliases": [],
1326
+ "id": "config:list",
1327
+ "pluginAlias": "@sendly/cli",
1328
+ "pluginName": "@sendly/cli",
1329
+ "pluginType": "core",
1330
+ "strict": true,
1331
+ "enableJsonFlag": false,
1332
+ "isESM": true,
1333
+ "relativePath": [
1334
+ "dist",
1335
+ "commands",
1336
+ "config",
1337
+ "list.js"
1338
+ ]
1339
+ },
1340
+ "config:set": {
1341
+ "aliases": [],
1342
+ "args": {
1343
+ "key": {
1344
+ "description": "Configuration key",
1345
+ "name": "key",
1346
+ "options": [
1347
+ "environment",
1348
+ "baseUrl",
1349
+ "defaultFormat",
1350
+ "colorEnabled"
1351
+ ],
1352
+ "required": true
1353
+ },
1354
+ "value": {
1355
+ "description": "Configuration value",
1356
+ "name": "value",
1357
+ "required": true
1358
+ }
1359
+ },
1360
+ "description": "Set a configuration value",
1361
+ "examples": [
1362
+ "<%= config.bin %> config set environment live",
1363
+ "<%= config.bin %> config set defaultFormat json",
1364
+ "<%= config.bin %> config set baseUrl https://api.sendly.live"
1365
+ ],
1366
+ "flags": {
1367
+ "json": {
1368
+ "description": "Output in JSON format",
1369
+ "name": "json",
1370
+ "allowNo": false,
1371
+ "type": "boolean"
1372
+ },
1373
+ "quiet": {
1374
+ "char": "q",
1375
+ "description": "Minimal output",
1376
+ "name": "quiet",
1377
+ "allowNo": false,
1378
+ "type": "boolean"
1379
+ }
1380
+ },
1381
+ "hasDynamicHelp": false,
1382
+ "hiddenAliases": [],
1383
+ "id": "config:set",
1384
+ "pluginAlias": "@sendly/cli",
1385
+ "pluginName": "@sendly/cli",
1386
+ "pluginType": "core",
1387
+ "strict": true,
1388
+ "enableJsonFlag": false,
1389
+ "isESM": true,
1390
+ "relativePath": [
1391
+ "dist",
1392
+ "commands",
1393
+ "config",
1394
+ "set.js"
1395
+ ]
1396
+ },
1397
1397
  "credits:balance": {
1398
1398
  "aliases": [],
1399
1399
  "args": {},
@@ -2420,6 +2420,278 @@
2420
2420
  "send.js"
2421
2421
  ]
2422
2422
  },
2423
+ "teams:create": {
2424
+ "aliases": [],
2425
+ "args": {},
2426
+ "description": "Create a new team",
2427
+ "examples": [
2428
+ "<%= config.bin %> teams create --name \"Acme Corp\"",
2429
+ "<%= config.bin %> teams create --name \"Acme Corp\" --description \"Our main team\""
2430
+ ],
2431
+ "flags": {
2432
+ "json": {
2433
+ "description": "Output in JSON format",
2434
+ "name": "json",
2435
+ "allowNo": false,
2436
+ "type": "boolean"
2437
+ },
2438
+ "quiet": {
2439
+ "char": "q",
2440
+ "description": "Minimal output",
2441
+ "name": "quiet",
2442
+ "allowNo": false,
2443
+ "type": "boolean"
2444
+ },
2445
+ "name": {
2446
+ "char": "n",
2447
+ "description": "Team name",
2448
+ "name": "name",
2449
+ "required": true,
2450
+ "hasDynamicHelp": false,
2451
+ "multiple": false,
2452
+ "type": "option"
2453
+ },
2454
+ "description": {
2455
+ "char": "d",
2456
+ "description": "Team description",
2457
+ "name": "description",
2458
+ "hasDynamicHelp": false,
2459
+ "multiple": false,
2460
+ "type": "option"
2461
+ }
2462
+ },
2463
+ "hasDynamicHelp": false,
2464
+ "hiddenAliases": [],
2465
+ "id": "teams:create",
2466
+ "pluginAlias": "@sendly/cli",
2467
+ "pluginName": "@sendly/cli",
2468
+ "pluginType": "core",
2469
+ "strict": true,
2470
+ "isESM": true,
2471
+ "relativePath": [
2472
+ "dist",
2473
+ "commands",
2474
+ "teams",
2475
+ "create.js"
2476
+ ]
2477
+ },
2478
+ "teams:current": {
2479
+ "aliases": [],
2480
+ "args": {},
2481
+ "description": "Show the currently active team",
2482
+ "examples": [
2483
+ "<%= config.bin %> teams current",
2484
+ "<%= config.bin %> teams current --json"
2485
+ ],
2486
+ "flags": {
2487
+ "json": {
2488
+ "description": "Output in JSON format",
2489
+ "name": "json",
2490
+ "allowNo": false,
2491
+ "type": "boolean"
2492
+ },
2493
+ "quiet": {
2494
+ "char": "q",
2495
+ "description": "Minimal output",
2496
+ "name": "quiet",
2497
+ "allowNo": false,
2498
+ "type": "boolean"
2499
+ }
2500
+ },
2501
+ "hasDynamicHelp": false,
2502
+ "hiddenAliases": [],
2503
+ "id": "teams:current",
2504
+ "pluginAlias": "@sendly/cli",
2505
+ "pluginName": "@sendly/cli",
2506
+ "pluginType": "core",
2507
+ "strict": true,
2508
+ "isESM": true,
2509
+ "relativePath": [
2510
+ "dist",
2511
+ "commands",
2512
+ "teams",
2513
+ "current.js"
2514
+ ]
2515
+ },
2516
+ "teams:invite": {
2517
+ "aliases": [],
2518
+ "args": {
2519
+ "email": {
2520
+ "description": "Email address to invite",
2521
+ "name": "email",
2522
+ "required": true
2523
+ }
2524
+ },
2525
+ "description": "Invite a member to the current team",
2526
+ "examples": [
2527
+ "<%= config.bin %> teams invite user@example.com",
2528
+ "<%= config.bin %> teams invite user@example.com --role admin"
2529
+ ],
2530
+ "flags": {
2531
+ "json": {
2532
+ "description": "Output in JSON format",
2533
+ "name": "json",
2534
+ "allowNo": false,
2535
+ "type": "boolean"
2536
+ },
2537
+ "quiet": {
2538
+ "char": "q",
2539
+ "description": "Minimal output",
2540
+ "name": "quiet",
2541
+ "allowNo": false,
2542
+ "type": "boolean"
2543
+ },
2544
+ "role": {
2545
+ "char": "r",
2546
+ "description": "Role to assign (admin, member, viewer)",
2547
+ "name": "role",
2548
+ "default": "member",
2549
+ "hasDynamicHelp": false,
2550
+ "multiple": false,
2551
+ "options": [
2552
+ "admin",
2553
+ "member",
2554
+ "viewer"
2555
+ ],
2556
+ "type": "option"
2557
+ }
2558
+ },
2559
+ "hasDynamicHelp": false,
2560
+ "hiddenAliases": [],
2561
+ "id": "teams:invite",
2562
+ "pluginAlias": "@sendly/cli",
2563
+ "pluginName": "@sendly/cli",
2564
+ "pluginType": "core",
2565
+ "strict": true,
2566
+ "isESM": true,
2567
+ "relativePath": [
2568
+ "dist",
2569
+ "commands",
2570
+ "teams",
2571
+ "invite.js"
2572
+ ]
2573
+ },
2574
+ "teams:list": {
2575
+ "aliases": [],
2576
+ "args": {},
2577
+ "description": "List your teams",
2578
+ "examples": [
2579
+ "<%= config.bin %> teams list",
2580
+ "<%= config.bin %> teams list --json"
2581
+ ],
2582
+ "flags": {
2583
+ "json": {
2584
+ "description": "Output in JSON format",
2585
+ "name": "json",
2586
+ "allowNo": false,
2587
+ "type": "boolean"
2588
+ },
2589
+ "quiet": {
2590
+ "char": "q",
2591
+ "description": "Minimal output",
2592
+ "name": "quiet",
2593
+ "allowNo": false,
2594
+ "type": "boolean"
2595
+ }
2596
+ },
2597
+ "hasDynamicHelp": false,
2598
+ "hiddenAliases": [],
2599
+ "id": "teams:list",
2600
+ "pluginAlias": "@sendly/cli",
2601
+ "pluginName": "@sendly/cli",
2602
+ "pluginType": "core",
2603
+ "strict": true,
2604
+ "isESM": true,
2605
+ "relativePath": [
2606
+ "dist",
2607
+ "commands",
2608
+ "teams",
2609
+ "list.js"
2610
+ ]
2611
+ },
2612
+ "teams:members": {
2613
+ "aliases": [],
2614
+ "args": {},
2615
+ "description": "List members of the current team",
2616
+ "examples": [
2617
+ "<%= config.bin %> teams members",
2618
+ "<%= config.bin %> teams members --json"
2619
+ ],
2620
+ "flags": {
2621
+ "json": {
2622
+ "description": "Output in JSON format",
2623
+ "name": "json",
2624
+ "allowNo": false,
2625
+ "type": "boolean"
2626
+ },
2627
+ "quiet": {
2628
+ "char": "q",
2629
+ "description": "Minimal output",
2630
+ "name": "quiet",
2631
+ "allowNo": false,
2632
+ "type": "boolean"
2633
+ }
2634
+ },
2635
+ "hasDynamicHelp": false,
2636
+ "hiddenAliases": [],
2637
+ "id": "teams:members",
2638
+ "pluginAlias": "@sendly/cli",
2639
+ "pluginName": "@sendly/cli",
2640
+ "pluginType": "core",
2641
+ "strict": true,
2642
+ "isESM": true,
2643
+ "relativePath": [
2644
+ "dist",
2645
+ "commands",
2646
+ "teams",
2647
+ "members.js"
2648
+ ]
2649
+ },
2650
+ "teams:switch": {
2651
+ "aliases": [],
2652
+ "args": {
2653
+ "org": {
2654
+ "description": "Organization ID or slug to switch to",
2655
+ "name": "org",
2656
+ "required": false
2657
+ }
2658
+ },
2659
+ "description": "Switch the active team",
2660
+ "examples": [
2661
+ "<%= config.bin %> teams switch",
2662
+ "<%= config.bin %> teams switch <org-id-or-slug>",
2663
+ "<%= config.bin %> teams switch --clear"
2664
+ ],
2665
+ "flags": {
2666
+ "json": {
2667
+ "description": "Output in JSON format",
2668
+ "name": "json",
2669
+ "allowNo": false,
2670
+ "type": "boolean"
2671
+ },
2672
+ "quiet": {
2673
+ "char": "q",
2674
+ "description": "Minimal output",
2675
+ "name": "quiet",
2676
+ "allowNo": false,
2677
+ "type": "boolean"
2678
+ }
2679
+ },
2680
+ "hasDynamicHelp": false,
2681
+ "hiddenAliases": [],
2682
+ "id": "teams:switch",
2683
+ "pluginAlias": "@sendly/cli",
2684
+ "pluginName": "@sendly/cli",
2685
+ "pluginType": "core",
2686
+ "strict": true,
2687
+ "isESM": true,
2688
+ "relativePath": [
2689
+ "dist",
2690
+ "commands",
2691
+ "teams",
2692
+ "switch.js"
2693
+ ]
2694
+ },
2423
2695
  "templates:clone": {
2424
2696
  "aliases": [],
2425
2697
  "args": {
@@ -3919,5 +4191,5 @@
3919
4191
  ]
3920
4192
  }
3921
4193
  },
3922
- "version": "3.13.1"
4194
+ "version": "3.15.0"
3923
4195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendly/cli",
3
- "version": "3.13.1",
3
+ "version": "3.15.0",
4
4
  "type": "module",
5
5
  "description": "Sendly CLI - Send SMS from your terminal",
6
6
  "author": "Sendly <support@sendly.live>",
@@ -52,6 +52,9 @@
52
52
  },
53
53
  "config": {
54
54
  "description": "Manage CLI configuration"
55
+ },
56
+ "teams": {
57
+ "description": "Manage teams and organizations"
55
58
  }
56
59
  }
57
60
  },