@botpress/cli 7.0.1 → 7.0.2
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/.turbo/turbo-build.log +12 -12
- package/dist/code-generation/strings.d.ts +1 -1
- package/dist/command-definitions.d.ts +426 -426
- package/dist/command-implementations/index.d.ts +470 -470
- package/dist/config.d.ts +295 -295
- package/dist/index.d.ts +460 -460
- package/dist/linter/ruleset-tests/common.d.ts +1 -1
- package/dist/project-templates.d.ts +15 -15
- package/dist/tables/schemas.d.ts +18 -18
- package/dist/utils/case-utils.d.ts +6 -6
- package/dist/utils/path-utils.d.ts +1 -1
- package/dist/utils/prompt-utils.js +7 -1
- package/dist/utils/prompt-utils.js.map +2 -2
- package/dist/utils/type-utils.d.ts +1 -1
- package/dist/utils/url-utils.d.ts +1 -1
- package/package.json +6 -6
- package/templates/empty-bot/package.json +3 -3
- package/templates/empty-bot/tsconfig.json +3 -2
- package/templates/empty-integration/package.json +3 -3
- package/templates/empty-integration/tsconfig.json +3 -2
- package/templates/empty-plugin/package.json +2 -2
- package/templates/empty-plugin/tsconfig.json +3 -2
- package/templates/hello-world/package.json +3 -3
- package/templates/hello-world/tsconfig.json +3 -2
- package/templates/webhook-message/package.json +3 -3
- package/templates/webhook-message/tsconfig.json +3 -2
- package/tsconfig.build.json +1 -1
- package/tsconfig.ts-node.json +6 -0
- package/eslint.config.mjs +0 -14
package/dist/index.d.ts
CHANGED
|
@@ -3,19 +3,6 @@ declare const _default: {
|
|
|
3
3
|
login: (argv: typings.CommandArgv<{
|
|
4
4
|
description: string;
|
|
5
5
|
schema: {
|
|
6
|
-
token: {
|
|
7
|
-
type: "string";
|
|
8
|
-
description: string;
|
|
9
|
-
};
|
|
10
|
-
workspaceId: {
|
|
11
|
-
type: "string";
|
|
12
|
-
description: string;
|
|
13
|
-
};
|
|
14
|
-
apiUrl: {
|
|
15
|
-
default: string;
|
|
16
|
-
type: "string";
|
|
17
|
-
description: string;
|
|
18
|
-
};
|
|
19
6
|
verbose: {
|
|
20
7
|
type: "boolean";
|
|
21
8
|
description: string;
|
|
@@ -43,6 +30,19 @@ declare const _default: {
|
|
|
43
30
|
description: string;
|
|
44
31
|
alias: string;
|
|
45
32
|
};
|
|
33
|
+
token: {
|
|
34
|
+
type: "string";
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
workspaceId: {
|
|
38
|
+
type: "string";
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
apiUrl: {
|
|
42
|
+
type: "string";
|
|
43
|
+
description: string;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
46
|
};
|
|
47
47
|
}>) => Promise<{
|
|
48
48
|
exitCode: number;
|
|
@@ -85,15 +85,33 @@ declare const _default: {
|
|
|
85
85
|
create: (argv: typings.CommandArgv<{
|
|
86
86
|
description: string;
|
|
87
87
|
schema: {
|
|
88
|
-
|
|
89
|
-
type: "
|
|
88
|
+
verbose: {
|
|
89
|
+
type: "boolean";
|
|
90
|
+
description: string;
|
|
91
|
+
alias: string;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
confirm: {
|
|
95
|
+
type: "boolean";
|
|
90
96
|
description: string;
|
|
97
|
+
alias: string;
|
|
98
|
+
default: boolean;
|
|
91
99
|
};
|
|
92
|
-
|
|
100
|
+
json: {
|
|
93
101
|
type: "boolean";
|
|
94
102
|
description: string;
|
|
95
103
|
default: boolean;
|
|
96
104
|
};
|
|
105
|
+
botpressHome: {
|
|
106
|
+
type: "string";
|
|
107
|
+
description: string;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
profile: {
|
|
111
|
+
type: "string";
|
|
112
|
+
description: string;
|
|
113
|
+
alias: string;
|
|
114
|
+
};
|
|
97
115
|
apiUrl: {
|
|
98
116
|
type: "string";
|
|
99
117
|
description: string;
|
|
@@ -106,6 +124,23 @@ declare const _default: {
|
|
|
106
124
|
type: "string";
|
|
107
125
|
description: string;
|
|
108
126
|
};
|
|
127
|
+
name: {
|
|
128
|
+
type: "string";
|
|
129
|
+
description: string;
|
|
130
|
+
};
|
|
131
|
+
ifNotExists: {
|
|
132
|
+
type: "boolean";
|
|
133
|
+
description: string;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
alias: string;
|
|
138
|
+
}>) => Promise<{
|
|
139
|
+
exitCode: number;
|
|
140
|
+
}>;
|
|
141
|
+
get: (argv: typings.CommandArgv<{
|
|
142
|
+
description: string;
|
|
143
|
+
schema: {
|
|
109
144
|
verbose: {
|
|
110
145
|
type: "boolean";
|
|
111
146
|
description: string;
|
|
@@ -133,21 +168,6 @@ declare const _default: {
|
|
|
133
168
|
description: string;
|
|
134
169
|
alias: string;
|
|
135
170
|
};
|
|
136
|
-
};
|
|
137
|
-
alias: string;
|
|
138
|
-
}>) => Promise<{
|
|
139
|
-
exitCode: number;
|
|
140
|
-
}>;
|
|
141
|
-
get: (argv: typings.CommandArgv<{
|
|
142
|
-
description: string;
|
|
143
|
-
schema: {
|
|
144
|
-
botRef: {
|
|
145
|
-
type: "string";
|
|
146
|
-
description: string;
|
|
147
|
-
demandOption: true;
|
|
148
|
-
positional: true;
|
|
149
|
-
idx: number;
|
|
150
|
-
};
|
|
151
171
|
apiUrl: {
|
|
152
172
|
type: "string";
|
|
153
173
|
description: string;
|
|
@@ -160,6 +180,20 @@ declare const _default: {
|
|
|
160
180
|
type: "string";
|
|
161
181
|
description: string;
|
|
162
182
|
};
|
|
183
|
+
botRef: {
|
|
184
|
+
type: "string";
|
|
185
|
+
description: string;
|
|
186
|
+
demandOption: true;
|
|
187
|
+
positional: true;
|
|
188
|
+
idx: number;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
}>) => Promise<{
|
|
192
|
+
exitCode: number;
|
|
193
|
+
}>;
|
|
194
|
+
delete: (argv: typings.CommandArgv<{
|
|
195
|
+
description: string;
|
|
196
|
+
schema: {
|
|
163
197
|
verbose: {
|
|
164
198
|
type: "boolean";
|
|
165
199
|
description: string;
|
|
@@ -187,20 +221,6 @@ declare const _default: {
|
|
|
187
221
|
description: string;
|
|
188
222
|
alias: string;
|
|
189
223
|
};
|
|
190
|
-
};
|
|
191
|
-
}>) => Promise<{
|
|
192
|
-
exitCode: number;
|
|
193
|
-
}>;
|
|
194
|
-
delete: (argv: typings.CommandArgv<{
|
|
195
|
-
description: string;
|
|
196
|
-
schema: {
|
|
197
|
-
botRef: {
|
|
198
|
-
type: "string";
|
|
199
|
-
description: string;
|
|
200
|
-
demandOption: true;
|
|
201
|
-
positional: true;
|
|
202
|
-
idx: number;
|
|
203
|
-
};
|
|
204
224
|
apiUrl: {
|
|
205
225
|
type: "string";
|
|
206
226
|
description: string;
|
|
@@ -213,6 +233,21 @@ declare const _default: {
|
|
|
213
233
|
type: "string";
|
|
214
234
|
description: string;
|
|
215
235
|
};
|
|
236
|
+
botRef: {
|
|
237
|
+
type: "string";
|
|
238
|
+
description: string;
|
|
239
|
+
demandOption: true;
|
|
240
|
+
positional: true;
|
|
241
|
+
idx: number;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
alias: string;
|
|
245
|
+
}>) => Promise<{
|
|
246
|
+
exitCode: number;
|
|
247
|
+
}>;
|
|
248
|
+
list: (argv: typings.CommandArgv<{
|
|
249
|
+
description: string;
|
|
250
|
+
schema: {
|
|
216
251
|
verbose: {
|
|
217
252
|
type: "boolean";
|
|
218
253
|
description: string;
|
|
@@ -240,19 +275,6 @@ declare const _default: {
|
|
|
240
275
|
description: string;
|
|
241
276
|
alias: string;
|
|
242
277
|
};
|
|
243
|
-
};
|
|
244
|
-
alias: string;
|
|
245
|
-
}>) => Promise<{
|
|
246
|
-
exitCode: number;
|
|
247
|
-
}>;
|
|
248
|
-
list: (argv: typings.CommandArgv<{
|
|
249
|
-
description: string;
|
|
250
|
-
schema: {
|
|
251
|
-
dev: {
|
|
252
|
-
type: "boolean";
|
|
253
|
-
description: string;
|
|
254
|
-
default: boolean;
|
|
255
|
-
};
|
|
256
278
|
apiUrl: {
|
|
257
279
|
type: "string";
|
|
258
280
|
description: string;
|
|
@@ -265,6 +287,21 @@ declare const _default: {
|
|
|
265
287
|
type: "string";
|
|
266
288
|
description: string;
|
|
267
289
|
};
|
|
290
|
+
dev: {
|
|
291
|
+
type: "boolean";
|
|
292
|
+
description: string;
|
|
293
|
+
default: boolean;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
alias: string;
|
|
297
|
+
}>) => Promise<{
|
|
298
|
+
exitCode: number;
|
|
299
|
+
}>;
|
|
300
|
+
};
|
|
301
|
+
integrations: {
|
|
302
|
+
get: (argv: typings.CommandArgv<{
|
|
303
|
+
description: string;
|
|
304
|
+
schema: {
|
|
268
305
|
verbose: {
|
|
269
306
|
type: "boolean";
|
|
270
307
|
description: string;
|
|
@@ -292,23 +329,6 @@ declare const _default: {
|
|
|
292
329
|
description: string;
|
|
293
330
|
alias: string;
|
|
294
331
|
};
|
|
295
|
-
};
|
|
296
|
-
alias: string;
|
|
297
|
-
}>) => Promise<{
|
|
298
|
-
exitCode: number;
|
|
299
|
-
}>;
|
|
300
|
-
};
|
|
301
|
-
integrations: {
|
|
302
|
-
get: (argv: typings.CommandArgv<{
|
|
303
|
-
description: string;
|
|
304
|
-
schema: {
|
|
305
|
-
integrationRef: {
|
|
306
|
-
demandOption: true;
|
|
307
|
-
description: string;
|
|
308
|
-
type: "string";
|
|
309
|
-
positional: true;
|
|
310
|
-
idx: number;
|
|
311
|
-
};
|
|
312
332
|
apiUrl: {
|
|
313
333
|
type: "string";
|
|
314
334
|
description: string;
|
|
@@ -321,6 +341,20 @@ declare const _default: {
|
|
|
321
341
|
type: "string";
|
|
322
342
|
description: string;
|
|
323
343
|
};
|
|
344
|
+
integrationRef: {
|
|
345
|
+
type: "string";
|
|
346
|
+
positional: true;
|
|
347
|
+
idx: number;
|
|
348
|
+
demandOption: true;
|
|
349
|
+
description: string;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
}>) => Promise<{
|
|
353
|
+
exitCode: number;
|
|
354
|
+
}>;
|
|
355
|
+
list: (argv: typings.CommandArgv<{
|
|
356
|
+
description: string;
|
|
357
|
+
schema: {
|
|
324
358
|
verbose: {
|
|
325
359
|
type: "boolean";
|
|
326
360
|
description: string;
|
|
@@ -348,13 +382,18 @@ declare const _default: {
|
|
|
348
382
|
description: string;
|
|
349
383
|
alias: string;
|
|
350
384
|
};
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
385
|
+
apiUrl: {
|
|
386
|
+
type: "string";
|
|
387
|
+
description: string;
|
|
388
|
+
};
|
|
389
|
+
workspaceId: {
|
|
390
|
+
type: "string";
|
|
391
|
+
description: string;
|
|
392
|
+
};
|
|
393
|
+
token: {
|
|
394
|
+
type: "string";
|
|
395
|
+
description: string;
|
|
396
|
+
};
|
|
358
397
|
name: {
|
|
359
398
|
type: "string";
|
|
360
399
|
description: string;
|
|
@@ -380,18 +419,14 @@ declare const _default: {
|
|
|
380
419
|
description: string;
|
|
381
420
|
default: boolean;
|
|
382
421
|
};
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
token: {
|
|
392
|
-
type: "string";
|
|
393
|
-
description: string;
|
|
394
|
-
};
|
|
422
|
+
};
|
|
423
|
+
alias: string;
|
|
424
|
+
}>) => Promise<{
|
|
425
|
+
exitCode: number;
|
|
426
|
+
}>;
|
|
427
|
+
delete: (argv: typings.CommandArgv<{
|
|
428
|
+
description: string;
|
|
429
|
+
schema: {
|
|
395
430
|
verbose: {
|
|
396
431
|
type: "boolean";
|
|
397
432
|
description: string;
|
|
@@ -419,21 +454,6 @@ declare const _default: {
|
|
|
419
454
|
description: string;
|
|
420
455
|
alias: string;
|
|
421
456
|
};
|
|
422
|
-
};
|
|
423
|
-
alias: string;
|
|
424
|
-
}>) => Promise<{
|
|
425
|
-
exitCode: number;
|
|
426
|
-
}>;
|
|
427
|
-
delete: (argv: typings.CommandArgv<{
|
|
428
|
-
description: string;
|
|
429
|
-
schema: {
|
|
430
|
-
integrationRef: {
|
|
431
|
-
demandOption: true;
|
|
432
|
-
description: string;
|
|
433
|
-
type: "string";
|
|
434
|
-
positional: true;
|
|
435
|
-
idx: number;
|
|
436
|
-
};
|
|
437
457
|
apiUrl: {
|
|
438
458
|
type: "string";
|
|
439
459
|
description: string;
|
|
@@ -446,6 +466,23 @@ declare const _default: {
|
|
|
446
466
|
type: "string";
|
|
447
467
|
description: string;
|
|
448
468
|
};
|
|
469
|
+
integrationRef: {
|
|
470
|
+
type: "string";
|
|
471
|
+
positional: true;
|
|
472
|
+
idx: number;
|
|
473
|
+
demandOption: true;
|
|
474
|
+
description: string;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
alias: string;
|
|
478
|
+
}>) => Promise<{
|
|
479
|
+
exitCode: number;
|
|
480
|
+
}>;
|
|
481
|
+
};
|
|
482
|
+
interfaces: {
|
|
483
|
+
get: (argv: typings.CommandArgv<{
|
|
484
|
+
description: string;
|
|
485
|
+
schema: {
|
|
449
486
|
verbose: {
|
|
450
487
|
type: "boolean";
|
|
451
488
|
description: string;
|
|
@@ -473,23 +510,6 @@ declare const _default: {
|
|
|
473
510
|
description: string;
|
|
474
511
|
alias: string;
|
|
475
512
|
};
|
|
476
|
-
};
|
|
477
|
-
alias: string;
|
|
478
|
-
}>) => Promise<{
|
|
479
|
-
exitCode: number;
|
|
480
|
-
}>;
|
|
481
|
-
};
|
|
482
|
-
interfaces: {
|
|
483
|
-
get: (argv: typings.CommandArgv<{
|
|
484
|
-
description: string;
|
|
485
|
-
schema: {
|
|
486
|
-
interfaceRef: {
|
|
487
|
-
demandOption: true;
|
|
488
|
-
description: string;
|
|
489
|
-
type: "string";
|
|
490
|
-
positional: true;
|
|
491
|
-
idx: number;
|
|
492
|
-
};
|
|
493
513
|
apiUrl: {
|
|
494
514
|
type: "string";
|
|
495
515
|
description: string;
|
|
@@ -502,6 +522,20 @@ declare const _default: {
|
|
|
502
522
|
type: "string";
|
|
503
523
|
description: string;
|
|
504
524
|
};
|
|
525
|
+
interfaceRef: {
|
|
526
|
+
type: "string";
|
|
527
|
+
positional: true;
|
|
528
|
+
idx: number;
|
|
529
|
+
demandOption: true;
|
|
530
|
+
description: string;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
}>) => Promise<{
|
|
534
|
+
exitCode: number;
|
|
535
|
+
}>;
|
|
536
|
+
list: (argv: typings.CommandArgv<{
|
|
537
|
+
description: string;
|
|
538
|
+
schema: {
|
|
505
539
|
verbose: {
|
|
506
540
|
type: "boolean";
|
|
507
541
|
description: string;
|
|
@@ -529,13 +563,6 @@ declare const _default: {
|
|
|
529
563
|
description: string;
|
|
530
564
|
alias: string;
|
|
531
565
|
};
|
|
532
|
-
};
|
|
533
|
-
}>) => Promise<{
|
|
534
|
-
exitCode: number;
|
|
535
|
-
}>;
|
|
536
|
-
list: (argv: typings.CommandArgv<{
|
|
537
|
-
description: string;
|
|
538
|
-
schema: {
|
|
539
566
|
apiUrl: {
|
|
540
567
|
type: "string";
|
|
541
568
|
description: string;
|
|
@@ -548,6 +575,14 @@ declare const _default: {
|
|
|
548
575
|
type: "string";
|
|
549
576
|
description: string;
|
|
550
577
|
};
|
|
578
|
+
};
|
|
579
|
+
alias: string;
|
|
580
|
+
}>) => Promise<{
|
|
581
|
+
exitCode: number;
|
|
582
|
+
}>;
|
|
583
|
+
delete: (argv: typings.CommandArgv<{
|
|
584
|
+
description: string;
|
|
585
|
+
schema: {
|
|
551
586
|
verbose: {
|
|
552
587
|
type: "boolean";
|
|
553
588
|
description: string;
|
|
@@ -575,21 +610,6 @@ declare const _default: {
|
|
|
575
610
|
description: string;
|
|
576
611
|
alias: string;
|
|
577
612
|
};
|
|
578
|
-
};
|
|
579
|
-
alias: string;
|
|
580
|
-
}>) => Promise<{
|
|
581
|
-
exitCode: number;
|
|
582
|
-
}>;
|
|
583
|
-
delete: (argv: typings.CommandArgv<{
|
|
584
|
-
description: string;
|
|
585
|
-
schema: {
|
|
586
|
-
interfaceRef: {
|
|
587
|
-
demandOption: true;
|
|
588
|
-
description: string;
|
|
589
|
-
type: "string";
|
|
590
|
-
positional: true;
|
|
591
|
-
idx: number;
|
|
592
|
-
};
|
|
593
613
|
apiUrl: {
|
|
594
614
|
type: "string";
|
|
595
615
|
description: string;
|
|
@@ -602,6 +622,23 @@ declare const _default: {
|
|
|
602
622
|
type: "string";
|
|
603
623
|
description: string;
|
|
604
624
|
};
|
|
625
|
+
interfaceRef: {
|
|
626
|
+
type: "string";
|
|
627
|
+
positional: true;
|
|
628
|
+
idx: number;
|
|
629
|
+
demandOption: true;
|
|
630
|
+
description: string;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
alias: string;
|
|
634
|
+
}>) => Promise<{
|
|
635
|
+
exitCode: number;
|
|
636
|
+
}>;
|
|
637
|
+
};
|
|
638
|
+
plugins: {
|
|
639
|
+
get: (argv: typings.CommandArgv<{
|
|
640
|
+
description: string;
|
|
641
|
+
schema: {
|
|
605
642
|
verbose: {
|
|
606
643
|
type: "boolean";
|
|
607
644
|
description: string;
|
|
@@ -629,23 +666,6 @@ declare const _default: {
|
|
|
629
666
|
description: string;
|
|
630
667
|
alias: string;
|
|
631
668
|
};
|
|
632
|
-
};
|
|
633
|
-
alias: string;
|
|
634
|
-
}>) => Promise<{
|
|
635
|
-
exitCode: number;
|
|
636
|
-
}>;
|
|
637
|
-
};
|
|
638
|
-
plugins: {
|
|
639
|
-
get: (argv: typings.CommandArgv<{
|
|
640
|
-
description: string;
|
|
641
|
-
schema: {
|
|
642
|
-
pluginRef: {
|
|
643
|
-
demandOption: true;
|
|
644
|
-
description: string;
|
|
645
|
-
type: "string";
|
|
646
|
-
positional: true;
|
|
647
|
-
idx: number;
|
|
648
|
-
};
|
|
649
669
|
apiUrl: {
|
|
650
670
|
type: "string";
|
|
651
671
|
description: string;
|
|
@@ -658,6 +678,20 @@ declare const _default: {
|
|
|
658
678
|
type: "string";
|
|
659
679
|
description: string;
|
|
660
680
|
};
|
|
681
|
+
pluginRef: {
|
|
682
|
+
type: "string";
|
|
683
|
+
positional: true;
|
|
684
|
+
idx: number;
|
|
685
|
+
demandOption: true;
|
|
686
|
+
description: string;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
}>) => Promise<{
|
|
690
|
+
exitCode: number;
|
|
691
|
+
}>;
|
|
692
|
+
list: (argv: typings.CommandArgv<{
|
|
693
|
+
description: string;
|
|
694
|
+
schema: {
|
|
661
695
|
verbose: {
|
|
662
696
|
type: "boolean";
|
|
663
697
|
description: string;
|
|
@@ -685,33 +719,34 @@ declare const _default: {
|
|
|
685
719
|
description: string;
|
|
686
720
|
alias: string;
|
|
687
721
|
};
|
|
688
|
-
|
|
689
|
-
}>) => Promise<{
|
|
690
|
-
exitCode: number;
|
|
691
|
-
}>;
|
|
692
|
-
list: (argv: typings.CommandArgv<{
|
|
693
|
-
description: string;
|
|
694
|
-
schema: {
|
|
695
|
-
name: {
|
|
722
|
+
apiUrl: {
|
|
696
723
|
type: "string";
|
|
697
724
|
description: string;
|
|
698
725
|
};
|
|
699
|
-
|
|
726
|
+
workspaceId: {
|
|
700
727
|
type: "string";
|
|
701
728
|
description: string;
|
|
702
729
|
};
|
|
703
|
-
|
|
730
|
+
token: {
|
|
704
731
|
type: "string";
|
|
705
732
|
description: string;
|
|
706
733
|
};
|
|
707
|
-
|
|
734
|
+
name: {
|
|
708
735
|
type: "string";
|
|
709
736
|
description: string;
|
|
710
737
|
};
|
|
711
|
-
|
|
738
|
+
versionNumber: {
|
|
712
739
|
type: "string";
|
|
713
740
|
description: string;
|
|
714
741
|
};
|
|
742
|
+
};
|
|
743
|
+
alias: string;
|
|
744
|
+
}>) => Promise<{
|
|
745
|
+
exitCode: number;
|
|
746
|
+
}>;
|
|
747
|
+
delete: (argv: typings.CommandArgv<{
|
|
748
|
+
description: string;
|
|
749
|
+
schema: {
|
|
715
750
|
verbose: {
|
|
716
751
|
type: "boolean";
|
|
717
752
|
description: string;
|
|
@@ -739,21 +774,6 @@ declare const _default: {
|
|
|
739
774
|
description: string;
|
|
740
775
|
alias: string;
|
|
741
776
|
};
|
|
742
|
-
};
|
|
743
|
-
alias: string;
|
|
744
|
-
}>) => Promise<{
|
|
745
|
-
exitCode: number;
|
|
746
|
-
}>;
|
|
747
|
-
delete: (argv: typings.CommandArgv<{
|
|
748
|
-
description: string;
|
|
749
|
-
schema: {
|
|
750
|
-
pluginRef: {
|
|
751
|
-
demandOption: true;
|
|
752
|
-
description: string;
|
|
753
|
-
type: "string";
|
|
754
|
-
positional: true;
|
|
755
|
-
idx: number;
|
|
756
|
-
};
|
|
757
777
|
apiUrl: {
|
|
758
778
|
type: "string";
|
|
759
779
|
description: string;
|
|
@@ -766,32 +786,12 @@ declare const _default: {
|
|
|
766
786
|
type: "string";
|
|
767
787
|
description: string;
|
|
768
788
|
};
|
|
769
|
-
|
|
770
|
-
type: "boolean";
|
|
771
|
-
description: string;
|
|
772
|
-
alias: string;
|
|
773
|
-
default: boolean;
|
|
774
|
-
};
|
|
775
|
-
confirm: {
|
|
776
|
-
type: "boolean";
|
|
777
|
-
description: string;
|
|
778
|
-
alias: string;
|
|
779
|
-
default: boolean;
|
|
780
|
-
};
|
|
781
|
-
json: {
|
|
782
|
-
type: "boolean";
|
|
783
|
-
description: string;
|
|
784
|
-
default: boolean;
|
|
785
|
-
};
|
|
786
|
-
botpressHome: {
|
|
787
|
-
type: "string";
|
|
788
|
-
description: string;
|
|
789
|
-
default: string;
|
|
790
|
-
};
|
|
791
|
-
profile: {
|
|
789
|
+
pluginRef: {
|
|
792
790
|
type: "string";
|
|
791
|
+
positional: true;
|
|
792
|
+
idx: number;
|
|
793
|
+
demandOption: true;
|
|
793
794
|
description: string;
|
|
794
|
-
alias: string;
|
|
795
795
|
};
|
|
796
796
|
};
|
|
797
797
|
alias: string;
|
|
@@ -802,6 +802,33 @@ declare const _default: {
|
|
|
802
802
|
init: (argv: typings.CommandArgv<{
|
|
803
803
|
description: string;
|
|
804
804
|
schema: {
|
|
805
|
+
verbose: {
|
|
806
|
+
type: "boolean";
|
|
807
|
+
description: string;
|
|
808
|
+
alias: string;
|
|
809
|
+
default: boolean;
|
|
810
|
+
};
|
|
811
|
+
confirm: {
|
|
812
|
+
type: "boolean";
|
|
813
|
+
description: string;
|
|
814
|
+
alias: string;
|
|
815
|
+
default: boolean;
|
|
816
|
+
};
|
|
817
|
+
json: {
|
|
818
|
+
type: "boolean";
|
|
819
|
+
description: string;
|
|
820
|
+
default: boolean;
|
|
821
|
+
};
|
|
822
|
+
botpressHome: {
|
|
823
|
+
type: "string";
|
|
824
|
+
description: string;
|
|
825
|
+
default: string;
|
|
826
|
+
};
|
|
827
|
+
profile: {
|
|
828
|
+
type: "string";
|
|
829
|
+
description: string;
|
|
830
|
+
alias: string;
|
|
831
|
+
};
|
|
805
832
|
workDir: {
|
|
806
833
|
type: "string";
|
|
807
834
|
description: string;
|
|
@@ -820,6 +847,13 @@ declare const _default: {
|
|
|
820
847
|
type: "string";
|
|
821
848
|
description: string;
|
|
822
849
|
};
|
|
850
|
+
};
|
|
851
|
+
}>) => Promise<{
|
|
852
|
+
exitCode: number;
|
|
853
|
+
}>;
|
|
854
|
+
generate: (argv: typings.CommandArgv<{
|
|
855
|
+
description: string;
|
|
856
|
+
schema: {
|
|
823
857
|
verbose: {
|
|
824
858
|
type: "boolean";
|
|
825
859
|
description: string;
|
|
@@ -847,18 +881,19 @@ declare const _default: {
|
|
|
847
881
|
description: string;
|
|
848
882
|
alias: string;
|
|
849
883
|
};
|
|
884
|
+
workDir: {
|
|
885
|
+
type: "string";
|
|
886
|
+
description: string;
|
|
887
|
+
default: string;
|
|
888
|
+
};
|
|
850
889
|
};
|
|
890
|
+
alias: string;
|
|
851
891
|
}>) => Promise<{
|
|
852
892
|
exitCode: number;
|
|
853
893
|
}>;
|
|
854
|
-
|
|
894
|
+
bundle: (argv: typings.CommandArgv<{
|
|
855
895
|
description: string;
|
|
856
896
|
schema: {
|
|
857
|
-
workDir: {
|
|
858
|
-
type: "string";
|
|
859
|
-
description: string;
|
|
860
|
-
default: string;
|
|
861
|
-
};
|
|
862
897
|
verbose: {
|
|
863
898
|
type: "boolean";
|
|
864
899
|
description: string;
|
|
@@ -886,14 +921,11 @@ declare const _default: {
|
|
|
886
921
|
description: string;
|
|
887
922
|
alias: string;
|
|
888
923
|
};
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
bundle: (argv: typings.CommandArgv<{
|
|
895
|
-
description: string;
|
|
896
|
-
schema: {
|
|
924
|
+
workDir: {
|
|
925
|
+
type: "string";
|
|
926
|
+
description: string;
|
|
927
|
+
default: string;
|
|
928
|
+
};
|
|
897
929
|
sourceMap: {
|
|
898
930
|
type: "boolean";
|
|
899
931
|
description: string;
|
|
@@ -904,11 +936,13 @@ declare const _default: {
|
|
|
904
936
|
description: string;
|
|
905
937
|
default: boolean;
|
|
906
938
|
};
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
939
|
+
};
|
|
940
|
+
}>) => Promise<{
|
|
941
|
+
exitCode: number;
|
|
942
|
+
}>;
|
|
943
|
+
build: (argv: typings.CommandArgv<{
|
|
944
|
+
description: string;
|
|
945
|
+
schema: {
|
|
912
946
|
verbose: {
|
|
913
947
|
type: "boolean";
|
|
914
948
|
description: string;
|
|
@@ -936,13 +970,11 @@ declare const _default: {
|
|
|
936
970
|
description: string;
|
|
937
971
|
alias: string;
|
|
938
972
|
};
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
description: string;
|
|
945
|
-
schema: {
|
|
973
|
+
workDir: {
|
|
974
|
+
type: "string";
|
|
975
|
+
description: string;
|
|
976
|
+
default: string;
|
|
977
|
+
};
|
|
946
978
|
sourceMap: {
|
|
947
979
|
type: "boolean";
|
|
948
980
|
description: string;
|
|
@@ -953,11 +985,13 @@ declare const _default: {
|
|
|
953
985
|
description: string;
|
|
954
986
|
default: boolean;
|
|
955
987
|
};
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
988
|
+
};
|
|
989
|
+
}>) => Promise<{
|
|
990
|
+
exitCode: number;
|
|
991
|
+
}>;
|
|
992
|
+
read: (argv: typings.CommandArgv<{
|
|
993
|
+
description: string;
|
|
994
|
+
schema: {
|
|
961
995
|
verbose: {
|
|
962
996
|
type: "boolean";
|
|
963
997
|
description: string;
|
|
@@ -985,18 +1019,18 @@ declare const _default: {
|
|
|
985
1019
|
description: string;
|
|
986
1020
|
alias: string;
|
|
987
1021
|
};
|
|
1022
|
+
workDir: {
|
|
1023
|
+
type: "string";
|
|
1024
|
+
description: string;
|
|
1025
|
+
default: string;
|
|
1026
|
+
};
|
|
988
1027
|
};
|
|
989
1028
|
}>) => Promise<{
|
|
990
1029
|
exitCode: number;
|
|
991
1030
|
}>;
|
|
992
|
-
|
|
1031
|
+
serve: (argv: typings.CommandArgv<{
|
|
993
1032
|
description: string;
|
|
994
1033
|
schema: {
|
|
995
|
-
workDir: {
|
|
996
|
-
type: "string";
|
|
997
|
-
description: string;
|
|
998
|
-
default: string;
|
|
999
|
-
};
|
|
1000
1034
|
verbose: {
|
|
1001
1035
|
type: "boolean";
|
|
1002
1036
|
description: string;
|
|
@@ -1024,16 +1058,10 @@ declare const _default: {
|
|
|
1024
1058
|
description: string;
|
|
1025
1059
|
alias: string;
|
|
1026
1060
|
};
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
exitCode: number;
|
|
1030
|
-
}>;
|
|
1031
|
-
serve: (argv: typings.CommandArgv<{
|
|
1032
|
-
description: string;
|
|
1033
|
-
schema: {
|
|
1034
|
-
port: {
|
|
1035
|
-
type: "number";
|
|
1061
|
+
workDir: {
|
|
1062
|
+
type: "string";
|
|
1036
1063
|
description: string;
|
|
1064
|
+
default: string;
|
|
1037
1065
|
};
|
|
1038
1066
|
secrets: {
|
|
1039
1067
|
type: "string";
|
|
@@ -1041,48 +1069,70 @@ declare const _default: {
|
|
|
1041
1069
|
array: true;
|
|
1042
1070
|
default: never[];
|
|
1043
1071
|
};
|
|
1044
|
-
|
|
1045
|
-
type: "
|
|
1072
|
+
port: {
|
|
1073
|
+
type: "number";
|
|
1046
1074
|
description: string;
|
|
1047
|
-
default: string;
|
|
1048
1075
|
};
|
|
1049
|
-
|
|
1076
|
+
};
|
|
1077
|
+
}>) => Promise<{
|
|
1078
|
+
exitCode: number;
|
|
1079
|
+
}>;
|
|
1080
|
+
deploy: (argv: typings.CommandArgv<{
|
|
1081
|
+
description: string;
|
|
1082
|
+
schema: {
|
|
1083
|
+
readonly verbose: {
|
|
1050
1084
|
type: "boolean";
|
|
1051
1085
|
description: string;
|
|
1052
1086
|
alias: string;
|
|
1053
1087
|
default: boolean;
|
|
1054
1088
|
};
|
|
1055
|
-
confirm: {
|
|
1089
|
+
readonly confirm: {
|
|
1056
1090
|
type: "boolean";
|
|
1057
1091
|
description: string;
|
|
1058
1092
|
alias: string;
|
|
1059
1093
|
default: boolean;
|
|
1060
1094
|
};
|
|
1061
|
-
json: {
|
|
1095
|
+
readonly json: {
|
|
1062
1096
|
type: "boolean";
|
|
1063
1097
|
description: string;
|
|
1064
1098
|
default: boolean;
|
|
1065
1099
|
};
|
|
1066
|
-
botpressHome: {
|
|
1100
|
+
readonly botpressHome: {
|
|
1067
1101
|
type: "string";
|
|
1068
1102
|
description: string;
|
|
1069
1103
|
default: string;
|
|
1070
1104
|
};
|
|
1071
|
-
profile: {
|
|
1105
|
+
readonly profile: {
|
|
1072
1106
|
type: "string";
|
|
1073
1107
|
description: string;
|
|
1074
1108
|
alias: string;
|
|
1075
1109
|
};
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1110
|
+
readonly workDir: {
|
|
1111
|
+
type: "string";
|
|
1112
|
+
description: string;
|
|
1113
|
+
default: string;
|
|
1114
|
+
};
|
|
1115
|
+
readonly apiUrl: {
|
|
1116
|
+
type: "string";
|
|
1117
|
+
description: string;
|
|
1118
|
+
};
|
|
1119
|
+
readonly workspaceId: {
|
|
1120
|
+
type: "string";
|
|
1121
|
+
description: string;
|
|
1122
|
+
};
|
|
1123
|
+
readonly token: {
|
|
1124
|
+
type: "string";
|
|
1125
|
+
description: string;
|
|
1126
|
+
};
|
|
1127
|
+
readonly secrets: {
|
|
1128
|
+
type: "string";
|
|
1129
|
+
description: string;
|
|
1130
|
+
array: true;
|
|
1131
|
+
default: never[];
|
|
1132
|
+
};
|
|
1083
1133
|
readonly botId: {
|
|
1084
|
-
readonly type:
|
|
1085
|
-
readonly description:
|
|
1134
|
+
readonly type: 'string';
|
|
1135
|
+
readonly description: 'The bot ID to deploy. Only used when deploying a bot';
|
|
1086
1136
|
};
|
|
1087
1137
|
readonly noBuild: {
|
|
1088
1138
|
type: "boolean";
|
|
@@ -1090,13 +1140,13 @@ declare const _default: {
|
|
|
1090
1140
|
default: boolean;
|
|
1091
1141
|
};
|
|
1092
1142
|
readonly dryRun: {
|
|
1093
|
-
readonly type:
|
|
1094
|
-
readonly description:
|
|
1143
|
+
readonly type: 'boolean';
|
|
1144
|
+
readonly description: 'Ask the API not to perform the actual operation';
|
|
1095
1145
|
readonly default: false;
|
|
1096
1146
|
};
|
|
1097
1147
|
readonly createNewBot: {
|
|
1098
|
-
readonly type:
|
|
1099
|
-
readonly description:
|
|
1148
|
+
readonly type: 'boolean';
|
|
1149
|
+
readonly description: 'Create a new bot when deploying. Only used when deploying a bot';
|
|
1100
1150
|
};
|
|
1101
1151
|
readonly sourceMap: {
|
|
1102
1152
|
type: "boolean";
|
|
@@ -1109,10 +1159,10 @@ declare const _default: {
|
|
|
1109
1159
|
default: boolean;
|
|
1110
1160
|
};
|
|
1111
1161
|
readonly visibility: {
|
|
1112
|
-
readonly type:
|
|
1162
|
+
readonly type: 'string';
|
|
1113
1163
|
readonly choices: readonly ["public", "private", "unlisted"];
|
|
1114
|
-
readonly description:
|
|
1115
|
-
readonly default:
|
|
1164
|
+
readonly description: 'The visibility of the project. By default, projects are always private. Unlisted visibility is only supported for integrations and plugins.';
|
|
1165
|
+
readonly default: 'private';
|
|
1116
1166
|
};
|
|
1117
1167
|
readonly public: {
|
|
1118
1168
|
type: "boolean";
|
|
@@ -1121,76 +1171,65 @@ declare const _default: {
|
|
|
1121
1171
|
deprecated: true;
|
|
1122
1172
|
};
|
|
1123
1173
|
readonly allowDeprecated: {
|
|
1124
|
-
readonly type:
|
|
1125
|
-
readonly description:
|
|
1174
|
+
readonly type: 'boolean';
|
|
1175
|
+
readonly description: 'Allow deprecated features in the project';
|
|
1126
1176
|
readonly default: false;
|
|
1127
1177
|
};
|
|
1128
1178
|
readonly url: {
|
|
1129
|
-
readonly type:
|
|
1130
|
-
readonly description:
|
|
1179
|
+
readonly type: 'string';
|
|
1180
|
+
readonly description: 'Custom URL for the integration. Only used when deploying an integration';
|
|
1131
1181
|
};
|
|
1132
1182
|
readonly bypassBreakingChangeDetection: {
|
|
1133
|
-
readonly type:
|
|
1183
|
+
readonly type: 'boolean';
|
|
1134
1184
|
readonly hidden: true;
|
|
1135
1185
|
readonly default: false;
|
|
1136
1186
|
};
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
description: string;
|
|
1146
|
-
};
|
|
1147
|
-
readonly workspaceId: {
|
|
1148
|
-
type: "string";
|
|
1149
|
-
description: string;
|
|
1150
|
-
};
|
|
1151
|
-
readonly token: {
|
|
1152
|
-
type: "string";
|
|
1153
|
-
description: string;
|
|
1154
|
-
};
|
|
1155
|
-
readonly workDir: {
|
|
1156
|
-
type: "string";
|
|
1157
|
-
description: string;
|
|
1158
|
-
default: string;
|
|
1159
|
-
};
|
|
1160
|
-
readonly verbose: {
|
|
1187
|
+
};
|
|
1188
|
+
}>) => Promise<{
|
|
1189
|
+
exitCode: number;
|
|
1190
|
+
}>;
|
|
1191
|
+
add: (argv: typings.CommandArgv<{
|
|
1192
|
+
description: string;
|
|
1193
|
+
schema: {
|
|
1194
|
+
verbose: {
|
|
1161
1195
|
type: "boolean";
|
|
1162
1196
|
description: string;
|
|
1163
1197
|
alias: string;
|
|
1164
1198
|
default: boolean;
|
|
1165
1199
|
};
|
|
1166
|
-
|
|
1200
|
+
confirm: {
|
|
1167
1201
|
type: "boolean";
|
|
1168
1202
|
description: string;
|
|
1169
1203
|
alias: string;
|
|
1170
1204
|
default: boolean;
|
|
1171
1205
|
};
|
|
1172
|
-
|
|
1206
|
+
json: {
|
|
1173
1207
|
type: "boolean";
|
|
1174
1208
|
description: string;
|
|
1175
1209
|
default: boolean;
|
|
1176
1210
|
};
|
|
1177
|
-
|
|
1211
|
+
botpressHome: {
|
|
1178
1212
|
type: "string";
|
|
1179
1213
|
description: string;
|
|
1180
1214
|
default: string;
|
|
1181
1215
|
};
|
|
1182
|
-
|
|
1216
|
+
profile: {
|
|
1183
1217
|
type: "string";
|
|
1184
1218
|
description: string;
|
|
1185
1219
|
alias: string;
|
|
1186
1220
|
};
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1221
|
+
apiUrl: {
|
|
1222
|
+
type: "string";
|
|
1223
|
+
description: string;
|
|
1224
|
+
};
|
|
1225
|
+
workspaceId: {
|
|
1226
|
+
type: "string";
|
|
1227
|
+
description: string;
|
|
1228
|
+
};
|
|
1229
|
+
token: {
|
|
1230
|
+
type: "string";
|
|
1231
|
+
description: string;
|
|
1232
|
+
};
|
|
1194
1233
|
packageRef: {
|
|
1195
1234
|
type: "string";
|
|
1196
1235
|
description: string;
|
|
@@ -1211,18 +1250,14 @@ declare const _default: {
|
|
|
1211
1250
|
type: "string";
|
|
1212
1251
|
description: string;
|
|
1213
1252
|
};
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
token: {
|
|
1223
|
-
type: "string";
|
|
1224
|
-
description: string;
|
|
1225
|
-
};
|
|
1253
|
+
};
|
|
1254
|
+
alias: string[];
|
|
1255
|
+
}>) => Promise<{
|
|
1256
|
+
exitCode: number;
|
|
1257
|
+
}>;
|
|
1258
|
+
remove: (argv: typings.CommandArgv<{
|
|
1259
|
+
description: string;
|
|
1260
|
+
schema: {
|
|
1226
1261
|
verbose: {
|
|
1227
1262
|
type: "boolean";
|
|
1228
1263
|
description: string;
|
|
@@ -1250,37 +1285,37 @@ declare const _default: {
|
|
|
1250
1285
|
description: string;
|
|
1251
1286
|
alias: string;
|
|
1252
1287
|
};
|
|
1253
|
-
|
|
1254
|
-
alias: string[];
|
|
1255
|
-
}>) => Promise<{
|
|
1256
|
-
exitCode: number;
|
|
1257
|
-
}>;
|
|
1258
|
-
remove: (argv: typings.CommandArgv<{
|
|
1259
|
-
description: string;
|
|
1260
|
-
schema: {
|
|
1261
|
-
workDir: {
|
|
1288
|
+
apiUrl: {
|
|
1262
1289
|
type: "string";
|
|
1263
1290
|
description: string;
|
|
1264
|
-
default: string;
|
|
1265
1291
|
};
|
|
1266
|
-
|
|
1267
|
-
idx: number;
|
|
1268
|
-
positional: true;
|
|
1292
|
+
workspaceId: {
|
|
1269
1293
|
type: "string";
|
|
1270
1294
|
description: string;
|
|
1271
1295
|
};
|
|
1272
|
-
|
|
1296
|
+
token: {
|
|
1273
1297
|
type: "string";
|
|
1274
1298
|
description: string;
|
|
1275
1299
|
};
|
|
1276
|
-
|
|
1300
|
+
workDir: {
|
|
1277
1301
|
type: "string";
|
|
1278
1302
|
description: string;
|
|
1303
|
+
default: string;
|
|
1279
1304
|
};
|
|
1280
|
-
|
|
1305
|
+
alias: {
|
|
1306
|
+
idx: number;
|
|
1307
|
+
positional: true;
|
|
1281
1308
|
type: "string";
|
|
1282
1309
|
description: string;
|
|
1283
1310
|
};
|
|
1311
|
+
};
|
|
1312
|
+
alias: string;
|
|
1313
|
+
}>) => Promise<{
|
|
1314
|
+
exitCode: number;
|
|
1315
|
+
}>;
|
|
1316
|
+
dev: (argv: typings.CommandArgv<{
|
|
1317
|
+
description: string;
|
|
1318
|
+
schema: {
|
|
1284
1319
|
verbose: {
|
|
1285
1320
|
type: "boolean";
|
|
1286
1321
|
description: string;
|
|
@@ -1308,14 +1343,29 @@ declare const _default: {
|
|
|
1308
1343
|
description: string;
|
|
1309
1344
|
alias: string;
|
|
1310
1345
|
};
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1346
|
+
workDir: {
|
|
1347
|
+
type: "string";
|
|
1348
|
+
description: string;
|
|
1349
|
+
default: string;
|
|
1350
|
+
};
|
|
1351
|
+
apiUrl: {
|
|
1352
|
+
type: "string";
|
|
1353
|
+
description: string;
|
|
1354
|
+
};
|
|
1355
|
+
workspaceId: {
|
|
1356
|
+
type: "string";
|
|
1357
|
+
description: string;
|
|
1358
|
+
};
|
|
1359
|
+
token: {
|
|
1360
|
+
type: "string";
|
|
1361
|
+
description: string;
|
|
1362
|
+
};
|
|
1363
|
+
secrets: {
|
|
1364
|
+
type: "string";
|
|
1365
|
+
description: string;
|
|
1366
|
+
array: true;
|
|
1367
|
+
default: never[];
|
|
1368
|
+
};
|
|
1319
1369
|
sourceMap: {
|
|
1320
1370
|
type: "boolean";
|
|
1321
1371
|
description: string;
|
|
@@ -1350,29 +1400,13 @@ declare const _default: {
|
|
|
1350
1400
|
default: boolean;
|
|
1351
1401
|
alias: string;
|
|
1352
1402
|
};
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
type: "string";
|
|
1361
|
-
description: string;
|
|
1362
|
-
};
|
|
1363
|
-
workspaceId: {
|
|
1364
|
-
type: "string";
|
|
1365
|
-
description: string;
|
|
1366
|
-
};
|
|
1367
|
-
token: {
|
|
1368
|
-
type: "string";
|
|
1369
|
-
description: string;
|
|
1370
|
-
};
|
|
1371
|
-
workDir: {
|
|
1372
|
-
type: "string";
|
|
1373
|
-
description: string;
|
|
1374
|
-
default: string;
|
|
1375
|
-
};
|
|
1403
|
+
};
|
|
1404
|
+
}>) => Promise<{
|
|
1405
|
+
exitCode: number;
|
|
1406
|
+
}>;
|
|
1407
|
+
lint: (argv: typings.CommandArgv<{
|
|
1408
|
+
description: string;
|
|
1409
|
+
schema: {
|
|
1376
1410
|
verbose: {
|
|
1377
1411
|
type: "boolean";
|
|
1378
1412
|
description: string;
|
|
@@ -1400,18 +1434,18 @@ declare const _default: {
|
|
|
1400
1434
|
description: string;
|
|
1401
1435
|
alias: string;
|
|
1402
1436
|
};
|
|
1437
|
+
workDir: {
|
|
1438
|
+
type: "string";
|
|
1439
|
+
description: string;
|
|
1440
|
+
default: string;
|
|
1441
|
+
};
|
|
1403
1442
|
};
|
|
1404
1443
|
}>) => Promise<{
|
|
1405
1444
|
exitCode: number;
|
|
1406
1445
|
}>;
|
|
1407
|
-
|
|
1446
|
+
chat: (argv: typings.CommandArgv<{
|
|
1408
1447
|
description: string;
|
|
1409
1448
|
schema: {
|
|
1410
|
-
workDir: {
|
|
1411
|
-
type: "string";
|
|
1412
|
-
description: string;
|
|
1413
|
-
default: string;
|
|
1414
|
-
};
|
|
1415
1449
|
verbose: {
|
|
1416
1450
|
type: "boolean";
|
|
1417
1451
|
description: string;
|
|
@@ -1439,28 +1473,6 @@ declare const _default: {
|
|
|
1439
1473
|
description: string;
|
|
1440
1474
|
alias: string;
|
|
1441
1475
|
};
|
|
1442
|
-
};
|
|
1443
|
-
}>) => Promise<{
|
|
1444
|
-
exitCode: number;
|
|
1445
|
-
}>;
|
|
1446
|
-
chat: (argv: typings.CommandArgv<{
|
|
1447
|
-
description: string;
|
|
1448
|
-
schema: {
|
|
1449
|
-
chatApiUrl: {
|
|
1450
|
-
type: "string";
|
|
1451
|
-
description: string;
|
|
1452
|
-
};
|
|
1453
|
-
botId: {
|
|
1454
|
-
type: "string";
|
|
1455
|
-
positional: true;
|
|
1456
|
-
idx: number;
|
|
1457
|
-
description: string;
|
|
1458
|
-
};
|
|
1459
|
-
protocol: {
|
|
1460
|
-
choices: ("websocket" | "sse")[];
|
|
1461
|
-
default: "sse";
|
|
1462
|
-
description: string;
|
|
1463
|
-
};
|
|
1464
1476
|
apiUrl: {
|
|
1465
1477
|
type: "string";
|
|
1466
1478
|
description: string;
|
|
@@ -1473,32 +1485,20 @@ declare const _default: {
|
|
|
1473
1485
|
type: "string";
|
|
1474
1486
|
description: string;
|
|
1475
1487
|
};
|
|
1476
|
-
|
|
1477
|
-
type: "
|
|
1478
|
-
description: string;
|
|
1479
|
-
alias: string;
|
|
1480
|
-
default: boolean;
|
|
1481
|
-
};
|
|
1482
|
-
confirm: {
|
|
1483
|
-
type: "boolean";
|
|
1484
|
-
description: string;
|
|
1485
|
-
alias: string;
|
|
1486
|
-
default: boolean;
|
|
1487
|
-
};
|
|
1488
|
-
json: {
|
|
1489
|
-
type: "boolean";
|
|
1488
|
+
chatApiUrl: {
|
|
1489
|
+
type: "string";
|
|
1490
1490
|
description: string;
|
|
1491
|
-
default: boolean;
|
|
1492
1491
|
};
|
|
1493
|
-
|
|
1492
|
+
botId: {
|
|
1494
1493
|
type: "string";
|
|
1494
|
+
positional: true;
|
|
1495
|
+
idx: number;
|
|
1495
1496
|
description: string;
|
|
1496
|
-
default: string;
|
|
1497
1497
|
};
|
|
1498
|
-
|
|
1499
|
-
|
|
1498
|
+
protocol: {
|
|
1499
|
+
choices: ("sse" | "websocket")[];
|
|
1500
|
+
default: 'sse';
|
|
1500
1501
|
description: string;
|
|
1501
|
-
alias: string;
|
|
1502
1502
|
};
|
|
1503
1503
|
};
|
|
1504
1504
|
}>) => Promise<{
|
|
@@ -1508,11 +1508,6 @@ declare const _default: {
|
|
|
1508
1508
|
list: (argv: typings.CommandArgv<{
|
|
1509
1509
|
description: string;
|
|
1510
1510
|
schema: {
|
|
1511
|
-
displayToken: {
|
|
1512
|
-
type: "boolean";
|
|
1513
|
-
description: string;
|
|
1514
|
-
default: boolean;
|
|
1515
|
-
};
|
|
1516
1511
|
verbose: {
|
|
1517
1512
|
type: "boolean";
|
|
1518
1513
|
description: string;
|
|
@@ -1540,6 +1535,11 @@ declare const _default: {
|
|
|
1540
1535
|
description: string;
|
|
1541
1536
|
alias: string;
|
|
1542
1537
|
};
|
|
1538
|
+
displayToken: {
|
|
1539
|
+
type: "boolean";
|
|
1540
|
+
description: string;
|
|
1541
|
+
default: boolean;
|
|
1542
|
+
};
|
|
1543
1543
|
};
|
|
1544
1544
|
alias: string;
|
|
1545
1545
|
}>) => Promise<{
|
|
@@ -1548,11 +1548,6 @@ declare const _default: {
|
|
|
1548
1548
|
active: (argv: typings.CommandArgv<{
|
|
1549
1549
|
description: string;
|
|
1550
1550
|
schema: {
|
|
1551
|
-
displayToken: {
|
|
1552
|
-
type: "boolean";
|
|
1553
|
-
description: string;
|
|
1554
|
-
default: boolean;
|
|
1555
|
-
};
|
|
1556
1551
|
verbose: {
|
|
1557
1552
|
type: "boolean";
|
|
1558
1553
|
description: string;
|
|
@@ -1580,6 +1575,11 @@ declare const _default: {
|
|
|
1580
1575
|
description: string;
|
|
1581
1576
|
alias: string;
|
|
1582
1577
|
};
|
|
1578
|
+
displayToken: {
|
|
1579
|
+
type: "boolean";
|
|
1580
|
+
description: string;
|
|
1581
|
+
default: boolean;
|
|
1582
|
+
};
|
|
1583
1583
|
};
|
|
1584
1584
|
}>) => Promise<{
|
|
1585
1585
|
exitCode: number;
|
|
@@ -1587,12 +1587,6 @@ declare const _default: {
|
|
|
1587
1587
|
use: (argv: typings.CommandArgv<{
|
|
1588
1588
|
description: string;
|
|
1589
1589
|
schema: {
|
|
1590
|
-
profileToUse: {
|
|
1591
|
-
type: "string";
|
|
1592
|
-
description: string;
|
|
1593
|
-
positional: true;
|
|
1594
|
-
idx: number;
|
|
1595
|
-
};
|
|
1596
1590
|
verbose: {
|
|
1597
1591
|
type: "boolean";
|
|
1598
1592
|
description: string;
|
|
@@ -1620,6 +1614,12 @@ declare const _default: {
|
|
|
1620
1614
|
description: string;
|
|
1621
1615
|
alias: string;
|
|
1622
1616
|
};
|
|
1617
|
+
profileToUse: {
|
|
1618
|
+
type: "string";
|
|
1619
|
+
description: string;
|
|
1620
|
+
positional: true;
|
|
1621
|
+
idx: number;
|
|
1622
|
+
};
|
|
1623
1623
|
};
|
|
1624
1624
|
}>) => Promise<{
|
|
1625
1625
|
exitCode: number;
|
|
@@ -1627,17 +1627,6 @@ declare const _default: {
|
|
|
1627
1627
|
get: (argv: typings.CommandArgv<{
|
|
1628
1628
|
description: string;
|
|
1629
1629
|
schema: {
|
|
1630
|
-
profileToGet: {
|
|
1631
|
-
type: "string";
|
|
1632
|
-
description: string;
|
|
1633
|
-
positional: true;
|
|
1634
|
-
idx: number;
|
|
1635
|
-
};
|
|
1636
|
-
displayToken: {
|
|
1637
|
-
type: "boolean";
|
|
1638
|
-
description: string;
|
|
1639
|
-
default: boolean;
|
|
1640
|
-
};
|
|
1641
1630
|
verbose: {
|
|
1642
1631
|
type: "boolean";
|
|
1643
1632
|
description: string;
|
|
@@ -1665,6 +1654,17 @@ declare const _default: {
|
|
|
1665
1654
|
description: string;
|
|
1666
1655
|
alias: string;
|
|
1667
1656
|
};
|
|
1657
|
+
profileToGet: {
|
|
1658
|
+
type: "string";
|
|
1659
|
+
description: string;
|
|
1660
|
+
positional: true;
|
|
1661
|
+
idx: number;
|
|
1662
|
+
};
|
|
1663
|
+
displayToken: {
|
|
1664
|
+
type: "boolean";
|
|
1665
|
+
description: string;
|
|
1666
|
+
default: boolean;
|
|
1667
|
+
};
|
|
1668
1668
|
};
|
|
1669
1669
|
}>) => Promise<{
|
|
1670
1670
|
exitCode: number;
|