@fonoster/ctl 0.9.53 → 0.9.55
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
|
@@ -23,7 +23,7 @@ $ npm install -g @fonoster/ctl
|
|
|
23
23
|
$ fonoster COMMAND
|
|
24
24
|
running command...
|
|
25
25
|
$ fonoster (--version)
|
|
26
|
-
@fonoster/ctl/0.9.
|
|
26
|
+
@fonoster/ctl/0.9.55 linux-x64 node-v20.19.0
|
|
27
27
|
$ fonoster --help [COMMAND]
|
|
28
28
|
USAGE
|
|
29
29
|
$ fonoster COMMAND
|
|
@@ -41,6 +41,7 @@ USAGE
|
|
|
41
41
|
* [`fonoster applications:get REF`](#fonoster-applicationsget-ref)
|
|
42
42
|
* [`fonoster applications:list`](#fonoster-applicationslist)
|
|
43
43
|
* [`fonoster applications:update REF`](#fonoster-applicationsupdate-ref)
|
|
44
|
+
* [`fonoster autopilot:testCases`](#fonoster-autopilottestcases)
|
|
44
45
|
* [`fonoster bug`](#fonoster-bug)
|
|
45
46
|
* [`fonoster feedback`](#fonoster-feedback)
|
|
46
47
|
* [`fonoster mcp:configure`](#fonoster-mcpconfigure)
|
|
@@ -83,7 +84,6 @@ USAGE
|
|
|
83
84
|
* [`fonoster sipnet:trunks:get REF`](#fonoster-sipnettrunksget-ref)
|
|
84
85
|
* [`fonoster sipnet:trunks:list`](#fonoster-sipnettrunkslist)
|
|
85
86
|
* [`fonoster sipnet:trunks:update REF`](#fonoster-sipnettrunksupdate-ref)
|
|
86
|
-
* [`fonoster utils:autopilotTestsCases`](#fonoster-utilsautopilottestscases)
|
|
87
87
|
* [`fonoster workspaces:active`](#fonoster-workspacesactive)
|
|
88
88
|
* [`fonoster workspaces:list`](#fonoster-workspaceslist)
|
|
89
89
|
* [`fonoster workspaces:login`](#fonoster-workspaceslogin)
|
|
@@ -110,7 +110,7 @@ EXAMPLES
|
|
|
110
110
|
$ fonoster apikeys:create
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
113
|
+
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/apikeys/create.js)_
|
|
114
114
|
|
|
115
115
|
## `fonoster apikeys:delete REF`
|
|
116
116
|
|
|
@@ -133,7 +133,7 @@ EXAMPLES
|
|
|
133
133
|
$ fonoster apikeys:delete
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
136
|
+
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/apikeys/delete.js)_
|
|
137
137
|
|
|
138
138
|
## `fonoster apikeys:list`
|
|
139
139
|
|
|
@@ -154,7 +154,7 @@ EXAMPLES
|
|
|
154
154
|
$ fonoster apikeys:list
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
-
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
157
|
+
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/apikeys/list.js)_
|
|
158
158
|
|
|
159
159
|
## `fonoster apikeys:regenerate REF`
|
|
160
160
|
|
|
@@ -177,7 +177,7 @@ EXAMPLES
|
|
|
177
177
|
$ fonoster apikeys:regenerate
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
180
|
+
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/apikeys/regenerate.js)_
|
|
181
181
|
|
|
182
182
|
## `fonoster applications:create`
|
|
183
183
|
|
|
@@ -197,7 +197,7 @@ EXAMPLES
|
|
|
197
197
|
$ fonoster applications:create
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
200
|
+
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/applications/create.js)_
|
|
201
201
|
|
|
202
202
|
## `fonoster applications:delete REF`
|
|
203
203
|
|
|
@@ -220,7 +220,7 @@ EXAMPLES
|
|
|
220
220
|
$ fonoster applications:delete
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
223
|
+
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/applications/delete.js)_
|
|
224
224
|
|
|
225
225
|
## `fonoster applications:get REF`
|
|
226
226
|
|
|
@@ -243,7 +243,7 @@ EXAMPLES
|
|
|
243
243
|
$ fonoster applications:get
|
|
244
244
|
```
|
|
245
245
|
|
|
246
|
-
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
246
|
+
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/applications/get.js)_
|
|
247
247
|
|
|
248
248
|
## `fonoster applications:list`
|
|
249
249
|
|
|
@@ -264,7 +264,7 @@ EXAMPLES
|
|
|
264
264
|
$ fonoster applications:list
|
|
265
265
|
```
|
|
266
266
|
|
|
267
|
-
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
267
|
+
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/applications/list.js)_
|
|
268
268
|
|
|
269
269
|
## `fonoster applications:update REF`
|
|
270
270
|
|
|
@@ -287,7 +287,30 @@ EXAMPLES
|
|
|
287
287
|
$ fonoster applications:update
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
290
|
+
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/applications/update.js)_
|
|
291
|
+
|
|
292
|
+
## `fonoster autopilot:testCases`
|
|
293
|
+
|
|
294
|
+
experimental command to test an Autopilot's behavior
|
|
295
|
+
|
|
296
|
+
```
|
|
297
|
+
USAGE
|
|
298
|
+
$ fonoster autopilot:testCases -f <value> [-i]
|
|
299
|
+
|
|
300
|
+
FLAGS
|
|
301
|
+
-f, --file=<value> (required) path to test cases file (json, yaml, or yml)
|
|
302
|
+
-i, --insecure allow connections to a server with no TLS
|
|
303
|
+
|
|
304
|
+
DESCRIPTION
|
|
305
|
+
experimental command to test an Autopilot's behavior
|
|
306
|
+
|
|
307
|
+
EXAMPLES
|
|
308
|
+
$ fonoster autopilot:testCases -f assistant.json
|
|
309
|
+
|
|
310
|
+
$ fonoster autopilot:testCases -f assistant.yaml
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
_See code: [dist/commands/autopilot/testCases.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/autopilot/testCases.js)_
|
|
291
314
|
|
|
292
315
|
## `fonoster bug`
|
|
293
316
|
|
|
@@ -304,7 +327,7 @@ EXAMPLES
|
|
|
304
327
|
$ fonoster bug
|
|
305
328
|
```
|
|
306
329
|
|
|
307
|
-
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
330
|
+
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/bug.js)_
|
|
308
331
|
|
|
309
332
|
## `fonoster feedback`
|
|
310
333
|
|
|
@@ -324,7 +347,7 @@ EXAMPLES
|
|
|
324
347
|
$ fonoster feedback
|
|
325
348
|
```
|
|
326
349
|
|
|
327
|
-
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
350
|
+
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/feedback.js)_
|
|
328
351
|
|
|
329
352
|
## `fonoster mcp:configure`
|
|
330
353
|
|
|
@@ -348,7 +371,7 @@ EXAMPLES
|
|
|
348
371
|
$ fonoster mcp:configure --client claude --workspace my-workspace
|
|
349
372
|
```
|
|
350
373
|
|
|
351
|
-
_See code: [dist/commands/mcp/configure.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
374
|
+
_See code: [dist/commands/mcp/configure.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/mcp/configure.js)_
|
|
352
375
|
|
|
353
376
|
## `fonoster secrets:create`
|
|
354
377
|
|
|
@@ -368,7 +391,7 @@ EXAMPLES
|
|
|
368
391
|
$ fonoster secrets:create
|
|
369
392
|
```
|
|
370
393
|
|
|
371
|
-
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
394
|
+
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/secrets/create.js)_
|
|
372
395
|
|
|
373
396
|
## `fonoster secrets:delete REF`
|
|
374
397
|
|
|
@@ -391,7 +414,7 @@ EXAMPLES
|
|
|
391
414
|
$ fonoster secrets:delete
|
|
392
415
|
```
|
|
393
416
|
|
|
394
|
-
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
417
|
+
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/secrets/delete.js)_
|
|
395
418
|
|
|
396
419
|
## `fonoster secrets:get REF`
|
|
397
420
|
|
|
@@ -414,7 +437,7 @@ EXAMPLES
|
|
|
414
437
|
$ fonoster secrets:get
|
|
415
438
|
```
|
|
416
439
|
|
|
417
|
-
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
440
|
+
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/secrets/get.js)_
|
|
418
441
|
|
|
419
442
|
## `fonoster secrets:list`
|
|
420
443
|
|
|
@@ -435,7 +458,7 @@ EXAMPLES
|
|
|
435
458
|
$ fonoster secrets:list
|
|
436
459
|
```
|
|
437
460
|
|
|
438
|
-
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
461
|
+
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/secrets/list.js)_
|
|
439
462
|
|
|
440
463
|
## `fonoster secrets:update REF`
|
|
441
464
|
|
|
@@ -458,7 +481,7 @@ EXAMPLES
|
|
|
458
481
|
$ fonoster secrets:update
|
|
459
482
|
```
|
|
460
483
|
|
|
461
|
-
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
484
|
+
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/secrets/update.js)_
|
|
462
485
|
|
|
463
486
|
## `fonoster sipnet:acls:create`
|
|
464
487
|
|
|
@@ -478,7 +501,7 @@ EXAMPLES
|
|
|
478
501
|
$ fonoster sipnet:acls:create
|
|
479
502
|
```
|
|
480
503
|
|
|
481
|
-
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
504
|
+
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/acls/create.js)_
|
|
482
505
|
|
|
483
506
|
## `fonoster sipnet:acls:delete REF`
|
|
484
507
|
|
|
@@ -501,7 +524,7 @@ EXAMPLES
|
|
|
501
524
|
$ fonoster sipnet:acls:delete
|
|
502
525
|
```
|
|
503
526
|
|
|
504
|
-
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
527
|
+
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/acls/delete.js)_
|
|
505
528
|
|
|
506
529
|
## `fonoster sipnet:acls:get REF`
|
|
507
530
|
|
|
@@ -524,7 +547,7 @@ EXAMPLES
|
|
|
524
547
|
$ fonoster sipnet:acls:get
|
|
525
548
|
```
|
|
526
549
|
|
|
527
|
-
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
550
|
+
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/acls/get.js)_
|
|
528
551
|
|
|
529
552
|
## `fonoster sipnet:acls:list`
|
|
530
553
|
|
|
@@ -545,7 +568,7 @@ EXAMPLES
|
|
|
545
568
|
$ fonoster sipnet:acls:list
|
|
546
569
|
```
|
|
547
570
|
|
|
548
|
-
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
571
|
+
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/acls/list.js)_
|
|
549
572
|
|
|
550
573
|
## `fonoster sipnet:acls:update REF`
|
|
551
574
|
|
|
@@ -568,7 +591,7 @@ EXAMPLES
|
|
|
568
591
|
$ fonoster sipnet:acls:update
|
|
569
592
|
```
|
|
570
593
|
|
|
571
|
-
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
594
|
+
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/acls/update.js)_
|
|
572
595
|
|
|
573
596
|
## `fonoster sipnet:agents:create`
|
|
574
597
|
|
|
@@ -588,7 +611,7 @@ EXAMPLES
|
|
|
588
611
|
$ fonoster sipnet:agents:create
|
|
589
612
|
```
|
|
590
613
|
|
|
591
|
-
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
614
|
+
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/agents/create.js)_
|
|
592
615
|
|
|
593
616
|
## `fonoster sipnet:agents:delete REF`
|
|
594
617
|
|
|
@@ -611,7 +634,7 @@ EXAMPLES
|
|
|
611
634
|
$ fonoster sipnet:agents:delete
|
|
612
635
|
```
|
|
613
636
|
|
|
614
|
-
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
637
|
+
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/agents/delete.js)_
|
|
615
638
|
|
|
616
639
|
## `fonoster sipnet:agents:get REF`
|
|
617
640
|
|
|
@@ -634,7 +657,7 @@ EXAMPLES
|
|
|
634
657
|
$ fonoster sipnet:agents:get
|
|
635
658
|
```
|
|
636
659
|
|
|
637
|
-
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
660
|
+
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/agents/get.js)_
|
|
638
661
|
|
|
639
662
|
## `fonoster sipnet:agents:list`
|
|
640
663
|
|
|
@@ -655,7 +678,7 @@ EXAMPLES
|
|
|
655
678
|
$ fonoster sipnet:agents:list
|
|
656
679
|
```
|
|
657
680
|
|
|
658
|
-
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
681
|
+
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/agents/list.js)_
|
|
659
682
|
|
|
660
683
|
## `fonoster sipnet:agents:update REF`
|
|
661
684
|
|
|
@@ -678,7 +701,7 @@ EXAMPLES
|
|
|
678
701
|
$ fonoster sipnet:agents:update
|
|
679
702
|
```
|
|
680
703
|
|
|
681
|
-
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
704
|
+
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/agents/update.js)_
|
|
682
705
|
|
|
683
706
|
## `fonoster sipnet:calls:create`
|
|
684
707
|
|
|
@@ -704,7 +727,7 @@ EXAMPLES
|
|
|
704
727
|
$ fonoster sipnet:calls:create
|
|
705
728
|
```
|
|
706
729
|
|
|
707
|
-
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
730
|
+
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/calls/create.js)_
|
|
708
731
|
|
|
709
732
|
## `fonoster sipnet:calls:get REF`
|
|
710
733
|
|
|
@@ -727,7 +750,7 @@ EXAMPLES
|
|
|
727
750
|
$ fonoster sipnet:calls:get
|
|
728
751
|
```
|
|
729
752
|
|
|
730
|
-
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
753
|
+
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/calls/get.js)_
|
|
731
754
|
|
|
732
755
|
## `fonoster sipnet:calls:list`
|
|
733
756
|
|
|
@@ -748,7 +771,7 @@ EXAMPLES
|
|
|
748
771
|
$ fonoster sipnet:calls:list
|
|
749
772
|
```
|
|
750
773
|
|
|
751
|
-
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
774
|
+
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/calls/list.js)_
|
|
752
775
|
|
|
753
776
|
## `fonoster sipnet:credentials:create`
|
|
754
777
|
|
|
@@ -768,7 +791,7 @@ EXAMPLES
|
|
|
768
791
|
$ fonoster sipnet:credentials:create
|
|
769
792
|
```
|
|
770
793
|
|
|
771
|
-
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
794
|
+
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/credentials/create.js)_
|
|
772
795
|
|
|
773
796
|
## `fonoster sipnet:credentials:delete REF`
|
|
774
797
|
|
|
@@ -791,7 +814,7 @@ EXAMPLES
|
|
|
791
814
|
$ fonoster sipnet:credentials:delete
|
|
792
815
|
```
|
|
793
816
|
|
|
794
|
-
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
817
|
+
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/credentials/delete.js)_
|
|
795
818
|
|
|
796
819
|
## `fonoster sipnet:credentials:get REF`
|
|
797
820
|
|
|
@@ -814,7 +837,7 @@ EXAMPLES
|
|
|
814
837
|
$ fonoster sipnet:credentials:get
|
|
815
838
|
```
|
|
816
839
|
|
|
817
|
-
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
840
|
+
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/credentials/get.js)_
|
|
818
841
|
|
|
819
842
|
## `fonoster sipnet:credentials:list`
|
|
820
843
|
|
|
@@ -835,7 +858,7 @@ EXAMPLES
|
|
|
835
858
|
$ fonoster sipnet:credentials:list
|
|
836
859
|
```
|
|
837
860
|
|
|
838
|
-
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
861
|
+
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/credentials/list.js)_
|
|
839
862
|
|
|
840
863
|
## `fonoster sipnet:credentials:update REF`
|
|
841
864
|
|
|
@@ -858,7 +881,7 @@ EXAMPLES
|
|
|
858
881
|
$ fonoster sipnet:credentials:update
|
|
859
882
|
```
|
|
860
883
|
|
|
861
|
-
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
884
|
+
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/credentials/update.js)_
|
|
862
885
|
|
|
863
886
|
## `fonoster sipnet:domains:create`
|
|
864
887
|
|
|
@@ -878,7 +901,7 @@ EXAMPLES
|
|
|
878
901
|
$ fonoster sipnet:domains:create
|
|
879
902
|
```
|
|
880
903
|
|
|
881
|
-
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
904
|
+
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/domains/create.js)_
|
|
882
905
|
|
|
883
906
|
## `fonoster sipnet:domains:delete REF`
|
|
884
907
|
|
|
@@ -901,7 +924,7 @@ EXAMPLES
|
|
|
901
924
|
$ fonoster sipnet:domains:delete
|
|
902
925
|
```
|
|
903
926
|
|
|
904
|
-
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
927
|
+
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/domains/delete.js)_
|
|
905
928
|
|
|
906
929
|
## `fonoster sipnet:domains:get REF`
|
|
907
930
|
|
|
@@ -924,7 +947,7 @@ EXAMPLES
|
|
|
924
947
|
$ fonoster sipnet:domains:get
|
|
925
948
|
```
|
|
926
949
|
|
|
927
|
-
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
950
|
+
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/domains/get.js)_
|
|
928
951
|
|
|
929
952
|
## `fonoster sipnet:domains:list`
|
|
930
953
|
|
|
@@ -945,7 +968,7 @@ EXAMPLES
|
|
|
945
968
|
$ fonoster sipnet:domains:list
|
|
946
969
|
```
|
|
947
970
|
|
|
948
|
-
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
971
|
+
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/domains/list.js)_
|
|
949
972
|
|
|
950
973
|
## `fonoster sipnet:domains:update REF`
|
|
951
974
|
|
|
@@ -968,7 +991,7 @@ EXAMPLES
|
|
|
968
991
|
$ fonoster sipnet:domains:update
|
|
969
992
|
```
|
|
970
993
|
|
|
971
|
-
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
994
|
+
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/domains/update.js)_
|
|
972
995
|
|
|
973
996
|
## `fonoster sipnet:numbers:create`
|
|
974
997
|
|
|
@@ -988,7 +1011,7 @@ EXAMPLES
|
|
|
988
1011
|
$ fonoster sipnet:numbers:create
|
|
989
1012
|
```
|
|
990
1013
|
|
|
991
|
-
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1014
|
+
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/numbers/create.js)_
|
|
992
1015
|
|
|
993
1016
|
## `fonoster sipnet:numbers:delete REF`
|
|
994
1017
|
|
|
@@ -1011,7 +1034,7 @@ EXAMPLES
|
|
|
1011
1034
|
$ fonoster sipnet:numbers:delete
|
|
1012
1035
|
```
|
|
1013
1036
|
|
|
1014
|
-
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1037
|
+
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/numbers/delete.js)_
|
|
1015
1038
|
|
|
1016
1039
|
## `fonoster sipnet:numbers:get REF`
|
|
1017
1040
|
|
|
@@ -1034,7 +1057,7 @@ EXAMPLES
|
|
|
1034
1057
|
$ fonoster sipnet:numbers:get
|
|
1035
1058
|
```
|
|
1036
1059
|
|
|
1037
|
-
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1060
|
+
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/numbers/get.js)_
|
|
1038
1061
|
|
|
1039
1062
|
## `fonoster sipnet:numbers:linkTwilioNumber`
|
|
1040
1063
|
|
|
@@ -1058,7 +1081,7 @@ EXAMPLES
|
|
|
1058
1081
|
$ fonoster sipnet:numbers:linkTwilioNumber
|
|
1059
1082
|
```
|
|
1060
1083
|
|
|
1061
|
-
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1084
|
+
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/numbers/linkTwilioNumber.js)_
|
|
1062
1085
|
|
|
1063
1086
|
## `fonoster sipnet:numbers:list`
|
|
1064
1087
|
|
|
@@ -1079,7 +1102,7 @@ EXAMPLES
|
|
|
1079
1102
|
$ fonoster sipnet:numbers:list
|
|
1080
1103
|
```
|
|
1081
1104
|
|
|
1082
|
-
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1105
|
+
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/numbers/list.js)_
|
|
1083
1106
|
|
|
1084
1107
|
## `fonoster sipnet:numbers:update REF`
|
|
1085
1108
|
|
|
@@ -1102,7 +1125,7 @@ EXAMPLES
|
|
|
1102
1125
|
$ fonoster sipnet:numbers:update
|
|
1103
1126
|
```
|
|
1104
1127
|
|
|
1105
|
-
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1128
|
+
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/numbers/update.js)_
|
|
1106
1129
|
|
|
1107
1130
|
## `fonoster sipnet:trunks:create`
|
|
1108
1131
|
|
|
@@ -1122,7 +1145,7 @@ EXAMPLES
|
|
|
1122
1145
|
$ fonoster sipnet:trunks:create
|
|
1123
1146
|
```
|
|
1124
1147
|
|
|
1125
|
-
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1148
|
+
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/trunks/create.js)_
|
|
1126
1149
|
|
|
1127
1150
|
## `fonoster sipnet:trunks:delete REF`
|
|
1128
1151
|
|
|
@@ -1145,7 +1168,7 @@ EXAMPLES
|
|
|
1145
1168
|
$ fonoster sipnet:trunks:delete
|
|
1146
1169
|
```
|
|
1147
1170
|
|
|
1148
|
-
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1171
|
+
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/trunks/delete.js)_
|
|
1149
1172
|
|
|
1150
1173
|
## `fonoster sipnet:trunks:get REF`
|
|
1151
1174
|
|
|
@@ -1168,7 +1191,7 @@ EXAMPLES
|
|
|
1168
1191
|
$ fonoster sipnet:trunks:get
|
|
1169
1192
|
```
|
|
1170
1193
|
|
|
1171
|
-
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1194
|
+
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/trunks/get.js)_
|
|
1172
1195
|
|
|
1173
1196
|
## `fonoster sipnet:trunks:list`
|
|
1174
1197
|
|
|
@@ -1189,7 +1212,7 @@ EXAMPLES
|
|
|
1189
1212
|
$ fonoster sipnet:trunks:list
|
|
1190
1213
|
```
|
|
1191
1214
|
|
|
1192
|
-
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1215
|
+
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/trunks/list.js)_
|
|
1193
1216
|
|
|
1194
1217
|
## `fonoster sipnet:trunks:update REF`
|
|
1195
1218
|
|
|
@@ -1212,30 +1235,7 @@ EXAMPLES
|
|
|
1212
1235
|
$ fonoster sipnet:trunks:update
|
|
1213
1236
|
```
|
|
1214
1237
|
|
|
1215
|
-
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1216
|
-
|
|
1217
|
-
## `fonoster utils:autopilotTestsCases`
|
|
1218
|
-
|
|
1219
|
-
experimental command to test an Autopilot's behavior
|
|
1220
|
-
|
|
1221
|
-
```
|
|
1222
|
-
USAGE
|
|
1223
|
-
$ fonoster utils:autopilotTestsCases -f <value> [-i]
|
|
1224
|
-
|
|
1225
|
-
FLAGS
|
|
1226
|
-
-f, --file=<value> (required) path to test cases file (json, yaml, or yml)
|
|
1227
|
-
-i, --insecure allow connections to a server with no TLS
|
|
1228
|
-
|
|
1229
|
-
DESCRIPTION
|
|
1230
|
-
experimental command to test an Autopilot's behavior
|
|
1231
|
-
|
|
1232
|
-
EXAMPLES
|
|
1233
|
-
$ fonoster utils:autopilotTestsCases -f assistant.json
|
|
1234
|
-
|
|
1235
|
-
$ fonoster utils:autopilotTestsCases -f assistant.yaml
|
|
1236
|
-
```
|
|
1237
|
-
|
|
1238
|
-
_See code: [dist/commands/utils/autopilotTestsCases.js](https://github.com/fonoster/fonoster/blob/v0.9.53/dist/commands/utils/autopilotTestsCases.js)_
|
|
1238
|
+
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/sipnet/trunks/update.js)_
|
|
1239
1239
|
|
|
1240
1240
|
## `fonoster workspaces:active`
|
|
1241
1241
|
|
|
@@ -1252,7 +1252,7 @@ EXAMPLES
|
|
|
1252
1252
|
$ fonoster workspaces:active
|
|
1253
1253
|
```
|
|
1254
1254
|
|
|
1255
|
-
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1255
|
+
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/workspaces/active.js)_
|
|
1256
1256
|
|
|
1257
1257
|
## `fonoster workspaces:list`
|
|
1258
1258
|
|
|
@@ -1269,7 +1269,7 @@ EXAMPLES
|
|
|
1269
1269
|
$ fonoster workspaces:list
|
|
1270
1270
|
```
|
|
1271
1271
|
|
|
1272
|
-
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1272
|
+
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/workspaces/list.js)_
|
|
1273
1273
|
|
|
1274
1274
|
## `fonoster workspaces:login`
|
|
1275
1275
|
|
|
@@ -1289,7 +1289,7 @@ EXAMPLES
|
|
|
1289
1289
|
$ fonoster workspaces:login
|
|
1290
1290
|
```
|
|
1291
1291
|
|
|
1292
|
-
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1292
|
+
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/workspaces/login.js)_
|
|
1293
1293
|
|
|
1294
1294
|
## `fonoster workspaces:logout REF`
|
|
1295
1295
|
|
|
@@ -1309,7 +1309,7 @@ EXAMPLES
|
|
|
1309
1309
|
$ fonoster workspaces:logout
|
|
1310
1310
|
```
|
|
1311
1311
|
|
|
1312
|
-
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1312
|
+
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/workspaces/logout.js)_
|
|
1313
1313
|
|
|
1314
1314
|
## `fonoster workspaces:use REF`
|
|
1315
1315
|
|
|
@@ -1329,5 +1329,5 @@ EXAMPLES
|
|
|
1329
1329
|
$ fonoster workspaces:use
|
|
1330
1330
|
```
|
|
1331
1331
|
|
|
1332
|
-
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1332
|
+
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.9.55/dist/commands/workspaces/use.js)_
|
|
1333
1333
|
<!-- commandsstop -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AuthenticatedCommand } from "../../AuthenticatedCommand";
|
|
2
|
-
export default class
|
|
2
|
+
export default class TestCases extends AuthenticatedCommand<typeof TestCases> {
|
|
3
3
|
static readonly description = "experimental command to test an Autopilot's behavior";
|
|
4
4
|
static readonly examples: string[];
|
|
5
5
|
static readonly flags: {
|
|
@@ -67,10 +67,10 @@ const common_1 = require("@fonoster/common");
|
|
|
67
67
|
const core_1 = require("@oclif/core");
|
|
68
68
|
const yaml = __importStar(require("js-yaml"));
|
|
69
69
|
const AuthenticatedCommand_1 = require("../../AuthenticatedCommand");
|
|
70
|
-
class
|
|
70
|
+
class TestCases extends AuthenticatedCommand_1.AuthenticatedCommand {
|
|
71
71
|
run() {
|
|
72
72
|
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
const { flags } = yield this.parse(
|
|
73
|
+
const { flags } = yield this.parse(TestCases);
|
|
74
74
|
const fileContent = fs.readFileSync(flags.file, "utf8");
|
|
75
75
|
const extension = path.extname(flags.file).toLowerCase();
|
|
76
76
|
let rawAutopilotApplication;
|
|
@@ -97,16 +97,16 @@ class AutopilotTestsCases extends AuthenticatedCommand_1.AuthenticatedCommand {
|
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
TestCases.description = "experimental command to test an Autopilot's behavior";
|
|
101
|
+
TestCases.examples = [
|
|
102
102
|
"<%= config.bin %> <%= command.id %> -f assistant.json",
|
|
103
103
|
"<%= config.bin %> <%= command.id %> -f assistant.yaml"
|
|
104
104
|
];
|
|
105
|
-
|
|
105
|
+
TestCases.flags = {
|
|
106
106
|
file: core_1.Flags.string({
|
|
107
107
|
char: "f",
|
|
108
108
|
description: "path to test cases file (json, yaml, or yml)",
|
|
109
109
|
required: true
|
|
110
110
|
})
|
|
111
111
|
};
|
|
112
|
-
exports.default =
|
|
112
|
+
exports.default = TestCases;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/ctl",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.55",
|
|
4
4
|
"description": "Fonoster Control Tool",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"bugs": {
|
|
33
33
|
"url": "https://github.com/fonoster/fonoster/issues"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "4ac0cdef949d4b302a94adb1b469753c7301c4c9",
|
|
36
36
|
"bin": {
|
|
37
37
|
"fonoster": "./bin/run.js"
|
|
38
38
|
},
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@fonoster/autopilot": "^0.9.
|
|
57
|
-
"@fonoster/sdk": "^0.9.
|
|
56
|
+
"@fonoster/autopilot": "^0.9.55",
|
|
57
|
+
"@fonoster/sdk": "^0.9.55",
|
|
58
58
|
"@inquirer/prompts": "^7.1.0",
|
|
59
59
|
"@oclif/core": "^4.0.34",
|
|
60
60
|
"@oclif/plugin-warn-if-update-available": "^3.1.28",
|