@routr/ctl 2.1.0 → 2.1.11

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
@@ -19,7 +19,7 @@ $ npm install -g @routr/ctl
19
19
  $ rctl COMMAND
20
20
  running command...
21
21
  $ rctl (--version)
22
- @routr/ctl/2.1.0 linux-x64 node-v18.16.0
22
+ @routr/ctl/2.1.11 linux-x64 node-v18.17.1
23
23
  $ rctl --help [COMMAND]
24
24
  USAGE
25
25
  $ rctl COMMAND
@@ -95,6 +95,8 @@ EXAMPLES
95
95
  Creating ACL US Eeast... b148b4b4-6884-4c06-bb7e-bd098f5fe793
96
96
  ```
97
97
 
98
+ _See code: [dist/commands/acl/create.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/acl/create.ts)_
99
+
98
100
  ## `rctl acl delete [REF]`
99
101
 
100
102
  Deletes an Access Control List
@@ -116,6 +118,8 @@ EXAMPLES
116
118
  Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
117
119
  ```
118
120
 
121
+ _See code: [dist/commands/acl/delete.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/acl/delete.ts)_
122
+
119
123
  ## `rctl acl describe [REF]`
120
124
 
121
125
  shows details of an ACL
@@ -136,6 +140,8 @@ DESCRIPTION
136
140
  shows details of an ACL
137
141
  ```
138
142
 
143
+ _See code: [dist/commands/acl/describe.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/acl/describe.ts)_
144
+
139
145
  ## `rctl acl get [REF]`
140
146
 
141
147
  Shows a list of paginated ACLs or a single ACL if a ref is provided
@@ -163,6 +169,8 @@ EXAMPLES
163
169
  9e7a88f0-8390-42f5-a2cb-689583ba9f4f Local Network ACL 0.0.0.0/0 10.0.0.28
164
170
  ```
165
171
 
172
+ _See code: [dist/commands/acl/get.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/acl/get.ts)_
173
+
166
174
  ## `rctl acl update REF`
167
175
 
168
176
  Updates an existing ACL
@@ -187,6 +195,8 @@ EXAMPLES
187
195
  Updating ACL US East... 80181ca6-d4aa-4575-9375-8f72b07d5555
188
196
  ```
189
197
 
198
+ _See code: [dist/commands/acl/update.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/acl/update.ts)_
199
+
190
200
  ## `rctl agents create`
191
201
 
192
202
  Creates a new Agent
@@ -208,6 +218,8 @@ EXAMPLES
208
218
  Creating Agent Jhon Doe... b148b4b4-6884-4c06-bb7e-bd098f5fe793
209
219
  ```
210
220
 
221
+ _See code: [dist/commands/agents/create.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/agents/create.ts)_
222
+
211
223
  ## `rctl agents delete [REF]`
212
224
 
213
225
  Deletes an Agent
@@ -229,6 +241,8 @@ EXAMPLES
229
241
  Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
230
242
  ```
231
243
 
244
+ _See code: [dist/commands/agents/delete.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/agents/delete.ts)_
245
+
232
246
  ## `rctl agents describe [REF]`
233
247
 
234
248
  shows details of an Agent
@@ -249,6 +263,8 @@ DESCRIPTION
249
263
  shows details of an Agent
250
264
  ```
251
265
 
266
+ _See code: [dist/commands/agents/describe.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/agents/describe.ts)_
267
+
252
268
  ## `rctl agents get [REF]`
253
269
 
254
270
  Shows a list of paginated Agents or a single Agent if ref is provided
@@ -276,6 +292,8 @@ EXAMPLES
276
292
  d31f5fb8-e367-42f7-9884-1a7999f53fe8 John Doe jdoe sip.local PRIVATE Yes
277
293
  ```
278
294
 
295
+ _See code: [dist/commands/agents/get.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/agents/get.ts)_
296
+
279
297
  ## `rctl agents update REF`
280
298
 
281
299
  Updates an existing Agent
@@ -300,6 +318,8 @@ EXAMPLES
300
318
  Updating Agent John Doe... 80181ca6-d4aa-4575-9375-8f72b07d5555
301
319
  ```
302
320
 
321
+ _See code: [dist/commands/agents/update.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/agents/update.ts)_
322
+
303
323
  ## `rctl autocomplete [SHELL]`
304
324
 
305
325
  display autocomplete installation instructions
@@ -350,6 +370,8 @@ EXAMPLES
350
370
  Creating Credentials JDoe Access... b148b4b4-6884-4c06-bb7e-bd098f5fe793
