@fonoster/ctl 0.3.6-alpha.3 → 0.3.6-alpha.6
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 +38 -38
- package/dist/base/delete.js +5 -5
- package/dist/commands/agents/create.js +5 -5
- package/dist/commands/agents/get.js +4 -4
- package/dist/commands/agents/list.js +2 -2
- package/dist/commands/agents/update.js +5 -5
- package/dist/commands/apps/create.js +5 -5
- package/dist/commands/apps/list.js +2 -3
- package/dist/commands/apps/update.js +5 -5
- package/dist/commands/auth/login.js +7 -7
- package/dist/commands/auth/logout.js +5 -5
- package/dist/commands/bug.js +2 -5
- package/dist/commands/domains/create.js +5 -5
- package/dist/commands/domains/get.js +4 -4
- package/dist/commands/domains/list.js +2 -2
- package/dist/commands/domains/update.js +5 -5
- package/dist/commands/feedback.js +2 -5
- package/dist/commands/numbers/create.js +5 -5
- package/dist/commands/numbers/get.js +4 -4
- package/dist/commands/numbers/list.js +2 -2
- package/dist/commands/numbers/update.js +6 -6
- package/dist/commands/projects/create.js +5 -5
- package/dist/commands/projects/get.js +4 -4
- package/dist/commands/projects/list.js +2 -2
- package/dist/commands/projects/renew.js +5 -5
- package/dist/commands/projects/use.js +5 -5
- package/dist/commands/providers/create.js +6 -6
- package/dist/commands/providers/get.js +4 -4
- package/dist/commands/providers/list.js +2 -2
- package/dist/commands/providers/update.js +5 -5
- package/dist/commands/secrets/delete.js +4 -4
- package/oclif.manifest.json +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ $ npm install -g @fonoster/ctl
|
|
|
21
21
|
$ fonoster COMMAND
|
|
22
22
|
running command...
|
|
23
23
|
$ fonoster (-v|--version|version)
|
|
24
|
-
@fonoster/ctl/0.3.6-alpha.
|
|
24
|
+
@fonoster/ctl/0.3.6-alpha.6 darwin-x64 node-v16.14.0
|
|
25
25
|
$ fonoster --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ fonoster COMMAND
|
|
@@ -90,7 +90,7 @@ DESCRIPTION
|
|
|
90
90
|
Create a new Fonoster Agent
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
_See code: [dist/commands/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
93
|
+
_See code: [dist/commands/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/agents/create.js)_
|
|
94
94
|
|
|
95
95
|
## `fonoster agents:delete [REF]`
|
|
96
96
|
|
|
@@ -105,7 +105,7 @@ ALIASES
|
|
|
105
105
|
$ fonoster agents:rm
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
_See code: [dist/commands/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
108
|
+
_See code: [dist/commands/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/agents/delete.js)_
|
|
109
109
|
|
|
110
110
|
## `fonoster agents:get [REF]`
|
|
111
111
|
|
|
@@ -116,7 +116,7 @@ USAGE
|
|
|
116
116
|
$ fonoster agents:get [REF]
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
-
_See code: [dist/commands/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
119
|
+
_See code: [dist/commands/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/agents/get.js)_
|
|
120
120
|
|
|
121
121
|
## `fonoster agents:list`
|
|
122
122
|
|
|
@@ -137,7 +137,7 @@ ALIASES
|
|
|
137
137
|
$ fonoster agents:ls
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
_See code: [dist/commands/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
140
|
+
_See code: [dist/commands/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/agents/list.js)_
|
|
141
141
|
|
|
142
142
|
## `fonoster agents:update [REF]`
|
|
143
143
|
|
|
@@ -152,7 +152,7 @@ DESCRIPTION
|
|
|
152
152
|
Update a Fonoster Agent
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
_See code: [dist/commands/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
155
|
+
_See code: [dist/commands/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/agents/update.js)_
|
|
156
156
|
|
|
157
157
|
## `fonoster apps:create`
|
|
158
158
|
|
|
@@ -167,7 +167,7 @@ DESCRIPTION
|
|
|
167
167
|
Create a new Fonoster App
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
_See code: [dist/commands/apps/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
170
|
+
_See code: [dist/commands/apps/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/apps/create.js)_
|
|
171
171
|
|
|
172
172
|
## `fonoster apps:delete [REF]`
|
|
173
173
|
|
|
@@ -182,7 +182,7 @@ ALIASES
|
|
|
182
182
|
$ fonoster apps:rm
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
-
_See code: [dist/commands/apps/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
185
|
+
_See code: [dist/commands/apps/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/apps/delete.js)_
|
|
186
186
|
|
|
187
187
|
## `fonoster apps:list`
|
|
188
188
|
|
|
@@ -203,7 +203,7 @@ ALIASES
|
|
|
203
203
|
$ fonoster apps:ls
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
-
_See code: [dist/commands/apps/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
206
|
+
_See code: [dist/commands/apps/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/apps/list.js)_
|
|
207
207
|
|
|
208
208
|
## `fonoster apps:update [REF]`
|
|
209
209
|
|
|
@@ -218,7 +218,7 @@ DESCRIPTION
|
|
|
218
218
|
Update a new Fonoster App
|
|
219
219
|
```
|
|
220
220
|
|
|
221
|
-
_See code: [dist/commands/apps/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
221
|
+
_See code: [dist/commands/apps/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/apps/update.js)_
|
|
222
222
|
|
|
223
223
|
## `fonoster auth:login`
|
|
224
224
|
|
|
@@ -229,7 +229,7 @@ USAGE
|
|
|
229
229
|
$ fonoster auth:login
|
|
230
230
|
```
|
|
231
231
|
|
|
232
|
-
_See code: [dist/commands/auth/login.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
232
|
+
_See code: [dist/commands/auth/login.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/auth/login.js)_
|
|
233
233
|
|
|
234
234
|
## `fonoster auth:logout`
|
|
235
235
|
|
|
@@ -240,7 +240,7 @@ USAGE
|
|
|
240
240
|
$ fonoster auth:logout
|
|
241
241
|
```
|
|
242
242
|
|
|
243
|
-
_See code: [dist/commands/auth/logout.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
243
|
+
_See code: [dist/commands/auth/logout.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/auth/logout.js)_
|
|
244
244
|
|
|
245
245
|
## `fonoster bug`
|
|
246
246
|
|
|
@@ -255,7 +255,7 @@ DESCRIPTION
|
|
|
255
255
|
Opens github issues with a predefine bug template
|
|
256
256
|
```
|
|
257
257
|
|
|
258
|
-
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
258
|
+
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/bug.js)_
|
|
259
259
|
|
|
260
260
|
## `fonoster domains:create`
|
|
261
261
|
|
|
@@ -270,7 +270,7 @@ DESCRIPTION
|
|
|
270
270
|
Create a new Fonoster Domain
|
|
271
271
|
```
|
|
272
272
|
|
|
273
|
-
_See code: [dist/commands/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
273
|
+
_See code: [dist/commands/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/domains/create.js)_
|
|
274
274
|
|
|
275
275
|
## `fonoster domains:delete [REF]`
|
|
276
276
|
|
|
@@ -285,7 +285,7 @@ ALIASES
|
|
|
285
285
|
$ fonoster domains:rm
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
_See code: [dist/commands/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
288
|
+
_See code: [dist/commands/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/domains/delete.js)_
|
|
289
289
|
|
|
290
290
|
## `fonoster domains:get [REF]`
|
|
291
291
|
|
|
@@ -296,7 +296,7 @@ USAGE
|
|
|
296
296
|
$ fonoster domains:get [REF]
|
|
297
297
|
```
|
|
298
298
|
|
|
299
|
-
_See code: [dist/commands/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
299
|
+
_See code: [dist/commands/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/domains/get.js)_
|
|
300
300
|
|
|
301
301
|
## `fonoster domains:list`
|
|
302
302
|
|
|
@@ -317,7 +317,7 @@ ALIASES
|
|
|
317
317
|
$ fonoster domains:ls
|
|
318
318
|
```
|
|
319
319
|
|
|
320
|
-
_See code: [dist/commands/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
320
|
+
_See code: [dist/commands/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/domains/list.js)_
|
|
321
321
|
|
|
322
322
|
## `fonoster domains:update [REF]`
|
|
323
323
|
|
|
@@ -332,7 +332,7 @@ DESCRIPTION
|
|
|
332
332
|
Update a Fonoster Domain
|
|
333
333
|
```
|
|
334
334
|
|
|
335
|
-
_See code: [dist/commands/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
335
|
+
_See code: [dist/commands/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/domains/update.js)_
|
|
336
336
|
|
|
337
337
|
## `fonoster feedback`
|
|
338
338
|
|
|
@@ -347,7 +347,7 @@ DESCRIPTION
|
|
|
347
347
|
Help us improve by providing some feedback
|
|
348
348
|
```
|
|
349
349
|
|
|
350
|
-
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
350
|
+
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/feedback.js)_
|
|
351
351
|
|
|
352
352
|
## `fonoster help [COMMAND]`
|
|
353
353
|
|
|
@@ -379,7 +379,7 @@ DESCRIPTION
|
|
|
379
379
|
Create a new Fonoster Number
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_See code: [dist/commands/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
382
|
+
_See code: [dist/commands/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/numbers/create.js)_
|
|
383
383
|
|
|
384
384
|
## `fonoster numbers:delete [REF]`
|
|
385
385
|
|
|
@@ -394,7 +394,7 @@ ALIASES
|
|
|
394
394
|
$ fonoster numbers:rm
|
|
395
395
|
```
|
|
396
396
|
|
|
397
|
-
_See code: [dist/commands/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
397
|
+
_See code: [dist/commands/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/numbers/delete.js)_
|
|
398
398
|
|
|
399
399
|
## `fonoster numbers:get [REF]`
|
|
400
400
|
|
|
@@ -405,7 +405,7 @@ USAGE
|
|
|
405
405
|
$ fonoster numbers:get [REF]
|
|
406
406
|
```
|
|
407
407
|
|
|
408
|
-
_See code: [dist/commands/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
408
|
+
_See code: [dist/commands/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/numbers/get.js)_
|
|
409
409
|
|
|
410
410
|
## `fonoster numbers:list`
|
|
411
411
|
|
|
@@ -426,7 +426,7 @@ ALIASES
|
|
|
426
426
|
$ fonoster numbers:ls
|
|
427
427
|
```
|
|
428
428
|
|
|
429
|
-
_See code: [dist/commands/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
429
|
+
_See code: [dist/commands/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/numbers/list.js)_
|
|
430
430
|
|
|
431
431
|
## `fonoster numbers:update [REF]`
|
|
432
432
|
|
|
@@ -441,7 +441,7 @@ DESCRIPTION
|
|
|
441
441
|
Update a Fonoster Number
|
|
442
442
|
```
|
|
443
443
|
|
|
444
|
-
_See code: [dist/commands/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
444
|
+
_See code: [dist/commands/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/numbers/update.js)_
|
|
445
445
|
|
|
446
446
|
## `fonoster plugins`
|
|
447
447
|
|
|
@@ -594,7 +594,7 @@ DESCRIPTION
|
|
|
594
594
|
Create a new Fonoster Project
|
|
595
595
|
```
|
|
596
596
|
|
|
597
|
-
_See code: [dist/commands/projects/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
597
|
+
_See code: [dist/commands/projects/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/projects/create.js)_
|
|
598
598
|
|
|
599
599
|
## `fonoster projects:delete [REF]`
|
|
600
600
|
|
|
@@ -609,7 +609,7 @@ ALIASES
|
|
|
609
609
|
$ fonoster projects:rm
|
|
610
610
|
```
|
|
611
611
|
|
|
612
|
-
_See code: [dist/commands/projects/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
612
|
+
_See code: [dist/commands/projects/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/projects/delete.js)_
|
|
613
613
|
|
|
614
614
|
## `fonoster projects:get [REF]`
|
|
615
615
|
|
|
@@ -620,7 +620,7 @@ USAGE
|
|
|
620
620
|
$ fonoster projects:get [REF]
|
|
621
621
|
```
|
|
622
622
|
|
|
623
|
-
_See code: [dist/commands/projects/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
623
|
+
_See code: [dist/commands/projects/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/projects/get.js)_
|
|
624
624
|
|
|
625
625
|
## `fonoster projects:list`
|
|
626
626
|
|
|
@@ -638,7 +638,7 @@ ALIASES
|
|
|
638
638
|
$ fonoster projects:ls
|
|
639
639
|
```
|
|
640
640
|
|
|
641
|
-
_See code: [dist/commands/projects/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
641
|
+
_See code: [dist/commands/projects/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/projects/list.js)_
|
|
642
642
|
|
|
643
643
|
## `fonoster projects:renew [REF]`
|
|
644
644
|
|
|
@@ -653,7 +653,7 @@ DESCRIPTION
|
|
|
653
653
|
Renew the credentials of a Fonoster Project
|
|
654
654
|
```
|
|
655
655
|
|
|
656
|
-
_See code: [dist/commands/projects/renew.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
656
|
+
_See code: [dist/commands/projects/renew.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/projects/renew.js)_
|
|
657
657
|
|
|
658
658
|
## `fonoster projects:use [REF]`
|
|
659
659
|
|
|
@@ -668,7 +668,7 @@ DESCRIPTION
|
|
|
668
668
|
Set a default Fonoster Project
|
|
669
669
|
```
|
|
670
670
|
|
|
671
|
-
_See code: [dist/commands/projects/use.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
671
|
+
_See code: [dist/commands/projects/use.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/projects/use.js)_
|
|
672
672
|
|
|
673
673
|
## `fonoster providers:create`
|
|
674
674
|
|
|
@@ -683,7 +683,7 @@ DESCRIPTION
|
|
|
683
683
|
Create a new Fonoster Provider
|
|
684
684
|
```
|
|
685
685
|
|
|
686
|
-
_See code: [dist/commands/providers/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
686
|
+
_See code: [dist/commands/providers/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/providers/create.js)_
|
|
687
687
|
|
|
688
688
|
## `fonoster providers:delete [REF]`
|
|
689
689
|
|
|
@@ -698,7 +698,7 @@ ALIASES
|
|
|
698
698
|
$ fonoster providers:rm
|
|
699
699
|
```
|
|
700
700
|
|
|
701
|
-
_See code: [dist/commands/providers/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
701
|
+
_See code: [dist/commands/providers/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/providers/delete.js)_
|
|
702
702
|
|
|
703
703
|
## `fonoster providers:get [REF]`
|
|
704
704
|
|
|
@@ -709,7 +709,7 @@ USAGE
|
|
|
709
709
|
$ fonoster providers:get [REF]
|
|
710
710
|
```
|
|
711
711
|
|
|
712
|
-
_See code: [dist/commands/providers/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
712
|
+
_See code: [dist/commands/providers/get.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/providers/get.js)_
|
|
713
713
|
|
|
714
714
|
## `fonoster providers:list`
|
|
715
715
|
|
|
@@ -730,7 +730,7 @@ ALIASES
|
|
|
730
730
|
$ fonoster providers:ls
|
|
731
731
|
```
|
|
732
732
|
|
|
733
|
-
_See code: [dist/commands/providers/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
733
|
+
_See code: [dist/commands/providers/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/providers/list.js)_
|
|
734
734
|
|
|
735
735
|
## `fonoster providers:update [REF]`
|
|
736
736
|
|
|
@@ -745,7 +745,7 @@ DESCRIPTION
|
|
|
745
745
|
Update a Fonoster Provider
|
|
746
746
|
```
|
|
747
747
|
|
|
748
|
-
_See code: [dist/commands/providers/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
748
|
+
_See code: [dist/commands/providers/update.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/providers/update.js)_
|
|
749
749
|
|
|
750
750
|
## `fonoster secrets:create [NAME]`
|
|
751
751
|
|
|
@@ -761,7 +761,7 @@ OPTIONS
|
|
|
761
761
|
-s, --from-stdin pass from stdin
|
|
762
762
|
```
|
|
763
763
|
|
|
764
|
-
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
764
|
+
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/secrets/create.js)_
|
|
765
765
|
|
|
766
766
|
## `fonoster secrets:delete [NAME]`
|
|
767
767
|
|
|
@@ -776,7 +776,7 @@ ALIASES
|
|
|
776
776
|
$ fonoster secrets:rm
|
|
777
777
|
```
|
|
778
778
|
|
|
779
|
-
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
779
|
+
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/secrets/delete.js)_
|
|
780
780
|
|
|
781
781
|
## `fonoster secrets:list`
|
|
782
782
|
|
|
@@ -793,5 +793,5 @@ ALIASES
|
|
|
793
793
|
$ fonoster secrets:ls
|
|
794
794
|
```
|
|
795
795
|
|
|
796
|
-
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.
|
|
796
|
+
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.3.6-alpha.6/dist/commands/secrets/list.js)_
|
|
797
797
|
<!-- commandsstop -->
|
package/dist/base/delete.js
CHANGED
|
@@ -5,18 +5,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
require("../config");
|
|
7
7
|
const command_1 = __importDefault(require("@oclif/command"));
|
|
8
|
-
const
|
|
8
|
+
const core_1 = require("@oclif/core");
|
|
9
9
|
const errors_1 = require("@oclif/errors");
|
|
10
10
|
class default_1 extends command_1.default {
|
|
11
11
|
async deleteResource(API, funcName) {
|
|
12
12
|
if (!this.ref) {
|
|
13
|
-
|
|
13
|
+
core_1.CliUx.ux.action.stop();
|
|
14
14
|
throw new errors_1.CLIError("You must provide a resource ref before continuing");
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
core_1.CliUx.ux.action.start(`Deleting resource ${this.ref}`);
|
|
17
17
|
const results = await API[funcName](this.ref);
|
|
18
|
-
await
|
|
19
|
-
|
|
18
|
+
await core_1.CliUx.ux.wait(1000);
|
|
19
|
+
core_1.CliUx.ux.action.stop(results ? "Done" : "Failed");
|
|
20
20
|
}
|
|
21
21
|
async init() {
|
|
22
22
|
const { args } = this.parse(this.constructor);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
require("../../config");
|
|
4
4
|
const errors_1 = require("@oclif/errors");
|
|
5
5
|
const command_1 = require("@oclif/command");
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@oclif/core");
|
|
7
7
|
const config_1 = require("../../config");
|
|
8
8
|
const Agents = require("@fonoster/agents");
|
|
9
9
|
const Domains = require("@fonoster/domains");
|
|
@@ -66,14 +66,14 @@ class default_1 extends command_1.Command {
|
|
|
66
66
|
}
|
|
67
67
|
else {
|
|
68
68
|
try {
|
|
69
|
-
|
|
69
|
+
core_1.CliUx.ux.action.start(`Creating agent ${answers.name}`);
|
|
70
70
|
const agents = new Agents((0, config_1.getProjectConfig)());
|
|
71
71
|
const agent = await agents.createAgent(answers);
|
|
72
|
-
await
|
|
73
|
-
|
|
72
|
+
await core_1.CliUx.ux.wait(1000);
|
|
73
|
+
core_1.CliUx.ux.action.stop(agent.ref);
|
|
74
74
|
}
|
|
75
75
|
catch (e) {
|
|
76
|
-
|
|
76
|
+
core_1.CliUx.ux.action.stop();
|
|
77
77
|
if (e.code === 9) {
|
|
78
78
|
throw new errors_1.CLIError("This Agent already exist");
|
|
79
79
|
}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
require("../../config");
|
|
4
4
|
const errors_1 = require("@oclif/errors");
|
|
5
5
|
const command_1 = require("@oclif/command");
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@oclif/core");
|
|
7
7
|
const prettyjson_1 = require("prettyjson");
|
|
8
8
|
const config_1 = require("../../config");
|
|
9
9
|
const Agents = require("@fonoster/agents");
|
|
@@ -16,7 +16,7 @@ class GetCommand extends command_1.Command {
|
|
|
16
16
|
const { args } = this.parse(GetCommand);
|
|
17
17
|
try {
|
|
18
18
|
const agents = new Agents((0, config_1.getProjectConfig)());
|
|
19
|
-
|
|
19
|
+
core_1.CliUx.ux.action.start(`Getting Agent ${args.ref}`);
|
|
20
20
|
const agent = await agents.getAgent(args.ref);
|
|
21
21
|
const jsonObj = {
|
|
22
22
|
Ref: agent.ref,
|
|
@@ -27,8 +27,8 @@ class GetCommand extends command_1.Command {
|
|
|
27
27
|
Created: moment(agent.createTime).fromNow(),
|
|
28
28
|
Updated: moment(agent.updateTime).fromNow()
|
|
29
29
|
};
|
|
30
|
-
await
|
|
31
|
-
|
|
30
|
+
await core_1.CliUx.ux.wait(1000);
|
|
31
|
+
core_1.CliUx.ux.action.stop("");
|
|
32
32
|
console.log((0, prettyjson_1.render)(jsonObj, { noColor: true }));
|
|
33
33
|
}
|
|
34
34
|
catch (e) {
|
|
@@ -4,7 +4,7 @@ require("../../config");
|
|
|
4
4
|
const errors_1 = require("@oclif/errors");
|
|
5
5
|
const command_1 = require("@oclif/command");
|
|
6
6
|
const agents_1 = require("@fonoster/agents");
|
|
7
|
-
const
|
|
7
|
+
const core_1 = require("@oclif/core");
|
|
8
8
|
const config_1 = require("../../config");
|
|
9
9
|
const Agents = require("@fonoster/agents");
|
|
10
10
|
const inquirer = require("inquirer");
|
|
@@ -36,7 +36,7 @@ class ListCommand extends command_1.Command {
|
|
|
36
36
|
if (list.length < 1)
|
|
37
37
|
break;
|
|
38
38
|
const showTable = (showHeader, data) => {
|
|
39
|
-
|
|
39
|
+
core_1.CliUx.ux.table(data, {
|
|
40
40
|
ref: { minWidth: 12 },
|
|
41
41
|
name: { header: "Name", minWidth: 12 },
|
|
42
42
|
username: { header: "Username", minWidth: 12 },
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
require("../../config");
|
|
4
4
|
const errors_1 = require("@oclif/errors");
|
|
5
5
|
const command_1 = require("@oclif/command");
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@oclif/core");
|
|
7
7
|
const config_1 = require("../../config");
|
|
8
8
|
const Agents = require("@fonoster/agents");
|
|
9
9
|
const inquirer = require("inquirer");
|
|
@@ -49,13 +49,13 @@ class UpdateCommand extends command_1.Command {
|
|
|
49
49
|
}
|
|
50
50
|
else {
|
|
51
51
|
try {
|
|
52
|
-
|
|
52
|
+
core_1.CliUx.ux.action.start(`Updating agent ${answers.name}`);
|
|
53
53
|
await agents.updateAgent(answers);
|
|
54
|
-
await
|
|
55
|
-
|
|
54
|
+
await core_1.CliUx.ux.wait(1000);
|
|
55
|
+
core_1.CliUx.ux.action.stop("Done");
|
|
56
56
|
}
|
|
57
57
|
catch (e) {
|
|
58
|
-
|
|
58
|
+
core_1.CliUx.ux.action.stop();
|
|
59
59
|
throw new errors_1.CLIError(e.message);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
require("../../config");
|
|
10
10
|
const errors_1 = require("@oclif/errors");
|
|
11
11
|
const command_1 = require("@oclif/command");
|
|
12
|
-
const
|
|
12
|
+
const core_1 = require("@oclif/core");
|
|
13
13
|
const config_1 = require("../../config");
|
|
14
14
|
const project_guard_1 = require("../../decorators/project_guard");
|
|
15
15
|
const voices_1 = require("../../data/voices");
|
|
@@ -162,16 +162,16 @@ class CreateCommand extends command_1.Command {
|
|
|
162
162
|
]);
|
|
163
163
|
if (!confirmPrompt.confirm)
|
|
164
164
|
return console.log("Aborted");
|
|
165
|
-
|
|
165
|
+
core_1.CliUx.ux.action.start(`Creating App ${answers.name}`);
|
|
166
166
|
const apps = new Apps((0, config_1.getProjectConfig)());
|
|
167
167
|
delete answers.showAdvanceOptions;
|
|
168
168
|
delete answers.engine;
|
|
169
169
|
const result = await apps.createApp(answers);
|
|
170
|
-
await
|
|
171
|
-
|
|
170
|
+
await core_1.CliUx.ux.wait(1000);
|
|
171
|
+
core_1.CliUx.ux.action.stop(result.ref);
|
|
172
172
|
}
|
|
173
173
|
catch (e) {
|
|
174
|
-
|
|
174
|
+
core_1.CliUx.ux.action.stop();
|
|
175
175
|
throw new errors_1.CLIError(e.code === 9 ? "This App already exist" : e.message);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
@@ -10,11 +10,10 @@ require("../../config");
|
|
|
10
10
|
const domains_1 = require("@fonoster/domains");
|
|
11
11
|
const errors_1 = require("@oclif/errors");
|
|
12
12
|
const command_1 = require("@oclif/command");
|
|
13
|
-
const
|
|
13
|
+
const core_1 = require("@oclif/core");
|
|
14
14
|
const config_1 = require("../../config");
|
|
15
15
|
const project_guard_1 = require("../../decorators/project_guard");
|
|
16
16
|
const Apps = require("@fonoster/apps");
|
|
17
|
-
const inquirer = require("inquirer");
|
|
18
17
|
class ListCommand extends command_1.Command {
|
|
19
18
|
async run() {
|
|
20
19
|
const { flags } = this.parse(ListCommand);
|
|
@@ -42,7 +41,7 @@ class ListCommand extends command_1.Command {
|
|
|
42
41
|
*/
|
|
43
42
|
// if (list.length < 1) break;
|
|
44
43
|
const showTable = (showHeader, data) => {
|
|
45
|
-
|
|
44
|
+
core_1.CliUx.ux.table(data, {
|
|
46
45
|
ref: { minWidth: 15 },
|
|
47
46
|
name: { header: "Name", minWidth: 15 },
|
|
48
47
|
projectId: {
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
require("../../config");
|
|
10
10
|
const errors_1 = require("@oclif/errors");
|
|
11
11
|
const command_1 = require("@oclif/command");
|
|
12
|
-
const
|
|
12
|
+
const core_1 = require("@oclif/core");
|
|
13
13
|
const config_1 = require("../../config");
|
|
14
14
|
const project_guard_1 = require("../../decorators/project_guard");
|
|
15
15
|
const voices_1 = require("../../data/voices");
|
|
@@ -180,17 +180,17 @@ class UpdateCommand extends command_1.Command {
|
|
|
180
180
|
]);
|
|
181
181
|
if (!confirmPrompt.confirm)
|
|
182
182
|
return console.log("Aborted");
|
|
183
|
-
|
|
183
|
+
core_1.CliUx.ux.action.start(`Updating App ${answers.name}`);
|
|
184
184
|
const apps = new Apps((0, config_1.getProjectConfig)());
|
|
185
185
|
delete answers.showAdvanceOptions;
|
|
186
186
|
delete answers.engine;
|
|
187
187
|
answers.ref = args.ref;
|
|
188
188
|
const result = await apps.updateApp(answers);
|
|
189
|
-
await
|
|
190
|
-
|
|
189
|
+
await core_1.CliUx.ux.wait(1000);
|
|
190
|
+
core_1.CliUx.ux.action.stop(`App ${result.ref} updated`);
|
|
191
191
|
}
|
|
192
192
|
catch (e) {
|
|
193
|
-
|
|
193
|
+
core_1.CliUx.ux.action.stop();
|
|
194
194
|
throw new errors_1.CLIError(e.code === 9 ? "This App already exist" : e.message);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
require("../../config");
|
|
4
4
|
const errors_1 = require("@oclif/errors");
|
|
5
5
|
const command_1 = require("@oclif/command");
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@oclif/core");
|
|
7
7
|
const config_1 = require("../../config");
|
|
8
8
|
const Projects = require("@fonoster/projects");
|
|
9
9
|
const inquirer = require("inquirer");
|
|
@@ -40,23 +40,23 @@ class default_1 extends command_1.Command {
|
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
42
42
|
try {
|
|
43
|
-
|
|
43
|
+
core_1.CliUx.ux.action.start(`Accessing endpoint ${answers.endpoint}`);
|
|
44
44
|
try {
|
|
45
45
|
const projects = new Projects(answers);
|
|
46
46
|
await projects.listProjects();
|
|
47
47
|
answers.confirm = void 0;
|
|
48
48
|
(0, config_1.setConfig)(answers);
|
|
49
|
-
await
|
|
50
|
-
|
|
49
|
+
await core_1.CliUx.ux.wait(1000);
|
|
50
|
+
core_1.CliUx.ux.action.stop("Done");
|
|
51
51
|
}
|
|
52
52
|
catch (e) {
|
|
53
53
|
console.error(e.message);
|
|
54
|
-
await
|
|
55
|
-
|
|
54
|
+
await core_1.CliUx.ux.wait(1000);
|
|
55
|
+
core_1.CliUx.ux.action.stop("Invalid credentials or endpoint");
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
catch (e) {
|
|
59
|
-
|
|
59
|
+
core_1.CliUx.ux.action.stop();
|
|
60
60
|
throw new errors_1.CLIError(e.message);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -3,21 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
require("../../config");
|
|
4
4
|
const errors_1 = require("@oclif/errors");
|
|
5
5
|
const command_1 = require("@oclif/command");
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@oclif/core");
|
|
7
7
|
const path_1 = require("path");
|
|
8
8
|
const os_1 = require("os");
|
|
9
9
|
const BASE_DIR = (0, path_1.join)((0, os_1.homedir)(), ".fonoster");
|
|
10
10
|
const fs = require("fs");
|
|
11
11
|
class default_1 extends command_1.Command {
|
|
12
12
|
async run() {
|
|
13
|
-
|
|
13
|
+
core_1.CliUx.ux.action.start(`Login out`);
|
|
14
14
|
try {
|
|
15
15
|
fs.rmSync(BASE_DIR, { recursive: true });
|
|
16
|
-
await
|
|
17
|
-
|
|
16
|
+
await core_1.CliUx.ux.wait(1000);
|
|
17
|
+
core_1.CliUx.ux.action.stop("Done");
|
|
18
18
|
}
|
|
19
19
|
catch (e) {
|
|
20
|
-
|
|
20
|
+
core_1.CliUx.ux.action.stop();
|
|
21
21
|
throw new errors_1.CLIError(e.message);
|
|
22
22
|
}
|
|
23
23
|
}
|
package/dist/commands/bug.js
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
require("../config");
|
|
7
|
-
const
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
8
5
|
const command_1 = require("@oclif/command");
|
|
9
6
|
class default_1 extends command_1.Command {
|
|
10
7
|
async run() {
|
|
11
|
-
await
|
|
8
|
+
await core_1.CliUx.ux.open("https://github.com/fonoster/fonoster/issues/new?assignees=&labels=&template=bug_report.md&title=");
|
|
12
9
|
}
|
|
13
10
|
}
|
|
14
11
|
exports.default = default_1;
|