@routr/ctl 2.0.8-alpha.24 → 2.0.8-alpha.27

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.
Files changed (39) hide show
  1. package/README.md +170 -51
  2. package/dist/base.d.ts +0 -1
  3. package/dist/base.js +0 -4
  4. package/dist/commands/acl/describe.d.ts +10 -0
  5. package/dist/commands/acl/describe.js +62 -0
  6. package/dist/commands/acl/get.d.ts +1 -0
  7. package/dist/commands/acl/get.js +4 -19
  8. package/dist/commands/agents/create.js +3 -8
  9. package/dist/commands/agents/describe.d.ts +10 -0
  10. package/dist/commands/agents/describe.js +72 -0
  11. package/dist/commands/agents/get.d.ts +1 -0
  12. package/dist/commands/agents/get.js +4 -26
  13. package/dist/commands/agents/update.js +4 -9
  14. package/dist/commands/credentials/describe.d.ts +10 -0
  15. package/dist/commands/credentials/describe.js +61 -0
  16. package/dist/commands/credentials/get.d.ts +1 -0
  17. package/dist/commands/credentials/get.js +5 -20
  18. package/dist/commands/domains/describe.d.ts +10 -0
  19. package/dist/commands/domains/describe.js +78 -0
  20. package/dist/commands/domains/get.d.ts +1 -0
  21. package/dist/commands/domains/get.js +4 -24
  22. package/dist/commands/numbers/describe.d.ts +10 -0
  23. package/dist/commands/numbers/describe.js +72 -0
  24. package/dist/commands/numbers/get.d.ts +1 -0
  25. package/dist/commands/numbers/get.js +4 -24
  26. package/dist/commands/peers/create.js +6 -0
  27. package/dist/commands/peers/describe.d.ts +10 -0
  28. package/dist/commands/peers/describe.js +80 -0
  29. package/dist/commands/peers/get.d.ts +1 -0
  30. package/dist/commands/peers/get.js +6 -43
  31. package/dist/commands/peers/update.js +6 -0
  32. package/dist/commands/trunks/create.js +15 -11
  33. package/dist/commands/trunks/describe.d.ts +10 -0
  34. package/dist/commands/trunks/describe.js +85 -0
  35. package/dist/commands/trunks/get.d.ts +1 -0
  36. package/dist/commands/trunks/get.js +6 -33
  37. package/dist/commands/trunks/update.js +15 -11
  38. package/oclif.manifest.json +267 -183
  39. package/package.json +8 -5
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.8-alpha.24",
2
+ "version": "2.0.8-alpha.27",
3
3
  "commands": {
4
4
  "acl:create": {
5
5
  "id": "acl:create",
@@ -13,13 +13,6 @@
13
13
  "<%= config.bin %> <%= command.id %>\nCreating ACL US Eeast... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
14
14
  ],
15
15
  "flags": {
16
- "extended": {
17
- "name": "extended",
18
- "type": "boolean",
19
- "char": "x",
20
- "description": "extended output format",
21
- "allowNo": false
22
- },
23
16
  "insecure": {
24
17
  "name": "insecure",
25
18
  "type": "boolean",
@@ -50,13 +43,37 @@
50
43
  "<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
51
44
  ],
52
45
  "flags": {
53
- "extended": {
54
- "name": "extended",
46
+ "insecure": {
47
+ "name": "insecure",
55
48
  "type": "boolean",
56
- "char": "x",
57
- "description": "extended output format",
49
+ "char": "i",
50
+ "description": "allow insecure connections to the routr server",
58
51
  "allowNo": false
59
52
  },
53
+ "endpoint": {
54
+ "name": "endpoint",
55
+ "type": "option",
56
+ "char": "e",
57
+ "description": "endpoint to connect to the routr server",
58
+ "multiple": false,
59
+ "default": "localhost:51907"
60
+ }
61
+ },
62
+ "args": {
63
+ "ref": {
64
+ "name": "ref"
65
+ }
66
+ }
67
+ },
68
+ "acl:describe": {
69
+ "id": "acl:describe",
70
+ "description": "shows details of an ACL",
71
+ "strict": true,
72
+ "pluginName": "@routr/ctl",
73
+ "pluginAlias": "@routr/ctl",
74
+ "pluginType": "core",
75
+ "aliases": [],
76
+ "flags": {
60
77
  "insecure": {
61
78
  "name": "insecure",
62
79
  "type": "boolean",
@@ -75,7 +92,9 @@
75
92
  },
76
93
  "args": {
77
94
  "ref": {
78
- "name": "ref"
95
+ "name": "ref",
96
+ "description": "reference to the ACL",
97
+ "required": false
79
98
  }
80
99
  }
81
100
  },
@@ -91,13 +110,6 @@
91
110
  "<%= config.bin %> <%= command.id %>\nRef Name Deny List Allow List\n9e7a88f0-8390-42f5-a2cb-689583ba9f4f Local Network ACL 0.0.0.0/0 10.0.0.28 \n"
92
111
  ],
93
112
  "flags": {
94
- "extended": {
95
- "name": "extended",
96
- "type": "boolean",
97
- "char": "x",
98
- "description": "extended output format",
99
- "allowNo": false
100
- },
101
113
  "insecure": {
102
114
  "name": "insecure",
103
115
  "type": "boolean",
@@ -120,6 +132,13 @@
120
132
  "description": "the number of items to return",
121
133
  "multiple": false,
122
134
  "default": 50
135
+ },
136
+ "extended": {
137
+ "name": "extended",
138
+ "type": "boolean",
139
+ "char": "x",
140
+ "description": "extended output format",
141
+ "allowNo": false
123
142
  }
124
143
  },
125
144
  "args": {
@@ -142,13 +161,6 @@
142
161
  "<%= config.bin %> <%= command.id %>\nUpdating ACL US East... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
143
162
  ],
144
163
  "flags": {
145
- "extended": {
146
- "name": "extended",
147
- "type": "boolean",
148
- "char": "x",
149
- "description": "extended output format",
150
- "allowNo": false
151
- },
152
164
  "insecure": {
153
165
  "name": "insecure",
154
166
  "type": "boolean",
@@ -185,13 +197,6 @@
185
197
  "<%= config.bin %> <%= command.id %>\nCreating Agent Jhon Doe... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
186
198
  ],
187
199
  "flags": {
188
- "extended": {
189
- "name": "extended",
190
- "type": "boolean",
191
- "char": "x",
192
- "description": "extended output format",
193
- "allowNo": false
194
- },
195
200
  "insecure": {
196
201
  "name": "insecure",
197
202
  "type": "boolean",
@@ -222,13 +227,37 @@
222
227
  "<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
223
228
  ],
224
229
  "flags": {
225
- "extended": {
226
- "name": "extended",
230
+ "insecure": {
231
+ "name": "insecure",
227
232
  "type": "boolean",
228
- "char": "x",
229
- "description": "extended output format",
233
+ "char": "i",
234
+ "description": "allow insecure connections to the routr server",
230
235
  "allowNo": false
231
236
  },
237
+ "endpoint": {
238
+ "name": "endpoint",
239
+ "type": "option",
240
+ "char": "e",
241
+ "description": "endpoint to connect to the routr server",
242
+ "multiple": false,
243
+ "default": "localhost:51907"
244
+ }
245
+ },
246
+ "args": {
247
+ "ref": {
248
+ "name": "ref"
249
+ }
250
+ }
251
+ },
252
+ "agents:describe": {
253
+ "id": "agents:describe",
254
+ "description": "shows details of an Agent",
255
+ "strict": true,
256
+ "pluginName": "@routr/ctl",
257
+ "pluginAlias": "@routr/ctl",
258
+ "pluginType": "core",
259
+ "aliases": [],
260
+ "flags": {
232
261
  "insecure": {
233
262
  "name": "insecure",
234
263
  "type": "boolean",
@@ -247,7 +276,9 @@
247
276
  },
248
277
  "args": {
249
278
  "ref": {
250
- "name": "ref"
279
+ "name": "ref",
280
+ "description": "reference to the Agent",
281
+ "required": false
251
282
  }
252
283
  }
253
284
  },
@@ -263,13 +294,6 @@
263
294
  "<%= config.bin %> <%= command.id %>\nRef Name Username Domain Privacy Enabled\nd31f5fb8-e367-42f7-9884-1a7999f53fe8 John Doe jdoe sip.local PRIVATE Yes\n"
264
295
  ],
265
296
  "flags": {
266
- "extended": {
267
- "name": "extended",
268
- "type": "boolean",
269
- "char": "x",
270
- "description": "extended output format",
271
- "allowNo": false
272
- },
273
297
  "insecure": {
274
298
  "name": "insecure",
275
299
  "type": "boolean",
@@ -292,6 +316,13 @@
292
316
  "description": "The number of items to return",
293
317
  "multiple": false,
294
318
  "default": 50
319
+ },
320
+ "extended": {
321
+ "name": "extended",
322
+ "type": "boolean",
323
+ "char": "x",
324
+ "description": "extended output format",
325
+ "allowNo": false
295
326
  }
296
327
  },
297
328
  "args": {
@@ -314,13 +345,6 @@
314
345
  "<%= config.bin %> <%= command.id %>\nUpdating Agent John Doe... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
315
346
  ],
316
347
  "flags": {
317
- "extended": {
318
- "name": "extended",
319
- "type": "boolean",
320
- "char": "x",
321
- "description": "extended output format",
322
- "allowNo": false
323
- },
324
348
  "insecure": {
325
349
  "name": "insecure",
326
350
  "type": "boolean",
@@ -357,13 +381,6 @@
357
381
  "<%= config.bin %> <%= command.id %>\nCreating Credentials JDoe Access... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
358
382
  ],
359
383
  "flags": {
360
- "extended": {
361
- "name": "extended",
362
- "type": "boolean",
363
- "char": "x",
364
- "description": "extended output format",
365
- "allowNo": false
366
- },
367
384
  "insecure": {
368
385
  "name": "insecure",
369
386
  "type": "boolean",
@@ -394,13 +411,37 @@
394
411
  "<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
395
412
  ],
396
413
  "flags": {
397
- "extended": {
398
- "name": "extended",
414
+ "insecure": {
415
+ "name": "insecure",
399
416
  "type": "boolean",
400
- "char": "x",
401
- "description": "extended output format",
417
+ "char": "i",
418
+ "description": "allow insecure connections to the routr server",
402
419
  "allowNo": false
403
420
  },
421
+ "endpoint": {
422
+ "name": "endpoint",
423
+ "type": "option",
424
+ "char": "e",
425
+ "description": "endpoint to connect to the routr server",
426
+ "multiple": false,
427
+ "default": "localhost:51907"
428
+ }
429
+ },
430
+ "args": {
431
+ "ref": {
432
+ "name": "ref"
433
+ }
434
+ }
435
+ },
436
+ "credentials:describe": {
437
+ "id": "credentials:describe",
438
+ "description": "shows details for a set of Credentials",
439
+ "strict": true,
440
+ "pluginName": "@routr/ctl",
441
+ "pluginAlias": "@routr/ctl",
442
+ "pluginType": "core",
443
+ "aliases": [],
444
+ "flags": {
404
445
  "insecure": {
405
446
  "name": "insecure",
406
447
  "type": "boolean",
@@ -419,7 +460,9 @@
419
460
  },
420
461
  "args": {
421
462
  "ref": {
422
- "name": "ref"
463
+ "name": "ref",
464
+ "description": "reference to the set of Credentials",
465
+ "required": false
423
466
  }
424
467
  }
425
468
  },
@@ -435,13 +478,6 @@
435
478
  "<%= config.bin %> <%= command.id %>\nRef Name Deny List Allow List\n80181ca6-d4aa-4575-9375-8f72b07d6666 Europe ACL 0.0.0.0/0 10.0.0.25 \n"
436
479
  ],
437
480
  "flags": {
438
- "extended": {
439
- "name": "extended",
440
- "type": "boolean",
441
- "char": "x",
442
- "description": "extended output format",
443
- "allowNo": false
444
- },
445
481
  "insecure": {
446
482
  "name": "insecure",
447
483
  "type": "boolean",
@@ -464,6 +500,13 @@
464
500
  "description": "the number of items to return",
465
501
  "multiple": false,
466
502
  "default": 50
503
+ },
504
+ "extended": {
505
+ "name": "extended",
506
+ "type": "boolean",
507
+ "char": "x",
508
+ "description": "extended output format",
509
+ "allowNo": false
467
510
  }
468
511
  },
469
512
  "args": {
@@ -486,13 +529,6 @@
486
529
  "<%= config.bin %> <%= command.id %>\nUpdating Credentials JDoe Credentials... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
487
530
  ],
488
531
  "flags": {
489
- "extended": {
490
- "name": "extended",
491
- "type": "boolean",
492
- "char": "x",
493
- "description": "extended output format",
494
- "allowNo": false
495
- },
496
532
  "insecure": {
497
533
  "name": "insecure",
498
534
  "type": "boolean",
@@ -529,13 +565,6 @@
529
565
  "<%= config.bin %> <%= command.id %>\nCreating Domain Local Domain... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
530
566
  ],
531
567
  "flags": {
532
- "extended": {
533
- "name": "extended",
534
- "type": "boolean",
535
- "char": "x",
536
- "description": "extended output format",
537
- "allowNo": false
538
- },
539
568
  "insecure": {
540
569
  "name": "insecure",
541
570
  "type": "boolean",
@@ -566,13 +595,37 @@
566
595
  "<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
567
596
  ],
568
597
  "flags": {
569
- "extended": {
570
- "name": "extended",
598
+ "insecure": {
599
+ "name": "insecure",
571
600
  "type": "boolean",
572
- "char": "x",
573
- "description": "extended output format",
601
+ "char": "i",
602
+ "description": "allow insecure connections to the routr server",
574
603
  "allowNo": false
575
604
  },
605
+ "endpoint": {
606
+ "name": "endpoint",
607
+ "type": "option",
608
+ "char": "e",
609
+ "description": "endpoint to connect to the routr server",
610
+ "multiple": false,
611
+ "default": "localhost:51907"
612
+ }
613
+ },
614
+ "args": {
615
+ "ref": {
616
+ "name": "ref"
617
+ }
618
+ }
619
+ },
620
+ "domains:describe": {
621
+ "id": "domains:describe",
622
+ "description": "show details of a Domain",
623
+ "strict": true,
624
+ "pluginName": "@routr/ctl",
625
+ "pluginAlias": "@routr/ctl",
626
+ "pluginType": "core",
627
+ "aliases": [],
628
+ "flags": {
576
629
  "insecure": {
577
630
  "name": "insecure",
578
631
  "type": "boolean",
@@ -591,7 +644,9 @@
591
644
  },
592
645
  "args": {
593
646
  "ref": {
594
- "name": "ref"
647
+ "name": "ref",
648
+ "description": "reference to the Domain",
649
+ "required": false
595
650
  }
596
651
  }
597
652
  },
@@ -607,13 +662,6 @@
607
662
  "<%= config.bin %> <%= command.id %>\nRef Name URI \nab2b6959-f497-4b14-903b-85a7c464b564 Local Domain sip.local\n"
608
663
  ],
609
664
  "flags": {
610
- "extended": {
611
- "name": "extended",
612
- "type": "boolean",
613
- "char": "x",
614
- "description": "extended output format",
615
- "allowNo": false
616
- },
617
665
  "insecure": {
618
666
  "name": "insecure",
619
667
  "type": "boolean",
@@ -636,6 +684,13 @@
636
684
  "description": "the number of items to return",
637
685
  "multiple": false,
638
686
  "default": 50
687
+ },
688
+ "extended": {
689
+ "name": "extended",
690
+ "type": "boolean",
691
+ "char": "x",
692
+ "description": "extended output format",
693
+ "allowNo": false
639
694
  }
640
695
  },
641
696
  "args": {
@@ -658,13 +713,6 @@
658
713
  "<%= config.bin %> <%= command.id %>\nUpdating Domain Local... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
659
714
  ],
660
715
  "flags": {
661
- "extended": {
662
- "name": "extended",
663
- "type": "boolean",
664
- "char": "x",
665
- "description": "extended output format",
666
- "allowNo": false
667
- },
668
716
  "insecure": {
669
717
  "name": "insecure",
670
718
  "type": "boolean",
@@ -701,13 +749,6 @@
701
749
  "<%= config.bin %> <%= command.id %>\nCreating Number (784) 317-8170... a134487f-a668-4509-9ddd-dcbc98175468\n"
702
750
  ],
703
751
  "flags": {
704
- "extended": {
705
- "name": "extended",
706
- "type": "boolean",
707
- "char": "x",
708
- "description": "extended output format",
709
- "allowNo": false
710
- },
711
752
  "insecure": {
712
753
  "name": "insecure",
713
754
  "type": "boolean",
@@ -738,13 +779,37 @@
738
779
  "<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
739
780
  ],
740
781
  "flags": {
741
- "extended": {
742
- "name": "extended",
782
+ "insecure": {
783
+ "name": "insecure",
743
784
  "type": "boolean",
744
- "char": "x",
745
- "description": "extended output format",
785
+ "char": "i",
786
+ "description": "allow insecure connections to the routr server",
746
787
  "allowNo": false
747
788
  },
789
+ "endpoint": {
790
+ "name": "endpoint",
791
+ "type": "option",
792
+ "char": "e",
793
+ "description": "endpoint to connect to the routr server",
794
+ "multiple": false,
795
+ "default": "localhost:51907"
796
+ }
797
+ },
798
+ "args": {
799
+ "ref": {
800
+ "name": "ref"
801
+ }
802
+ }
803
+ },
804
+ "numbers:describe": {
805
+ "id": "numbers:describe",
806
+ "description": "shows details for a Number",
807
+ "strict": true,
808
+ "pluginName": "@routr/ctl",
809
+ "pluginAlias": "@routr/ctl",
810
+ "pluginType": "core",
811
+ "aliases": [],
812
+ "flags": {
748
813
  "insecure": {
749
814
  "name": "insecure",
750
815
  "type": "boolean",
@@ -763,7 +828,9 @@
763
828
  },
764
829
  "args": {
765
830
  "ref": {
766
- "name": "ref"
831
+ "name": "ref",
832
+ "description": "reference to the Number",
833
+ "required": false
767
834
  }
768
835
  }
769
836
  },
@@ -779,13 +846,6 @@
779
846
  "<%= config.bin %> <%= command.id %>\nRef Name Telephony URL AOR Link Geo \na134487f-a668-4509-9ddd-dcbc98175468 (785) 317-8070 +17853178070 sip:1001@sip.local Cameron, USA (US)\n"
780
847
  ],
781
848
  "flags": {
782
- "extended": {
783
- "name": "extended",
784
- "type": "boolean",
785
- "char": "x",
786
- "description": "extended output format",
787
- "allowNo": false
788
- },
789
849
  "insecure": {
790
850
  "name": "insecure",
791
851
  "type": "boolean",
@@ -808,6 +868,13 @@
808
868
  "description": "the number of items to return",
809
869
  "multiple": false,
810
870
  "default": 50
871
+ },
872
+ "extended": {
873
+ "name": "extended",
874
+ "type": "boolean",
875
+ "char": "x",
876
+ "description": "extended output format",
877
+ "allowNo": false
811
878
  }
812
879
  },
813
880
  "args": {
@@ -830,13 +897,6 @@
830
897
  "<%= config.bin %> <%= command.id %>\nUpdating Number (785) 317-8070... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
831
898
  ],
832
899
  "flags": {
833
- "extended": {
834
- "name": "extended",
835
- "type": "boolean",
836
- "char": "x",
837
- "description": "extended output format",
838
- "allowNo": false
839
- },
840
900
  "insecure": {
841
901
  "name": "insecure",
842
902
  "type": "boolean",
@@ -873,13 +933,6 @@
873
933
  "<%= config.bin %> <%= command.id %>\nCreating Peer Asterisk Conference... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
874
934
  ],
875
935
  "flags": {
876
- "extended": {
877
- "name": "extended",
878
- "type": "boolean",
879
- "char": "x",
880
- "description": "extended output format",
881
- "allowNo": false
882
- },
883
936
  "insecure": {
884
937
  "name": "insecure",
885
938
  "type": "boolean",
@@ -910,13 +963,37 @@
910
963
  "<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
911
964
  ],
912
965
  "flags": {
913
- "extended": {
914
- "name": "extended",
966
+ "insecure": {
967
+ "name": "insecure",
915
968
  "type": "boolean",
916
- "char": "x",
917
- "description": "extended output format",
969
+ "char": "i",
970
+ "description": "allow insecure connections to the routr server",
918
971
  "allowNo": false
919
972
  },
973
+ "endpoint": {
974
+ "name": "endpoint",
975
+ "type": "option",
976
+ "char": "e",
977
+ "description": "endpoint to connect to the routr server",
978
+ "multiple": false,
979
+ "default": "localhost:51907"
980
+ }
981
+ },
982
+ "args": {
983
+ "ref": {
984
+ "name": "ref"
985
+ }
986
+ }
987
+ },
988
+ "peers:describe": {
989
+ "id": "peers:describe",
990
+ "description": "shows details for a Peer",
991
+ "strict": true,
992
+ "pluginName": "@routr/ctl",
993
+ "pluginAlias": "@routr/ctl",
994
+ "pluginType": "core",
995
+ "aliases": [],
996
+ "flags": {
920
997
  "insecure": {
921
998
  "name": "insecure",
922
999
  "type": "boolean",
@@ -935,7 +1012,9 @@
935
1012
  },
936
1013
  "args": {
937
1014
  "ref": {
938
- "name": "ref"
1015
+ "name": "ref",
1016
+ "description": "reference to the Peer",
1017
+ "required": false
939
1018
  }
940
1019
  }
941
1020
  },
@@ -951,13 +1030,6 @@
951
1030
  "<%= config.bin %> <%= command.id %>\nRef Name Username AOR Balancing Algorithm Session Affinity \n6f941c63-880c-419a-a72a-4a107cbaf5c5 Asterisk Conference conference backend:conference ROUND_ROBIN Yes \n"
952
1031
  ],
953
1032
  "flags": {
954
- "extended": {
955
- "name": "extended",
956
- "type": "boolean",
957
- "char": "x",
958
- "description": "extended output format",
959
- "allowNo": false
960
- },
961
1033
  "insecure": {
962
1034
  "name": "insecure",
963
1035
  "type": "boolean",
@@ -980,6 +1052,13 @@
980
1052
  "description": "the number of items to return",
981
1053
  "multiple": false,
982
1054
  "default": 50
1055
+ },
1056
+ "extended": {
1057
+ "name": "extended",
1058
+ "type": "boolean",
1059
+ "char": "x",
1060
+ "description": "extended output format",
1061
+ "allowNo": false
983
1062
  }
984
1063
  },
985
1064
  "args": {
@@ -1002,13 +1081,6 @@
1002
1081
  "<%= config.bin %> <%= command.id %>\nUpdating Peer Asterisk Conf... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
1003
1082
  ],
1004
1083
  "flags": {
1005
- "extended": {
1006
- "name": "extended",
1007
- "type": "boolean",
1008
- "char": "x",
1009
- "description": "extended output format",
1010
- "allowNo": false
1011
- },
1012
1084
  "insecure": {
1013
1085
  "name": "insecure",
1014
1086
  "type": "boolean",
@@ -1045,13 +1117,6 @@
1045
1117
  "<%= config.bin %> <%= command.id %>\nCreating Trunk T01... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
1046
1118
  ],
1047
1119
  "flags": {
1048
- "extended": {
1049
- "name": "extended",
1050
- "type": "boolean",
1051
- "char": "x",
1052
- "description": "extended output format",
1053
- "allowNo": false
1054
- },
1055
1120
  "insecure": {
1056
1121
  "name": "insecure",
1057
1122
  "type": "boolean",
@@ -1082,13 +1147,37 @@
1082
1147
  "<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
1083
1148
  ],
1084
1149
  "flags": {
1085
- "extended": {
1086
- "name": "extended",
1150
+ "insecure": {
1151
+ "name": "insecure",
1087
1152
  "type": "boolean",
1088
- "char": "x",
1089
- "description": "extended output format",
1153
+ "char": "i",
1154
+ "description": "allow insecure connections to the routr server",
1090
1155
  "allowNo": false
1091
1156
  },
1157
+ "endpoint": {
1158
+ "name": "endpoint",
1159
+ "type": "option",
1160
+ "char": "e",
1161
+ "description": "endpoint to connect to the routr server",
1162
+ "multiple": false,
1163
+ "default": "localhost:51907"
1164
+ }
1165
+ },
1166
+ "args": {
1167
+ "ref": {
1168
+ "name": "ref"
1169
+ }
1170
+ }
1171
+ },
1172
+ "trunks:describe": {
1173
+ "id": "trunks:describe",
1174
+ "description": "shows details for a Trunk",
1175
+ "strict": true,
1176
+ "pluginName": "@routr/ctl",
1177
+ "pluginAlias": "@routr/ctl",
1178
+ "pluginType": "core",
1179
+ "aliases": [],
1180
+ "flags": {
1092
1181
  "insecure": {
1093
1182
  "name": "insecure",
1094
1183
  "type": "boolean",
@@ -1107,7 +1196,9 @@
1107
1196
  },
1108
1197
  "args": {
1109
1198
  "ref": {
1110
- "name": "ref"
1199
+ "name": "ref",
1200
+ "description": "reference to the Trunk",
1201
+ "required": false
1111
1202
  }
1112
1203
  }
1113
1204
  },
@@ -1123,13 +1214,6 @@
1123
1214
  "<%= config.bin %> <%= command.id %>\nRef Name Inbound SIP URI \n8cde8ea9-3c58-4dbe-b2cf-23c4413dd4cc Local sip.t01.provider.net\n"
1124
1215
  ],
1125
1216
  "flags": {
1126
- "extended": {
1127
- "name": "extended",
1128
- "type": "boolean",
1129
- "char": "x",
1130
- "description": "extended output format",
1131
- "allowNo": false
1132
- },
1133
1217
  "insecure": {
1134
1218
  "name": "insecure",
1135
1219
  "type": "boolean",
@@ -1152,6 +1236,13 @@
1152
1236
  "description": "the number of items to return",
1153
1237
  "multiple": false,
1154
1238
  "default": 50
1239
+ },
1240
+ "extended": {
1241
+ "name": "extended",
1242
+ "type": "boolean",
1243
+ "char": "x",
1244
+ "description": "extended output format",
1245
+ "allowNo": false
1155
1246
  }
1156
1247
  },
1157
1248
  "args": {
@@ -1174,13 +1265,6 @@
1174
1265
  "<%= config.bin %> <%= command.id %>\nUpdating Trunk T01... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
1175
1266
  ],
1176
1267
  "flags": {
1177
- "extended": {
1178
- "name": "extended",
1179
- "type": "boolean",
1180
- "char": "x",
1181
- "description": "extended output format",
1182
- "allowNo": false
1183
- },
1184
1268
  "insecure": {
1185
1269
  "name": "insecure",
1186
1270
  "type": "boolean",