351
371
  ```
352
372
 
373
+ _See code: [dist/commands/credentials/create.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/credentials/create.ts)_
374
+
353
375
  ## `rctl credentials delete [REF]`
354
376
 
355
377
  Deletes a set of Credentials
@@ -371,6 +393,8 @@ EXAMPLES
371
393
  Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
372
394
  ```
373
395
 
396
+ _See code: [dist/commands/credentials/delete.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/credentials/delete.ts)_
397
+
374
398
  ## `rctl credentials describe [REF]`
375
399
 
376
400
  shows details for a set of Credentials
@@ -391,6 +415,8 @@ DESCRIPTION
391
415
  shows details for a set of Credentials
392
416
  ```
393
417
 
418
+ _See code: [dist/commands/credentials/describe.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/credentials/describe.ts)_
419
+
394
420
  ## `rctl credentials get [REF]`
395
421
 
396
422
  Shows a list of paginated Credentials or a single set if ref is provided
@@ -418,6 +444,8 @@ EXAMPLES
418
444
  80181ca6-d4aa-4575-9375-8f72b07d6666 Europe ACL 0.0.0.0/0 10.0.0.25
419
445
  ```
420
446
 
447
+ _See code: [dist/commands/credentials/get.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/credentials/get.ts)_
448
+
421
449
  ## `rctl credentials update REF`
422
450
 
423
451
  Updates an existing set of Credentials
@@ -442,6 +470,8 @@ EXAMPLES
442
470
  Updating Credentials JDoe Credentials... 80181ca6-d4aa-4575-9375-8f72b07d5555
443
471
  ```
444
472
 
473
+ _See code: [dist/commands/credentials/update.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/credentials/update.ts)_
474
+
445
475
  ## `rctl domains create`
446
476
 
447
477
  Creates a new set Domain
@@ -463,6 +493,8 @@ EXAMPLES
463
493
  Creating Domain Local Domain... b148b4b4-6884-4c06-bb7e-bd098f5fe793
464
494
  ```
465
495
 
496
+ _See code: [dist/commands/domains/create.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/domains/create.ts)_
497
+
466
498
  ## `rctl domains delete [REF]`
467
499
 
468
500
  Deletes a Domain
@@ -484,6 +516,8 @@ EXAMPLES
484
516
  Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
485
517
  ```
486
518
 
519
+ _See code: [dist/commands/domains/delete.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/domains/delete.ts)_
520
+
487
521
  ## `rctl domains describe [REF]`
488
522
 
489
523
  show details of a Domain
@@ -504,6 +538,8 @@ DESCRIPTION
504
538
  show details of a Domain
505
539
  ```
506
540
 
541
+ _See code: [dist/commands/domains/describe.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/domains/describe.ts)_
542
+
507
543
  ## `rctl domains get [REF]`
508
544
 
509
545
  Shows a list of paginated Domains or a single Domain if ref is provided
@@ -531,6 +567,8 @@ EXAMPLES
531
567
  ab2b6959-f497-4b14-903b-85a7c464b564 Local Domain sip.local
532
568
  ```
533
569
 
570
+ _See code: [dist/commands/domains/get.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/domains/get.ts)_
571
+
534
572
  ## `rctl domains update REF`
535
573
 
536
574
  Updates an existing Domain
@@ -555,6 +593,8 @@ EXAMPLES
555
593
  Updating Domain Local... 80181ca6-d4aa-4575-9375-8f72b07d5555
556
594
  ```
557
595
 
596
+ _See code: [dist/commands/domains/update.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/domains/update.ts)_
597
+
558
598
  ## `rctl numbers create`
559
599
 
560
600
  Creates a new Number
@@ -576,6 +616,8 @@ EXAMPLES
576
616
  Creating Number (784) 317-8170... a134487f-a668-4509-9ddd-dcbc98175468
577
617
  ```
578
618
 
619
+ _See code: [dist/commands/numbers/create.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/numbers/create.ts)_
620
+
579
621
  ## `rctl numbers delete [REF]`
580
622
 
581
623
  Deletes a Number
@@ -597,6 +639,8 @@ EXAMPLES
597
639
  Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
598
640
  ```
599
641
 
642
+ _See code: [dist/commands/numbers/delete.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/numbers/delete.ts)_
643
+
600
644
  ## `rctl numbers describe [REF]`
601
645
 
602
646
  shows details for a Number
@@ -617,6 +661,8 @@ DESCRIPTION
617
661
  shows details for a Number
