@twilio-labs/plugin-flex 7.0.0-beta.0 → 7.0.0
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 +37 -23
- package/dist/commands/flex/plugins/create.js +1 -0
- package/dist/commands/flex/plugins/create.js.map +1 -1
- package/dist/commands/flex/plugins/deploy.d.ts +3 -2
- package/dist/commands/flex/plugins/deploy.js +18 -11
- package/dist/commands/flex/plugins/deploy.js.map +1 -1
- package/dist/commands/flex/plugins/list/configurations.d.ts +4 -0
- package/dist/commands/flex/plugins/list/configurations.js +6 -0
- package/dist/commands/flex/plugins/list/configurations.js.map +1 -1
- package/dist/commands/flex/plugins/validate.d.ts +7 -2
- package/dist/commands/flex/plugins/validate.js +9 -1
- package/dist/commands/flex/plugins/validate.js.map +1 -1
- package/dist/sub-commands/flex-plugin.d.ts +0 -9
- package/dist/sub-commands/flex-plugin.js +2 -14
- package/dist/sub-commands/flex-plugin.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +15 -11
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ OPTIONS
|
|
|
84
84
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
_See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
87
|
+
_See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/archive/configuration.js)_
|
|
88
88
|
|
|
89
89
|
## `twilio flex:plugins:archive:plugin`
|
|
90
90
|
|
|
@@ -104,7 +104,7 @@ OPTIONS
|
|
|
104
104
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
_See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
107
|
+
_See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/archive/plugin.js)_
|
|
108
108
|
|
|
109
109
|
## `twilio flex:plugins:archive:plugin-version`
|
|
110
110
|
|
|
@@ -125,7 +125,7 @@ OPTIONS
|
|
|
125
125
|
--version=version (required) The Flex Plugin Version to archive.
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
_See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
128
|
+
_See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/archive/plugin-version.js)_
|
|
129
129
|
|
|
130
130
|
## `twilio flex:plugins:build`
|
|
131
131
|
|
|
@@ -144,7 +144,7 @@ OPTIONS
|
|
|
144
144
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
_See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
147
|
+
_See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/build.js)_
|
|
148
148
|
|
|
149
149
|
## `twilio flex:plugins:create NAME`
|
|
150
150
|
|
|
@@ -181,7 +181,7 @@ DESCRIPTION
|
|
|
181
181
|
name Name of your plugin. This command needs to be invoked inside a plugin directory.
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
_See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
184
|
+
_See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/create.js)_
|
|
185
185
|
|
|
186
186
|
## `twilio flex:plugins:create-configuration`
|
|
187
187
|
|
|
@@ -209,7 +209,7 @@ OPTIONS
|
|
|
209
209
|
|
|
210
210
|
--json Outputs the result of the command as json string.
|
|
211
211
|
|
|
212
|
-
--name=name (required) [default: Autogenerated Release
|
|
212
|
+
--name=name (required) [default: Autogenerated Release 1718036600413] The friendly name of the
|
|
213
213
|
Flex Plugin Configuration.
|
|
214
214
|
|
|
215
215
|
--new Creates a new Flex Plugin Configuration, otherwise will append to existing active
|
|
@@ -220,7 +220,7 @@ OPTIONS
|
|
|
220
220
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
_See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
223
|
+
_See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/create-configuration.js)_
|
|
224
224
|
|
|
225
225
|
## `twilio flex:plugins:deploy`
|
|
226
226
|
|
|
@@ -234,19 +234,32 @@ OPTIONS
|
|
|
234
234
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
235
235
|
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
236
236
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
237
|
+
|
|
238
|
+
--bypass-validation Validates the plugin and continues to plugin deployment ignoring validation issues,
|
|
239
|
+
if any.
|
|
240
|
+
|
|
237
241
|
--changelog=changelog (required) The changes (added/removed) made in this plugin version.
|
|
242
|
+
|
|
238
243
|
--clear-terminal Clears the terminal before running the command.
|
|
244
|
+
|
|
239
245
|
--description=description The description of this Flex plugin.
|
|
246
|
+
|
|
240
247
|
--json Outputs the result of the command as json string.
|
|
248
|
+
|
|
241
249
|
--major Publishes the version as a major (SemVer).
|
|
250
|
+
|
|
242
251
|
--minor Publishes the version as a minor (SemVer).
|
|
252
|
+
|
|
243
253
|
--patch Publishes the version as a patch (SemVer); this is the default.
|
|
254
|
+
|
|
244
255
|
--public Publishes the plugin as a public Twilio Asset; default is private.
|
|
256
|
+
|
|
245
257
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
258
|
+
|
|
246
259
|
--version=version Publishes the version (SemVer).
|
|
247
260
|
```
|
|
248
261
|
|
|
249
|
-
_See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
262
|
+
_See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/deploy.js)_
|
|
250
263
|
|
|
251
264
|
## `twilio flex:plugins:describe:configuration`
|
|
252
265
|
|
|
@@ -266,7 +279,7 @@ OPTIONS
|
|
|
266
279
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
267
280
|
```
|
|
268
281
|
|
|
269
|
-
_See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
282
|
+
_See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/describe/configuration.js)_
|
|
270
283
|
|
|
271
284
|
## `twilio flex:plugins:describe:plugin`
|
|
272
285
|
|
|
@@ -286,7 +299,7 @@ OPTIONS
|
|
|
286
299
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
287
300
|
```
|
|
288
301
|
|
|
289
|
-
_See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
302
|
+
_See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/describe/plugin.js)_
|
|
290
303
|
|
|
291
304
|
## `twilio flex:plugins:describe:plugin-version`
|
|
292
305
|
|
|
@@ -307,7 +320,7 @@ OPTIONS
|
|
|
307
320
|
--version=version (required) The Flex Plugin Version to describe.
|
|
308
321
|
```
|
|
309
322
|
|
|
310
|
-
_See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
323
|
+
_See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/describe/plugin-version.js)_
|
|
311
324
|
|
|
312
325
|
## `twilio flex:plugins:describe:release`
|
|
313
326
|
|
|
@@ -328,7 +341,7 @@ OPTIONS
|
|
|
328
341
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
329
342
|
```
|
|
330
343
|
|
|
331
|
-
_See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
344
|
+
_See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/describe/release.js)_
|
|
332
345
|
|
|
333
346
|
## `twilio flex:plugins:diff ID1 [ID2]`
|
|
334
347
|
|
|
@@ -351,7 +364,7 @@ OPTIONS
|
|
|
351
364
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
352
365
|
```
|
|
353
366
|
|
|
354
|
-
_See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
367
|
+
_See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/diff.js)_
|
|
355
368
|
|
|
356
369
|
## `twilio flex:plugins:list:configurations`
|
|
357
370
|
|
|
@@ -370,7 +383,7 @@ OPTIONS
|
|
|
370
383
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
371
384
|
```
|
|
372
385
|
|
|
373
|
-
_See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
386
|
+
_See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/list/configurations.js)_
|
|
374
387
|
|
|
375
388
|
## `twilio flex:plugins:list:plugin-versions`
|
|
376
389
|
|
|
@@ -390,7 +403,7 @@ OPTIONS
|
|
|
390
403
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
391
404
|
```
|
|
392
405
|
|
|
393
|
-
_See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
406
|
+
_See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/list/plugin-versions.js)_
|
|
394
407
|
|
|
395
408
|
## `twilio flex:plugins:list:plugins`
|
|
396
409
|
|
|
@@ -409,7 +422,7 @@ OPTIONS
|
|
|
409
422
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
410
423
|
```
|
|
411
424
|
|
|
412
|
-
_See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
425
|
+
_See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/list/plugins.js)_
|
|
413
426
|
|
|
414
427
|
## `twilio flex:plugins:list:releases`
|
|
415
428
|
|
|
@@ -428,7 +441,7 @@ OPTIONS
|
|
|
428
441
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
429
442
|
```
|
|
430
443
|
|
|
431
|
-
_See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
444
|
+
_See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/list/releases.js)_
|
|
432
445
|
|
|
433
446
|
## `twilio flex:plugins:release`
|
|
434
447
|
|
|
@@ -459,7 +472,7 @@ OPTIONS
|
|
|
459
472
|
|
|
460
473
|
--json Outputs the result of the command as json string.
|
|
461
474
|
|
|
462
|
-
--name=name [default: Autogenerated Release
|
|
475
|
+
--name=name [default: Autogenerated Release 1718036600413] The friendly name of the Flex
|
|
463
476
|
Plugin Configuration.
|
|
464
477
|
|
|
465
478
|
--new Creates a new Flex Plugin Configuration, otherwise will append to existing
|
|
@@ -470,7 +483,7 @@ OPTIONS
|
|
|
470
483
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
471
484
|
```
|
|
472
485
|
|
|
473
|
-
_See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
486
|
+
_See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/release.js)_
|
|
474
487
|
|
|
475
488
|
## `twilio flex:plugins:start`
|
|
476
489
|
|
|
@@ -497,7 +510,7 @@ OPTIONS
|
|
|
497
510
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
498
511
|
```
|
|
499
512
|
|
|
500
|
-
_See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
513
|
+
_See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/start.js)_
|
|
501
514
|
|
|
502
515
|
## `twilio flex:plugins:test`
|
|
503
516
|
|
|
@@ -516,7 +529,7 @@ OPTIONS
|
|
|
516
529
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
517
530
|
```
|
|
518
531
|
|
|
519
|
-
_See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
532
|
+
_See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/test.js)_
|
|
520
533
|
|
|
521
534
|
## `twilio flex:plugins:upgrade-plugin`
|
|
522
535
|
|
|
@@ -548,7 +561,7 @@ OPTIONS
|
|
|
548
561
|
--yes If set, will answer yes to all prompts.
|
|
549
562
|
```
|
|
550
563
|
|
|
551
|
-
_See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
564
|
+
_See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/upgrade-plugin.js)_
|
|
552
565
|
|
|
553
566
|
## `twilio flex:plugins:validate`
|
|
554
567
|
|
|
@@ -563,9 +576,10 @@ OPTIONS
|
|
|
563
576
|
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
564
577
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
565
578
|
--clear-terminal Clears the terminal before running the command.
|
|
579
|
+
--flex-ui-2.0 Validates the Flex plugin for compatibility with the latest Flex UI 2.x version.
|
|
566
580
|
--json Outputs the result of the command as json string.
|
|
567
581
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
568
582
|
```
|
|
569
583
|
|
|
570
|
-
_See code: [dist/commands/flex/plugins/validate.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0
|
|
584
|
+
_See code: [dist/commands/flex/plugins/validate.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0/dist/commands/flex/plugins/validate.js)_
|
|
571
585
|
<!-- commandsstop -->
|
|
@@ -56,6 +56,7 @@ class FlexPluginsCreate extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
56
56
|
*/
|
|
57
57
|
async run() {
|
|
58
58
|
await super.run();
|
|
59
|
+
await flex_dev_utils_1.checkForUpdate();
|
|
59
60
|
// @ts-ignore
|
|
60
61
|
const { flags: instanceFlags, args } = await this.parse(FlexPluginsCreate);
|
|
61
62
|
if (!instanceFlags.accountSid && this.currentProfile && this.currentProfile.accountSid) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/create.ts"],"names":[],"mappings":";;;;;AAAA,+CAAgD;AAChD,oFAA0D;AAC1D,4CAAuC;AAEvC,
|
|
1
|
+
{"version":3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E,IAAI;QACd,WAAW,EAAE,4BAAgB,CAAC,WAAW;KAC1C;CACF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PluginVersionResource } from '@twilio/flex-plugins-api-client/dist/clients/pluginVersions';
|
|
2
2
|
import { DeployResult } from '@twilio/flex-plugin-scripts/dist/scripts/deploy';
|
|
3
3
|
import { ReleaseType } from '@twilio/flex-dev-utils';
|
|
4
|
-
import { PluginResource } from '@twilio/flex-plugins-api-client';
|
|
4
|
+
import { PluginResource, ValidateStatus } from '@twilio/flex-plugins-api-client';
|
|
5
5
|
import { OutputFlags } from '@oclif/parser/lib/parse';
|
|
6
6
|
import * as flags from '../../../utils/flags';
|
|
7
7
|
import FlexPlugin, { ConfigData, SecureStorage } from '../../../sub-commands/flex-plugin';
|
|
@@ -29,6 +29,7 @@ export default class FlexPluginsDeploy extends FlexPlugin {
|
|
|
29
29
|
changelog: flags.IOptionFlag<string>;
|
|
30
30
|
description: flags.IOptionFlag<string | undefined>;
|
|
31
31
|
option: flags.IOptionFlag<string | undefined>;
|
|
32
|
+
'bypass-validation': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
32
33
|
json: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
33
34
|
'clear-terminal': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
34
35
|
region: import("@oclif/command/lib/flags").IOptionFlag<string>;
|
|
@@ -66,7 +67,7 @@ export default class FlexPluginsDeploy extends FlexPlugin {
|
|
|
66
67
|
* @param deployResult
|
|
67
68
|
* @returns {Promise}
|
|
68
69
|
*/
|
|
69
|
-
registerPluginVersion(deployResult: DeployResult): Promise<PluginVersionResource>;
|
|
70
|
+
registerPluginVersion(deployResult: DeployResult, validateStatus: ValidateStatus): Promise<PluginVersionResource>;
|
|
70
71
|
/**
|
|
71
72
|
* Checks whether a Serverless instance exists or not. If not, will create one
|
|
72
73
|
*/
|
|
@@ -28,6 +28,7 @@ const runtime_1 = __importDefault(require("@twilio/flex-plugin-scripts/dist/util
|
|
|
28
28
|
const errors_1 = require("@oclif/parser/lib/errors");
|
|
29
29
|
const flex_dev_utils_1 = require("@twilio/flex-dev-utils");
|
|
30
30
|
const fs_1 = require("@twilio/flex-dev-utils/dist/fs");
|
|
31
|
+
const flex_plugins_api_client_1 = require("@twilio/flex-plugins-api-client");
|
|
31
32
|
const flags = __importStar(require("../../../utils/flags"));
|
|
32
33
|
const general_1 = require("../../../utils/general");
|
|
33
34
|
const flex_plugin_1 = __importDefault(require("../../../sub-commands/flex-plugin"));
|
|
@@ -87,14 +88,11 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
|
|
|
87
88
|
const { violations, vtime, error } = await flex_dev_utils_1.progress(`Validating plugin ${name}`, async () => {
|
|
88
89
|
return this.runScript('validate', ['--deploy']);
|
|
89
90
|
});
|
|
91
|
+
const validateStatus = (error === null || error === void 0 ? void 0 : error.message) ? flex_plugins_api_client_1.ValidateStatus.Failure : flex_plugins_api_client_1.ValidateStatus.Success;
|
|
90
92
|
if (error) {
|
|
91
|
-
const err = error.timedOut
|
|
92
|
-
? 'Plugin validation timed out. Note: This may be an enterprise firewall issue.'
|
|
93
|
-
: 'Unable to validate the plugin at the moment.';
|
|
94
|
-
flex_dev_utils_1.logger.error(err);
|
|
95
93
|
flex_dev_utils_1.logger.warning('Continuing to deploy');
|
|
96
94
|
}
|
|
97
|
-
let shouldContinue = this._flags.option === Options.Deploy || violations.length === 0;
|
|
95
|
+
let shouldContinue = this._flags['bypass-validation'] || this._flags.option === Options.Deploy || violations.length === 0;
|
|
98
96
|
if (!shouldContinue && this._flags.option !== Options.Fix) {
|
|
99
97
|
const choice = await flex_dev_utils_1.choose({
|
|
100
98
|
name: 'deployment',
|
|
@@ -103,6 +101,13 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
|
|
|
103
101
|
}, Object.values(this.options));
|
|
104
102
|
shouldContinue = choice === this.options[Options.Deploy];
|
|
105
103
|
}
|
|
104
|
+
this.telemetryProperties = {
|
|
105
|
+
violations,
|
|
106
|
+
vtime: Math.round(vtime),
|
|
107
|
+
error,
|
|
108
|
+
bypassed: this._flags['bypass-validation'],
|
|
109
|
+
deployed: 0,
|
|
110
|
+
};
|
|
106
111
|
if (shouldContinue) {
|
|
107
112
|
await flex_dev_utils_1.progress(`Compiling a production build of ${name}`, async () => {
|
|
108
113
|
await this.runScript('pre-script-check', args);
|
|
@@ -119,13 +124,10 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
|
|
|
119
124
|
await deploy_1._verifyFlexUIConfiguration();
|
|
120
125
|
const deployedData = await flex_dev_utils_1.progress(`Uploading ${name}`, async () => this.runScript('deploy', [...this.scriptArgs, ...args]), false);
|
|
121
126
|
await flex_dev_utils_1.progress(`Registering plugin ${name} with Plugins API`, async () => this.registerPlugin(), false);
|
|
122
|
-
const pluginVersion = await flex_dev_utils_1.progress(`Registering version **v${deployedData.nextVersion}** with Plugins API`, async () => this.registerPluginVersion(deployedData), false);
|
|
127
|
+
const pluginVersion = await flex_dev_utils_1.progress(`Registering version **v${deployedData.nextVersion}** with Plugins API`, async () => this.registerPluginVersion(deployedData, validateStatus), false);
|
|
123
128
|
/* c8 ignore next */
|
|
124
129
|
this.prints.deploySuccessful(this.pkg.name, pluginVersion.private ? 'private' : 'public', deployedData, this.argv.includes('--profile') ? this.currentProfile.id : null);
|
|
125
|
-
this.telemetryProperties = {
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
this.telemetryProperties = { violations, vtime: Math.round(vtime), error, deployed: 0 };
|
|
130
|
+
this.telemetryProperties = Object.assign(Object.assign({}, this.telemetryProperties), { deployed: 1 });
|
|
129
131
|
}
|
|
130
132
|
}
|
|
131
133
|
/**
|
|
@@ -197,12 +199,14 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
|
|
|
197
199
|
* @param deployResult
|
|
198
200
|
* @returns {Promise}
|
|
199
201
|
*/
|
|
200
|
-
async registerPluginVersion(deployResult) {
|
|
202
|
+
async registerPluginVersion(deployResult, validateStatus) {
|
|
201
203
|
return this.pluginVersionsClient.create(this.pkg.name, {
|
|
202
204
|
Version: deployResult.nextVersion,
|
|
203
205
|
PluginUrl: deployResult.pluginUrl,
|
|
204
206
|
Private: !deployResult.isPublic,
|
|
205
207
|
Changelog: this._flags.changelog || '',
|
|
208
|
+
CliVersion: this.cliPkg.version || '',
|
|
209
|
+
ValidateStatus: validateStatus,
|
|
206
210
|
});
|
|
207
211
|
}
|
|
208
212
|
/**
|
|
@@ -296,5 +300,8 @@ FlexPluginsDeploy.flags = Object.assign(Object.assign({}, baseFlags), { patch: f
|
|
|
296
300
|
description: FlexPluginsDeploy.topic.flags.option,
|
|
297
301
|
options: [Options.Deploy, Options.Fix],
|
|
298
302
|
hidden: true,
|
|
303
|
+
}), 'bypass-validation': flags.boolean({
|
|
304
|
+
description: FlexPluginsDeploy.topic.flags['bypass-validation'],
|
|
305
|
+
default: false,
|
|
299
306
|
}) });
|
|
300
307
|
//# sourceMappingURL=deploy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/deploy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,4EAAwH;AACxH,6FAAwE;AACxE,qDAAyD;AACzD,2DAWgC;AAChC,uDAA0D;
|
|
1
|
+
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/deploy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,4EAAwH;AACxH,6FAAwE;AACxE,qDAAyD;AACzD,2DAWgC;AAChC,uDAA0D;AAC1D,6EAAiF;AAGjF,4DAA8C;AAC9C,oDAAuE;AACvE,oFAA0F;AAC1F,yFAAiE;AAQjE;;;GAGG;AACI,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAU,EAAE;IACzD,IAAI,CAAC,uBAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE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EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM;QACjD,OAAO,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC;QACtC,MAAM,EAAE,IAAI;KACb,CAAC,EACF,mBAAmB,EAAE,KAAK,CAAC,OAAO,CAAC;QACjC,WAAW,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,CAAC;QAC/D,OAAO,EAAE,KAAK;KACf,CAAC,IACF"}
|
|
@@ -35,6 +35,12 @@ class FlexPluginsListConfigurations extends information_flex_plugin_1.default {
|
|
|
35
35
|
this._logger.newline();
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* @override
|
|
40
|
+
*/
|
|
41
|
+
getTopicName() {
|
|
42
|
+
return FlexPluginsListConfigurations.topicName;
|
|
43
|
+
}
|
|
38
44
|
}
|
|
39
45
|
exports.default = FlexPluginsListConfigurations;
|
|
40
46
|
FlexPluginsListConfigurations.topicName = 'flex:plugins:list:configurations';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurations.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/list/configurations.ts"],"names":[],"mappings":";;;;;AAEA,uDAA8D;AAC9D,+GAAqF;AAErF;;GAEG;AACH,MAAqB,6BAA8B,SAAQ,iCAA2C;IASpG;;OAEG;IACH,KAAK,CAAC,WAAW;QACf,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC;QAEnE,OAAO,MAAM,CAAC,cAAc,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,oBAAoB;IACpB,QAAQ;QACN,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,oBAAoB;IACpB,KAAK,CAAC,cAAoC;QACxC,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;QAE/C,IAAI,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE;YAC7B,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YAChF,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;YACpD,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QACzB,CAAC,CAAC,CAAC;IACL,CAAC;;
|
|
1
|
+
{"version":3,"file":"configurations.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/list/configurations.ts"],"names":[],"mappings":";;;;;AAEA,uDAA8D;AAC9D,+GAAqF;AAErF;;GAEG;AACH,MAAqB,6BAA8B,SAAQ,iCAA2C;IASpG;;OAEG;IACH,KAAK,CAAC,WAAW;QACf,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC;QAEnE,OAAO,MAAM,CAAC,cAAc,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,oBAAoB;IACpB,QAAQ;QACN,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,oBAAoB;IACpB,KAAK,CAAC,cAAoC;QACxC,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;QAE/C,IAAI,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE;YAC7B,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YAChF,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;YACpD,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QACzB,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,YAAY;QACV,OAAO,6BAA6B,CAAC,SAAS,CAAC;IACjD,CAAC;;AA7CH,gDA8CC;AA7CQ,uCAAS,GAAG,kCAAkC,CAAC;AAE/C,yCAAW,GAAG,2BAAiB,CAAC,6BAA6B,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAExF,mCAAK,qBACP,iCAAqB,CAAC,KAAK,EAC9B"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { flags } from '@oclif/parser';
|
|
2
|
+
import { OutputFlags } from '@oclif/parser/lib/parse';
|
|
1
3
|
import FlexPlugin from '../../../sub-commands/flex-plugin';
|
|
2
4
|
export declare type ValidateResult = {
|
|
3
5
|
violations: string[];
|
|
@@ -14,10 +16,13 @@ export default class FlexPluginValidate extends FlexPlugin {
|
|
|
14
16
|
static topicName: string;
|
|
15
17
|
static description: string;
|
|
16
18
|
static flags: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
'flex-ui-2.0': flags.IBooleanFlag<boolean>;
|
|
20
|
+
json: flags.IBooleanFlag<boolean>;
|
|
21
|
+
'clear-terminal': flags.IBooleanFlag<boolean>;
|
|
19
22
|
region: import("@oclif/command/lib/flags").IOptionFlag<string>;
|
|
20
23
|
};
|
|
24
|
+
_flags: OutputFlags<typeof FlexPluginValidate.flags>;
|
|
25
|
+
init(): Promise<void>;
|
|
21
26
|
/**
|
|
22
27
|
* @override
|
|
23
28
|
*/
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const parser_1 = require("@oclif/parser");
|
|
6
7
|
const general_1 = require("../../../utils/general");
|
|
7
8
|
const flex_plugin_1 = __importDefault(require("../../../sub-commands/flex-plugin"));
|
|
8
9
|
const baseFlags = Object.assign({}, flex_plugin_1.default.flags);
|
|
@@ -13,11 +14,15 @@ delete baseFlags.json;
|
|
|
13
14
|
*/
|
|
14
15
|
// eslint-disable-next-line import/no-unused-modules
|
|
15
16
|
class FlexPluginValidate extends flex_plugin_1.default {
|
|
17
|
+
async init() {
|
|
18
|
+
this._flags = (await this.parseCommand(FlexPluginValidate)).flags;
|
|
19
|
+
}
|
|
16
20
|
/**
|
|
17
21
|
* @override
|
|
18
22
|
*/
|
|
19
23
|
async doRun() {
|
|
20
24
|
process.env.PERSIST_TERMINAL = 'true';
|
|
25
|
+
this.scriptArgs = this._flags['flex-ui-2.0'] ? ['--flex-ui-2.0'] : [];
|
|
21
26
|
const { violations, vtime, error } = (await this.runScript('validate'));
|
|
22
27
|
this.telemetryProperties = { violations, vtime: Math.round(vtime), error, deployed: 0 };
|
|
23
28
|
}
|
|
@@ -37,5 +42,8 @@ class FlexPluginValidate extends flex_plugin_1.default {
|
|
|
37
42
|
exports.default = FlexPluginValidate;
|
|
38
43
|
FlexPluginValidate.topicName = 'flex:plugins:validate';
|
|
39
44
|
FlexPluginValidate.description = general_1.createDescription(FlexPluginValidate.topic.description, false);
|
|
40
|
-
FlexPluginValidate.flags = Object.assign({}, baseFlags)
|
|
45
|
+
FlexPluginValidate.flags = Object.assign(Object.assign({}, baseFlags), { 'flex-ui-2.0': parser_1.flags.boolean({
|
|
46
|
+
description: FlexPluginValidate.topic.flags.flexui2,
|
|
47
|
+
default: false,
|
|
48
|
+
}) });
|
|
41
49
|
//# sourceMappingURL=validate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/validate.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2D;AAC3D,oFAA2D;AAE3D,MAAM,SAAS,qBAAQ,qBAAU,CAAC,KAAK,CAAE,CAAC;AAC1C,aAAa;AACb,OAAO,SAAS,CA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EpC,8BAAW,GAAG,2BAAiB,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAE7E,wBAAK,mCACP,SAAS,KACZ,aAAa,EAAE,cAAK,CAAC,OAAO,CAAC;QAC3B,WAAW,EAAE,kBAAkB,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO;QACnD,OAAO,EAAE,KAAK;KACf,CAAC,IACF"}
|
|
@@ -43,7 +43,6 @@ export declare type PkgCallback = (input: Pkg) => Pkg;
|
|
|
43
43
|
* This will ensure the script is running on a Flex-plugin project, otherwise will throw an error
|
|
44
44
|
*/
|
|
45
45
|
export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
46
|
-
static checkForUpdateFrequency: number;
|
|
47
46
|
static topicName: string;
|
|
48
47
|
static BUILDER_VERSION: number;
|
|
49
48
|
/**
|
|
@@ -213,10 +212,6 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
213
212
|
* @param otherKeys
|
|
214
213
|
*/
|
|
215
214
|
printVersion(key: string, ...otherKeys: string[]): void;
|
|
216
|
-
/**
|
|
217
|
-
* Checks for CLI update
|
|
218
|
-
*/
|
|
219
|
-
checkForUpdate(): void;
|
|
220
215
|
/**
|
|
221
216
|
* Abstract class method that each command should extend; this is the actual command that runs once initialization is
|
|
222
217
|
* complete
|
|
@@ -267,10 +262,6 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
267
262
|
warnNotRemoved: (note: string) => void;
|
|
268
263
|
removeLegacyNotification: (pluginName: string, skip: boolean) => Promise<void>;
|
|
269
264
|
noLegacyPluginFound: (pluginName: string) => void;
|
|
270
|
-
/**
|
|
271
|
-
* Checks the dir is a Flex plugin
|
|
272
|
-
* @returns {boolean}
|
|
273
|
-
*/
|
|
274
265
|
removeLegacyPluginSucceeded: (pluginName: string) => void;
|
|
275
266
|
warningPluginNotInAPI: (pluginName: string) => void;
|
|
276
267
|
manualUpgrade: (files: string[]) => void;
|
|
@@ -274,7 +274,7 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
274
274
|
async run() {
|
|
275
275
|
var _a;
|
|
276
276
|
await super.run();
|
|
277
|
-
|
|
277
|
+
await flex_dev_utils_1.checkForUpdate();
|
|
278
278
|
fs_1.addCWDNodeModule();
|
|
279
279
|
if (!this.skipEnvironmentalSetup) {
|
|
280
280
|
await this.setupEnvironment();
|
|
@@ -440,17 +440,6 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
440
440
|
this._logger.info(`**@@${key}@@**`);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
/**
|
|
444
|
-
* Checks for CLI update
|
|
445
|
-
*/
|
|
446
|
-
/* c8 ignore next */
|
|
447
|
-
checkForUpdate() {
|
|
448
|
-
var _a, _b;
|
|
449
|
-
const notifier = flex_dev_utils_1.updateNotifier({ pkg: this.cliPkg, updateCheckInterval: FlexPlugin.checkForUpdateFrequency });
|
|
450
|
-
// template taken from the update-checker
|
|
451
|
-
const message = `Update available ${flex_dev_utils_1.chalk.dim((_a = notifier.update) === null || _a === void 0 ? void 0 : _a.current)}${flex_dev_utils_1.chalk.reset(' → ')}${flex_dev_utils_1.chalk.green((_b = notifier.update) === null || _b === void 0 ? void 0 : _b.latest)} \nRun ${flex_dev_utils_1.chalk.cyan('twilio plugins:install @twilio-labs/plugin-flex')} to update`;
|
|
452
|
-
notifier.notify({ message });
|
|
453
|
-
}
|
|
454
443
|
/**
|
|
455
444
|
* Abstract class method that each command should extend; this is the actual command that runs once initialization is
|
|
456
445
|
* complete
|
|
@@ -554,9 +543,8 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
554
543
|
}
|
|
555
544
|
}
|
|
556
545
|
exports.default = FlexPlugin;
|
|
557
|
-
FlexPlugin.checkForUpdateFrequency = 1000 * 60 * 60 * 24; // daily
|
|
558
546
|
FlexPlugin.topicName = 'flex:plugins';
|
|
559
|
-
FlexPlugin.BUILDER_VERSION =
|
|
547
|
+
FlexPlugin.BUILDER_VERSION = 7;
|
|
560
548
|
FlexPlugin.flags = Object.assign(Object.assign({}, baseFlag), { json: flags.boolean({
|
|
561
549
|
description: FlexPlugin.topic.flags.json,
|
|
562
550
|
}), 'clear-terminal': flags.boolean({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex-plugin.js","sourceRoot":"","sources":["../../src/sub-commands/flex-plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA4B;AAC5B,2BAA6B;AAE7B,uDAMwC;AACxC,+CAA0D;AAC1D,6EAOyC;AACzC,2DAYgC;AAChC,6DAAwE;AACxE,kDAA0B;AAC1B,sDAAwC;AACxC,oDAA4B;AAI5B,6DAAqC;AACrC,sDAAwC;AACxC,8CAAoD;AACpD,8CAAkD;AAClD,uDAA+B;AAC/B,iGAA6G;AAC7G,mFAA2D;AAC3D,oCAA6D;AAW7D,MAAM,iBAAiB,GAAG,6BAA6B,CAAC;AAgCxD,MAAM,QAAQ,qBAAQ,uBAAY,CAAC,mBAAmB,CAAC,KAAK,CAAE,CAAC;AAC/D,OAAO,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAErC,MAAM,cAAc,GAAG,cAAc,CAAC;AAEtC;;;GAGG;AACH,MAAqB,UAAW,SAAQ,uBAAY,CAAC,mBAAmB;IAsFtE,YAAY,IAAc,EAAE,MAAkB,EAAE,aAA4B,EAAE,IAA+B;QAC3G,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;QAEnC,IAAI,CAAC,IAAI,mCAAQ,UAAU,CAAC,cAAc,GAAK,IAAI,CAAE,CAAC;QACtD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,WAAI,CAAC,SAAS,EAAE,QAAQ,CAAC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clif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"7.0.0-beta.0","commands":{"flex:plugins:build":{"id":"flex:plugins:build","description":"Builds the Flex plugin and creates a JavaScript and sourcemap bundle. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:create-configuration":{"id":"flex:plugins:create-configuration","description":"Creates a Flex Plugin Configuration. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":true,"default":"Autogenerated Release 1710931876583"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":true,"default":"The description of this Flex Plugin Configuration."}},"args":[]},"flex:plugins:create":{"id":"flex:plugins:create","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"typescript":{"name":"typescript","type":"boolean","char":"s","description":"Create a TypeScript project","required":false,"allowNo":false},"template":{"name":"template","type":"option","char":"t","description":"A GitHub URL that contains your template","required":false,"default":""},"accountSid":{"name":"accountSid","type":"option","char":"a","description":"The Account SID for your Flex Project","required":false,"default":""},"runtimeUrl":{"name":"runtimeUrl","type":"boolean","char":"r","description":"The URL to your Twilio Flex Runtime","required":false,"allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"Auto-install dependencies","required":false,"allowNo":false},"yarn":{"name":"yarn","type":"boolean","char":"y","description":"Use yarn as your dependency manager","required":false,"allowNo":false},"help":{"name":"help","type":"option","char":"h","required":false},"version":{"name":"version","type":"option","char":"v","required":false},"flexui1":{"name":"flexui1","type":"boolean","description":"Creates a plugin compatible with Flex UI major version 1.0","required":false,"allowNo":false},"flexui2":{"name":"flexui2","type":"boolean","description":"Creates a plugin compatible with Flex UI major version 2.0","required":false,"allowNo":false}},"args":[{"name":"name","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin.","required":true}]},"flex:plugins:deploy":{"id":"flex:plugins:deploy","description":"Builds and deploys a new version of the Flex plugin to your Flex application. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"patch":{"name":"patch","type":"boolean","description":"Publishes the version as a patch (SemVer); this is the default.","allowNo":false},"minor":{"name":"minor","type":"boolean","description":"Publishes the version as a minor (SemVer).","allowNo":false},"major":{"name":"major","type":"boolean","description":"Publishes the version as a major (SemVer).","allowNo":false},"version":{"name":"version","type":"option","description":"Publishes the version (SemVer)."},"public":{"name":"public","type":"boolean","description":"Publishes the plugin as a public Twilio Asset; default is private.","allowNo":false},"changelog":{"name":"changelog","type":"option","description":"The changes (added/removed) made in this plugin version.","required":true},"description":{"name":"description","type":"option","description":"The description of this Flex plugin."},"option":{"name":"option","type":"option","description":"Option to automatically pick post validation of the plugin","hidden":true,"options":["deploy","fix"]}},"args":[]},"flex:plugins:diff":{"id":"flex:plugins:diff","description":"Finds the diff between two Flex Plugin Configurations.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[{"name":"id1","description":"The first Flex Plugin Configuration SID.","required":true},{"name":"id2","description":"The second Flex Plugin Configuration SID."}]},"flex:plugins:release":{"id":"flex:plugins:release","description":"Creates a Flex Plugin Release. Enables the plugins (passed as params or via the Flex Configuration) on your Flex application.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":false,"default":"Autogenerated Release 1710931876583"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":false,"default":"The description of this Flex Plugin Configuration."},"configuration-sid":{"name":"configuration-sid","type":"option","description":"The Flex Plugin Configuration SID to release; other options are not required when using this option."}},"args":[]},"flex:plugins:start":{"id":"flex:plugins:start","description":"Starts a dev-server to build the Flex plugin locally.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the plugin you would like to run. You can provide multiple to run them all concurrently. You can include specific active remote plugins using \"--name 'plugin-name@remote'\" or \"--name 'plugin-name@0.0.0'\" for a specific remote version."},"include-remote":{"name":"include-remote","type":"boolean","description":"Use this flag to include all remote plugins in your build.","allowNo":false},"port":{"name":"port","type":"option","description":"The port to start your local development server on.","default":3000},"flex-ui-source":{"name":"flex-ui-source","type":"option","hidden":true}},"args":[]},"flex:plugins:test":{"id":"flex:plugins:test","description":"Runs the test suite. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:upgrade-plugin":{"id":"flex:plugins:upgrade-plugin","description":"Upgrades your plugin to use the latest version of the Plugin CLI.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"remove-legacy-plugin":{"name":"remove-legacy-plugin","type":"boolean","description":"Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3).","allowNo":false},"install":{"name":"install","type":"boolean","description":"If set, will install the dependencies.","allowNo":false},"beta":{"name":"beta","type":"boolean","description":"If set, will upgrade to the latest beta version.","allowNo":false},"dev":{"name":"dev","type":"boolean","description":"If set, will upgrade to the latest dev version.","allowNo":false},"nightly":{"name":"nightly","type":"boolean","description":"If set, will upgrade to the latest nightly version.","allowNo":false},"yarn":{"name":"yarn","type":"boolean","description":"Use yarn for installation.","allowNo":false},"yes":{"name":"yes","type":"boolean","description":"If set, will answer yes to all prompts.","allowNo":false},"flex-ui-2.0":{"name":"flex-ui-2.0","type":"boolean","description":"Update your plugin dependencies to be compatible with Flex UI 2.0.","allowNo":false}},"args":[]},"flex:plugins:validate":{"id":"flex:plugins:validate","description":"Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:archive:configuration":{"id":"flex:plugins:archive:configuration","description":"Archives a Flex Plugin Configuration. Archived Plugin Configurations cannot be deployed to your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin-version":{"id":"flex:plugins:archive:plugin-version","description":"Archives a Flex Plugin Version. Archived Plugin Versions cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to archive.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin":{"id":"flex:plugins:archive:plugin","description":"Archives a Flex Plugin. Archived Plugins cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to archive.","required":true}},"args":[]},"flex:plugins:describe:configuration":{"id":"flex:plugins:describe:configuration","description":"Provides details of the Flex Plugin Configuration like status, description and its associated Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID.","required":true}},"args":[]},"flex:plugins:describe:plugin-version":{"id":"flex:plugins:describe:plugin-version","description":"Provides details of the Flex Plugin Version like changelog, status and the url of the plugin package.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to describe.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to describe.","required":true}},"args":[]},"flex:plugins:describe:plugin":{"id":"flex:plugins:describe:plugin","description":"Provides details of the Flex Plugin like status, description and its Flex Plugin Versions.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to describe.","required":true}},"args":[]},"flex:plugins:describe:release":{"id":"flex:plugins:describe:release","description":"Provides details of the Flex Plugin Release like the underlying Plugin Configuration and Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Release SID to describe."},"active":{"name":"active","type":"boolean","description":"The most recent release to describe.","allowNo":false}},"args":[]},"flex:plugins:list:configurations":{"id":"flex:plugins:list:configurations","description":"Lists the Flex Plugin Configuration on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:plugin-versions":{"id":"flex:plugins:list:plugin-versions","description":"Lists the Flex Plugin Versions on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The plugin name to list its versions.","required":true}},"args":[]},"flex:plugins:list:plugins":{"id":"flex:plugins:list:plugins","description":"Lists the Flex Plugins on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:releases":{"id":"flex:plugins:list:releases","description":"Lists the Flex Releases on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]}}}
|
|
1
|
+
{"version":"7.0.0","commands":{"flex:plugins:build":{"id":"flex:plugins:build","description":"Builds the Flex plugin and creates a JavaScript and sourcemap bundle. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:create-configuration":{"id":"flex:plugins:create-configuration","description":"Creates a Flex Plugin Configuration. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":true,"default":"Autogenerated Release 1718036600413"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":true,"default":"The description of this Flex Plugin Configuration."}},"args":[]},"flex:plugins:create":{"id":"flex:plugins:create","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"typescript":{"name":"typescript","type":"boolean","char":"s","description":"Create a TypeScript project","required":false,"allowNo":false},"template":{"name":"template","type":"option","char":"t","description":"A GitHub URL that contains your template","required":false,"default":""},"accountSid":{"name":"accountSid","type":"option","char":"a","description":"The Account SID for your Flex Project","required":false,"default":""},"runtimeUrl":{"name":"runtimeUrl","type":"boolean","char":"r","description":"The URL to your Twilio Flex Runtime","required":false,"allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"Auto-install dependencies","required":false,"allowNo":false},"yarn":{"name":"yarn","type":"boolean","char":"y","description":"Use yarn as your dependency manager","required":false,"allowNo":false},"help":{"name":"help","type":"option","char":"h","required":false},"version":{"name":"version","type":"option","char":"v","required":false},"flexui1":{"name":"flexui1","type":"boolean","description":"Creates a plugin compatible with Flex UI major version 1.0","required":false,"allowNo":false},"flexui2":{"name":"flexui2","type":"boolean","description":"Creates a plugin compatible with Flex UI major version 2.0","required":false,"allowNo":false}},"args":[{"name":"name","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin.","required":true}]},"flex:plugins:deploy":{"id":"flex:plugins:deploy","description":"Builds and deploys a new version of the Flex plugin to your Flex application. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"patch":{"name":"patch","type":"boolean","description":"Publishes the version as a patch (SemVer); this is the default.","allowNo":false},"minor":{"name":"minor","type":"boolean","description":"Publishes the version as a minor (SemVer).","allowNo":false},"major":{"name":"major","type":"boolean","description":"Publishes the version as a major (SemVer).","allowNo":false},"version":{"name":"version","type":"option","description":"Publishes the version (SemVer)."},"public":{"name":"public","type":"boolean","description":"Publishes the plugin as a public Twilio Asset; default is private.","allowNo":false},"changelog":{"name":"changelog","type":"option","description":"The changes (added/removed) made in this plugin version.","required":true},"description":{"name":"description","type":"option","description":"The description of this Flex plugin."},"option":{"name":"option","type":"option","description":"Option to automatically pick post validation of the plugin.","hidden":true,"options":["deploy","fix"]},"bypass-validation":{"name":"bypass-validation","type":"boolean","description":"Validates the plugin and continues to plugin deployment ignoring validation issues, if any.","allowNo":false}},"args":[]},"flex:plugins:diff":{"id":"flex:plugins:diff","description":"Finds the diff between two Flex Plugin Configurations.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[{"name":"id1","description":"The first Flex Plugin Configuration SID.","required":true},{"name":"id2","description":"The second Flex Plugin Configuration SID."}]},"flex:plugins:release":{"id":"flex:plugins:release","description":"Creates a Flex Plugin Release. Enables the plugins (passed as params or via the Flex Configuration) on your Flex application.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":false,"default":"Autogenerated Release 1718036600413"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":false,"default":"The description of this Flex Plugin Configuration."},"configuration-sid":{"name":"configuration-sid","type":"option","description":"The Flex Plugin Configuration SID to release; other options are not required when using this option."}},"args":[]},"flex:plugins:start":{"id":"flex:plugins:start","description":"Starts a dev-server to build the Flex plugin locally.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the plugin you would like to run. You can provide multiple to run them all concurrently. You can include specific active remote plugins using \"--name 'plugin-name@remote'\" or \"--name 'plugin-name@0.0.0'\" for a specific remote version."},"include-remote":{"name":"include-remote","type":"boolean","description":"Use this flag to include all remote plugins in your build.","allowNo":false},"port":{"name":"port","type":"option","description":"The port to start your local development server on.","default":3000},"flex-ui-source":{"name":"flex-ui-source","type":"option","hidden":true}},"args":[]},"flex:plugins:test":{"id":"flex:plugins:test","description":"Runs the test suite. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:upgrade-plugin":{"id":"flex:plugins:upgrade-plugin","description":"Upgrades your plugin to use the latest version of the Plugin CLI.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"remove-legacy-plugin":{"name":"remove-legacy-plugin","type":"boolean","description":"Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3).","allowNo":false},"install":{"name":"install","type":"boolean","description":"If set, will install the dependencies.","allowNo":false},"beta":{"name":"beta","type":"boolean","description":"If set, will upgrade to the latest beta version.","allowNo":false},"dev":{"name":"dev","type":"boolean","description":"If set, will upgrade to the latest dev version.","allowNo":false},"nightly":{"name":"nightly","type":"boolean","description":"If set, will upgrade to the latest nightly version.","allowNo":false},"yarn":{"name":"yarn","type":"boolean","description":"Use yarn for installation.","allowNo":false},"yes":{"name":"yes","type":"boolean","description":"If set, will answer yes to all prompts.","allowNo":false},"flex-ui-2.0":{"name":"flex-ui-2.0","type":"boolean","description":"Update your plugin dependencies to be compatible with Flex UI 2.0.","allowNo":false}},"args":[]},"flex:plugins:validate":{"id":"flex:plugins:validate","description":"Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"flex-ui-2.0":{"name":"flex-ui-2.0","type":"boolean","description":"Validates the Flex plugin for compatibility with the latest Flex UI 2.x version.","allowNo":false}},"args":[]},"flex:plugins:archive:configuration":{"id":"flex:plugins:archive:configuration","description":"Archives a Flex Plugin Configuration. Archived Plugin Configurations cannot be deployed to your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin-version":{"id":"flex:plugins:archive:plugin-version","description":"Archives a Flex Plugin Version. Archived Plugin Versions cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to archive.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin":{"id":"flex:plugins:archive:plugin","description":"Archives a Flex Plugin. Archived Plugins cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to archive.","required":true}},"args":[]},"flex:plugins:describe:configuration":{"id":"flex:plugins:describe:configuration","description":"Provides details of the Flex Plugin Configuration like status, description and its associated Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID.","required":true}},"args":[]},"flex:plugins:describe:plugin-version":{"id":"flex:plugins:describe:plugin-version","description":"Provides details of the Flex Plugin Version like changelog, status and the url of the plugin package.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to describe.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to describe.","required":true}},"args":[]},"flex:plugins:describe:plugin":{"id":"flex:plugins:describe:plugin","description":"Provides details of the Flex Plugin like status, description and its Flex Plugin Versions.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to describe.","required":true}},"args":[]},"flex:plugins:describe:release":{"id":"flex:plugins:describe:release","description":"Provides details of the Flex Plugin Release like the underlying Plugin Configuration and Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Release SID to describe."},"active":{"name":"active","type":"boolean","description":"The most recent release to describe.","allowNo":false}},"args":[]},"flex:plugins:list:configurations":{"id":"flex:plugins:list:configurations","description":"Lists the Flex Plugin Configuration on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:plugin-versions":{"id":"flex:plugins:list:plugin-versions","description":"Lists the Flex Plugin Versions on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The plugin name to list its versions.","required":true}},"args":[]},"flex:plugins:list:plugins":{"id":"flex:plugins:list:plugins","description":"Lists the Flex Plugins on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:releases":{"id":"flex:plugins:list:releases","description":"Lists the Flex Releases on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twilio-labs/plugin-flex",
|
|
3
|
-
"version": "7.0.0
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Create, develop and deploy Flex plugins using the Twilio CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"twilio",
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
"@oclif/config": "^1.18.1",
|
|
48
48
|
"@oclif/errors": "^1.3.5",
|
|
49
49
|
"@oclif/parser": "^3.8.5",
|
|
50
|
-
"@twilio/cli-core": "^7.
|
|
51
|
-
"@twilio/create-flex-plugin": "7.0.0
|
|
52
|
-
"@twilio/flex-dev-utils": "7.0.0
|
|
53
|
-
"@twilio/flex-plugin-scripts": "7.0.0
|
|
54
|
-
"@twilio/flex-plugins-api-client": "7.0.0
|
|
50
|
+
"@twilio/cli-core": "^7.19.1",
|
|
51
|
+
"@twilio/create-flex-plugin": "7.0.0",
|
|
52
|
+
"@twilio/flex-dev-utils": "7.0.0",
|
|
53
|
+
"@twilio/flex-plugin-scripts": "7.0.0",
|
|
54
|
+
"@twilio/flex-plugins-api-client": "7.0.0",
|
|
55
55
|
"dayjs": "^1.10.7",
|
|
56
56
|
"lodash.startcase": "^4.4.0",
|
|
57
57
|
"mkdirp": "^1.0.4",
|
|
58
58
|
"package-json": "^7.0.0",
|
|
59
|
-
"rimraf": "^
|
|
59
|
+
"rimraf": "^4.0.0",
|
|
60
60
|
"yargs": "^16.2.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"twilio": "^3.71.2"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
|
-
"node": "^
|
|
74
|
+
"node": "^16 || ^18 || ^20"
|
|
75
75
|
},
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
@@ -118,7 +118,8 @@
|
|
|
118
118
|
"public": "Publishes the plugin as a public Twilio Asset; default is private.",
|
|
119
119
|
"changelog": "The changes (added/removed) made in this plugin version.",
|
|
120
120
|
"description": "The description of this Flex plugin.",
|
|
121
|
-
"option": "Option to automatically pick post validation of the plugin"
|
|
121
|
+
"option": "Option to automatically pick post validation of the plugin.",
|
|
122
|
+
"bypass-validation": "Validates the plugin and continues to plugin deployment ignoring validation issues, if any."
|
|
122
123
|
}
|
|
123
124
|
},
|
|
124
125
|
"flex:plugins:create-configuration": {
|
|
@@ -231,9 +232,12 @@
|
|
|
231
232
|
"description": "Lists the Flex Releases on the account."
|
|
232
233
|
},
|
|
233
234
|
"flex:plugins:validate": {
|
|
234
|
-
"description": "Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any."
|
|
235
|
+
"description": "Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any.",
|
|
236
|
+
"flags": {
|
|
237
|
+
"flexui2": "Validates the Flex plugin for compatibility with the latest Flex UI 2.x version."
|
|
238
|
+
}
|
|
235
239
|
}
|
|
236
240
|
}
|
|
237
241
|
},
|
|
238
|
-
"gitHead": "
|
|
242
|
+
"gitHead": "e8a859a08d42e0a2ba49f2dd9df476509191a40c"
|
|
239
243
|
}
|