618
662
  ```
619
663
 
664
+ _See code: [dist/commands/numbers/describe.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/numbers/describe.ts)_
665
+
620
666
  ## `rctl numbers get [REF]`
621
667
 
622
668
  Shows a list of paginated Numbers or a single Number if ref is provided
@@ -644,6 +690,8 @@ EXAMPLES
644
690
  a134487f-a668-4509-9ddd-dcbc98175468 (785) 317-8070 +17853178070 sip:1001@sip.local Cameron, USA (US)
645
691
  ```
646
692
 
693
+ _See code: [dist/commands/numbers/get.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/numbers/get.ts)_
694
+
647
695
  ## `rctl numbers update REF`
648
696
 
649
697
  Updates an existing set of Credentials
@@ -668,6 +716,8 @@ EXAMPLES
668
716
  Updating Number (785) 317-8070... 80181ca6-d4aa-4575-9375-8f72b07d5555
669
717
  ```
670
718
 
719
+ _See code: [dist/commands/numbers/update.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/numbers/update.ts)_
720
+
671
721
  ## `rctl peers create`
672
722
 
673
723
  Creates a new Peer
@@ -689,6 +739,8 @@ EXAMPLES
689
739
  Creating Peer Asterisk Conference... b148b4b4-6884-4c06-bb7e-bd098f5fe793
690
740
  ```
691
741
 
742
+ _See code: [dist/commands/peers/create.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/peers/create.ts)_
743
+
692
744
  ## `rctl peers delete [REF]`
693
745
 
694
746
  Deletes a Peer
@@ -710,6 +762,8 @@ EXAMPLES
710
762
  Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
711
763
  ```
712
764
 
765
+ _See code: [dist/commands/peers/delete.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/peers/delete.ts)_
766
+
713
767
  ## `rctl peers describe [REF]`
714
768
 
715
769
  shows details for a Peer
@@ -730,6 +784,8 @@ DESCRIPTION
730
784
  shows details for a Peer
731
785
  ```
732
786
 
787
+ _See code: [dist/commands/peers/describe.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/peers/describe.ts)_
788
+
733
789
  ## `rctl peers get [REF]`
734
790
 
735
791
  Shows a list of paginated Peers or a single Peer if ref is provided
@@ -757,6 +813,8 @@ EXAMPLES
757
813
  6f941c63-880c-419a-a72a-4a107cbaf5c5 Asterisk Conference conference backend:conference ROUND_ROBIN Yes
758
814
  ```
759
815
 
816
+ _See code: [dist/commands/peers/get.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/peers/get.ts)_
817
+
760
818
  ## `rctl peers update REF`
761
819
 
762
820
  Updates an existing Peer
@@ -781,6 +839,8 @@ EXAMPLES
781
839
  Updating Peer Asterisk Conf... 80181ca6-d4aa-4575-9375-8f72b07d5555
782
840
  ```
783
841
 
842
+ _See code: [dist/commands/peers/update.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/peers/update.ts)_
843
+
784
844
  ## `rctl plugins`
785
845
 
786
846
  List installed plugins.
@@ -864,6 +924,8 @@ EXAMPLES
864
924
  $ rctl plugins:inspect myplugin
865
925
  ```
866
926
 
927
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/inspect.ts)_
928
+
867
929
  ## `rctl plugins:install PLUGIN...`
868
930
 
869
931
  Installs a plugin into the CLI.
@@ -902,6 +964,8 @@ EXAMPLES
902
964
  $ rctl plugins:install someuser/someplugin
903
965
  ```
904
966
 
967
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/install.ts)_
968
+
905
969
  ## `rctl plugins:link PLUGIN`
906
970
 
907
971
  Links a plugin into the CLI for development.
@@ -929,6 +993,8 @@ EXAMPLES
929
993
  $ rctl plugins:link myplugin
930
994
  ```
931
995
 
996
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/link.ts)_
997
+
932
998
  ## `rctl plugins:uninstall PLUGIN...`
933
999
 
934
1000
  Removes a plugin from the CLI.
@@ -975,6 +1041,8 @@ ALIASES
975
1041
  $ rctl plugins remove
976
1042
  ```
977
1043
 
1044
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/uninstall.ts)_
1045
+
978
1046
  ## `rctl plugins:uninstall PLUGIN...`
979
1047
 
980
1048
  Removes a plugin from the CLI.
@@ -1014,6 +1082,8 @@ DESCRIPTION
1014
1082
  Update installed plugins.
1015
1083
  ```
1016
1084
 
1085
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/update.ts)_
1086
+
1017
1087
  ## `rctl trunks create`
1018
1088
 
1019
1089
  Creates a new Trunk
@@ -1035,6 +1105,8 @@ EXAMPLES
1035
1105
  Creating Trunk T01... b148b4b4-6884-4c06-bb7e-bd098f5fe793
1036
1106
  ```
1037
1107
 
1108
+ _See code: [dist/commands/trunks/create.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/trunks/create.ts)_
1109
+
1038
1110
  ## `rctl trunks delete [REF]`
1039
1111
 
1040
1112
  Deletes a Trunk
@@ -1056,6 +1128,8 @@ EXAMPLES
1056
1128
  Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
1057
1129
  ```
1058
1130
 
1131
+ _See code: [dist/commands/trunks/delete.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/trunks/delete.ts)_
1132
+
1059
1133
  ## `rctl trunks describe [REF]`
1060
1134
 
1061
1135
  shows details for a Trunk
@@ -1076,6 +1150,8 @@ DESCRIPTION
1076
1150
  shows details for a Trunk
1077
1151
  ```
1078
1152
 
1153
+ _See code: [dist/commands/trunks/describe.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/trunks/describe.ts)_
1154
+
1079
1155
  ## `rctl trunks get [REF]`
1080
1156
 
1081
1157
  Shows a list of paginated Trunks or a single Trunk if ref is provided
@@ -1103,6 +1179,8 @@ EXAMPLES
1103
1179
  8cde8ea9-3c58-4dbe-b2cf-23c4413dd4cc Local sip.t01.provider.net
1104
1180
  ```
1105
1181
 
1182
+ _See code: [dist/commands/trunks/get.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/trunks/get.ts)_
1183
+
1106
1184
  ## `rctl trunks update REF`
1107
1185
 
1108
1186
  Updates an existing Trunk
@@ -1126,4 +1204,6 @@ EXAMPLES
1126
1204
  $ rctl trunks update
1127
1205
  Updating Trunk T01... 80181ca6-d4aa-4575-9375-8f72b07d5555
1128
1206
  ```
1207
+
1208
+ _See code: [dist/commands/trunks/update.ts](https://github.com/fonoster/routr/blob/v2.1.11/dist/commands/trunks/update.ts)_
1129
1209
  <!-- commandsstop -->
@@ -102,7 +102,7 @@ class CreateCommand extends base_1.BaseCommand {
102
102
  },
103
103
  {
104
104
  name: "aor",
105
- message: "Adress of Record",
105
+ message: "Address of Record",
106
106
  type: "input",
107
107
  validate: validators_1.aorValidator
108
108
  },
@@ -71,7 +71,7 @@ class UpdatePeerCommand extends base_1.BaseCommand {
71
71
  },
72
72
  {
73
73
  name: "aor",
74
- message: "Adress of Record",
74
+ message: "Address of Record",
75
75
  type: "input",
76
76
  default: peerFromDB.aor,
77
77
  validate: validators_1.aorValidator
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.1.0",
2
+ "version": "2.1.11",
3
3
  "commands": {
4
4
  "acl:create": {
5
5
  "id": "acl:create",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routr/ctl",
3
- "version": "2.1.0",
3
+ "version": "2.1.11",
4
4
  "description": "Routr Command-Line Tool",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "bin": {
@@ -25,8 +25,8 @@
25
25
  "@oclif/plugin-help": "^5",
26
26
  "@oclif/plugin-plugins": "^2.1.12",
27
27
  "@oclif/plugin-warn-if-update-available": "^2.0.19",
28
- "@routr/common": "^2.1.0",
29
- "@routr/sdk": "^2.1.0",
28
+ "@routr/common": "^2.1.11",
29
+ "@routr/sdk": "^2.1.11",
30
30
  "figlet": "^1.5.2",
31
31
  "fuzzy-search": "^3.2.1",
32
32
  "inquirer": "^8.2.5",
@@ -50,7 +50,7 @@
50
50
  "shx": "^0.3.3",
51
51
  "ts-node": "^10.9.1",
52
52
  "tslib": "^2.4.1",
53
- "typescript": "^4.9.4"
53
+ "typescript": "^4.9.5"
54
54
  },
55
55
  "oclif": {
56
56
  "bin": "rctl",
@@ -88,5 +88,5 @@
88
88
  "oclif"
89
89
  ],
90
90
  "types": "dist/index.d.ts",
91
- "gitHead": "0e75c7950157dcb7701082655259a87da322c29d"
91
+ "gitHead": "7c3161336c29feb497a256018a08b65c1dedd0fd"
92
92
  }