@twilio-labs/plugin-flex 4.3.0-flex-ui-2.1 → 4.3.1-dev.202201212032
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 +23 -24
- package/dist/clients/FlexConfigurationClient.js +7 -1
- package/dist/clients/FlexConfigurationClient.js.map +1 -1
- package/dist/clients/ServerlessClient.d.ts +27 -0
- package/dist/clients/ServerlessClient.js +53 -2
- package/dist/clients/ServerlessClient.js.map +1 -1
- package/dist/commands/flex/plugins/archive/configuration.d.ts +1 -1
- package/dist/commands/flex/plugins/archive/plugin-version.d.ts +23 -1
- package/dist/commands/flex/plugins/archive/plugin-version.js +86 -1
- package/dist/commands/flex/plugins/archive/plugin-version.js.map +1 -1
- package/dist/commands/flex/plugins/archive/plugin.d.ts +12 -1
- package/dist/commands/flex/plugins/archive/plugin.js +54 -1
- package/dist/commands/flex/plugins/archive/plugin.js.map +1 -1
- package/dist/commands/flex/plugins/deploy.js +1 -2
- package/dist/commands/flex/plugins/deploy.js.map +1 -1
- package/dist/commands/flex/plugins/describe/configuration.d.ts +1 -1
- package/dist/commands/flex/plugins/describe/plugin-version.d.ts +1 -1
- package/dist/commands/flex/plugins/describe/plugin.d.ts +1 -1
- package/dist/commands/flex/plugins/describe/release.d.ts +1 -1
- package/dist/commands/flex/plugins/diff.d.ts +1 -2
- package/dist/commands/flex/plugins/diff.js.map +1 -1
- package/dist/commands/flex/plugins/list/configurations.d.ts +1 -1
- package/dist/commands/flex/plugins/list/plugin-versions.d.ts +1 -1
- package/dist/commands/flex/plugins/list/plugins.d.ts +1 -1
- package/dist/commands/flex/plugins/list/releases.d.ts +1 -1
- package/dist/commands/flex/plugins/release.d.ts +5 -2
- package/dist/commands/flex/plugins/upgrade-plugin.d.ts +6 -11
- package/dist/commands/flex/plugins/upgrade-plugin.js +11 -68
- package/dist/commands/flex/plugins/upgrade-plugin.js.map +1 -1
- package/dist/prints/index.d.ts +1 -3
- package/dist/prints/upgradePlugin.d.ts +1 -3
- package/dist/prints/upgradePlugin.js +3 -21
- package/dist/prints/upgradePlugin.js.map +1 -1
- package/dist/sub-commands/archive-resource.js +4 -1
- package/dist/sub-commands/archive-resource.js.map +1 -1
- package/dist/sub-commands/create-configuration.d.ts +1 -1
- package/dist/sub-commands/flex-plugin.d.ts +11 -14
- package/dist/sub-commands/flex-plugin.js +38 -34
- package/dist/sub-commands/flex-plugin.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +18 -16
|
@@ -20,7 +20,10 @@ class ArchiveResource extends flex_plugin_1.default {
|
|
|
20
20
|
*/
|
|
21
21
|
async doRun() {
|
|
22
22
|
const name = `**${this.getName()}**`;
|
|
23
|
-
const
|
|
23
|
+
const assetsRemovalMsg = this.getResourceType() === 'Flex Plugin'
|
|
24
|
+
? `This will remove the plugin's packages uploaded to Twilio Assets and cannot be undone. `
|
|
25
|
+
: '';
|
|
26
|
+
const doArchive = await flex_dev_utils_1.confirm(`Are you sure you want to archive ${this.getResourceType()} ${this.getName()}? ${assetsRemovalMsg}Once archived, it cannot be undone.`, 'N');
|
|
24
27
|
if (!doArchive) {
|
|
25
28
|
this.exit(0);
|
|
26
29
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive-resource.js","sourceRoot":"","sources":["../../src/sub-commands/archive-resource.ts"],"names":[],"mappings":";;;;;AAAA,mDAAyD;AAEzD,gEAAsE;AACtE,8CAAiE;AAMjE,MAAM,SAAS,qBAAQ,qBAAU,CAAC,KAAK,CAAE,CAAC;AAC1C,aAAa;AACb,OAAO,SAAS,CAAC,IAAI,CAAC;AAEtB,MAA8B,eAAsC,SAAQ,qBAAU;IAYpF,YAAmB,IAAc,EAAE,MAAkB,EAAE,aAA4B;QACjF,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;QAE9D,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;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E;YACd,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACb,OAAO;SACR;QAED,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;YACtC,IAAI,MAAM,CAAC,UAAU,EAAE;gBACrB,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;aACxC;iBAAM;gBACL,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;aAClC;SACF;QAAC,OAAO,CAAC,EAAE;YACV,IAAI,oBAAU,CAAC,CAAC,EAAE,+BAAc,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE;gBACrD,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC;aAC9C;iBAAM;gBACL,MAAM,CAAC,CAAC;aACT;SACF;IACH,CAAC;;AAnDH,kCAgEC;AA/DQ,yBAAS,GAAG,sBAAsB,CAAC;AAEnC,2BAAW,GAAG,2BAAiB,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAEzE,qBAAK,qBACP,SAAS,EACZ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateConfiguration as ICreateConfiguration } from 'flex-plugins-api-
|
|
1
|
+
import { CreateConfiguration as ICreateConfiguration } from 'flex-plugins-api-client';
|
|
2
2
|
import * as flags from '../utils/flags';
|
|
3
3
|
import FlexPlugin, { FlexPluginFlags } from './flex-plugin';
|
|
4
4
|
declare type Multiple = {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import PluginsApiToolkit from 'flex-plugins-api-toolkit';
|
|
2
1
|
import { baseCommands, services } from '@twilio/cli-core';
|
|
3
|
-
import { PluginsClient, PluginVersionsClient, ConfigurationsClient, ReleasesClient } from 'flex-plugins-api-client';
|
|
2
|
+
import { PluginsClient, PluginVersionsClient, ConfigurationsClient, ReleasesClient, FlexPluginsAPIToolkit } from 'flex-plugins-api-client';
|
|
4
3
|
import { Logger } from 'flex-dev-utils';
|
|
5
4
|
import { SpawnPromise } from 'flex-dev-utils/dist/spawn';
|
|
6
5
|
import * as Parser from '@oclif/parser';
|
|
@@ -54,7 +53,6 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
54
53
|
protected static DATE_FIELDS: string[];
|
|
55
54
|
protected static ACTIVE_FIELDS: string[];
|
|
56
55
|
protected static ACCESS_FIELDS: string[];
|
|
57
|
-
protected static DEFAULT_FLEX_UI_VERSION: number;
|
|
58
56
|
private static defaultOptions;
|
|
59
57
|
protected readonly opts: FlexPluginOption;
|
|
60
58
|
protected readonly cwd: string;
|
|
@@ -110,10 +108,10 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
110
108
|
*/
|
|
111
109
|
get builderVersion(): number | null;
|
|
112
110
|
/**
|
|
113
|
-
* Gets an instantiated {@link
|
|
114
|
-
* @returns {
|
|
111
|
+
* Gets an instantiated {@link FlexPluginsAPIToolkit}
|
|
112
|
+
* @returns {FlexPluginsAPIToolkit}
|
|
115
113
|
*/
|
|
116
|
-
get pluginsApiToolkit():
|
|
114
|
+
get pluginsApiToolkit(): FlexPluginsAPIToolkit;
|
|
117
115
|
/**
|
|
118
116
|
* Gets an instantiated {@link PluginsClient}
|
|
119
117
|
* @returns {PluginsClient}
|
|
@@ -144,10 +142,6 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
144
142
|
* @returns {ServerlessClient}
|
|
145
143
|
*/
|
|
146
144
|
get serverlessClient(): ServerlessClient;
|
|
147
|
-
/**
|
|
148
|
-
* Returns the flex-ui version from the plugin
|
|
149
|
-
*/
|
|
150
|
-
get flexUIVersion(): number;
|
|
151
145
|
/**
|
|
152
146
|
* The main run command
|
|
153
147
|
* @override
|
|
@@ -178,7 +172,7 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
178
172
|
/**
|
|
179
173
|
* Setups the environment. This must run after run command
|
|
180
174
|
*/
|
|
181
|
-
setupEnvironment(): void
|
|
175
|
+
setupEnvironment(): Promise<void>;
|
|
182
176
|
/**
|
|
183
177
|
* Prints pretty an object as a Key:Value pair
|
|
184
178
|
* @param object the object to print
|
|
@@ -236,12 +230,10 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
236
230
|
*/
|
|
237
231
|
get _prints(): {
|
|
238
232
|
upgradePlugin: {
|
|
239
|
-
upgradeNotification: (skip: boolean) => Promise<void>;
|
|
233
|
+
upgradeNotification: (skip: boolean, version?: string | undefined) => Promise<void>;
|
|
240
234
|
scriptStarted: (version: string) => void;
|
|
241
235
|
upgradeToLatest: () => void;
|
|
242
236
|
scriptSucceeded: (needsInstall: boolean) => void;
|
|
243
|
-
flexUIUpdateSucceeded: () => void;
|
|
244
|
-
upgradeToFlexUI2: () => void;
|
|
245
237
|
updatePluginUrl: (newline: boolean) => void;
|
|
246
238
|
cannotRemoveCraco: (newline: boolean) => void;
|
|
247
239
|
packageNotFound: (pkg: string) => void;
|
|
@@ -274,5 +266,10 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
274
266
|
protected parse<F, A extends {
|
|
275
267
|
[name: string]: any;
|
|
276
268
|
}>(options?: Parser.Input<F>, argv?: string[]): Parser.Output<F, A>;
|
|
269
|
+
/**
|
|
270
|
+
* Generates the {@link PluginServiceHttpOption} options
|
|
271
|
+
* @private
|
|
272
|
+
*/
|
|
273
|
+
private getPluginServiceOptions;
|
|
277
274
|
}
|
|
278
275
|
export {};
|
|
@@ -24,7 +24,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
const path_1 = require("path");
|
|
26
26
|
const os_1 = require("os");
|
|
27
|
-
const flex_plugins_api_toolkit_1 = __importDefault(require("flex-plugins-api-toolkit"));
|
|
28
27
|
const fs_1 = require("flex-dev-utils/dist/fs");
|
|
29
28
|
const cli_core_1 = require("@twilio/cli-core");
|
|
30
29
|
const flex_plugins_api_client_1 = require("flex-plugins-api-client");
|
|
@@ -42,10 +41,6 @@ const FlexConfigurationClient_1 = __importDefault(require("../clients/FlexConfig
|
|
|
42
41
|
const ServerlessClient_1 = __importDefault(require("../clients/ServerlessClient"));
|
|
43
42
|
const utils_1 = require("../utils");
|
|
44
43
|
const flexPluginScripts = 'flex-plugin-scripts';
|
|
45
|
-
const flexPluginsApiUtils = 'flex-plugins-api-utils';
|
|
46
|
-
const flexPluginsApiClient = 'flex-plugins-api-client';
|
|
47
|
-
const twilioCLI = '@twilio/cli-core';
|
|
48
|
-
const twilioCliFlexPlugin = 'twilio-cli-flex-plugin';
|
|
49
44
|
const baseFlag = Object.assign({}, cli_core_1.baseCommands.TwilioClientCommand.flags);
|
|
50
45
|
delete baseFlag['cli-output-format'];
|
|
51
46
|
const packageJsonStr = 'package.json';
|
|
@@ -171,8 +166,8 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
171
166
|
return version.major;
|
|
172
167
|
}
|
|
173
168
|
/**
|
|
174
|
-
* Gets an instantiated {@link
|
|
175
|
-
* @returns {
|
|
169
|
+
* Gets an instantiated {@link FlexPluginsAPIToolkit}
|
|
170
|
+
* @returns {FlexPluginsAPIToolkit}
|
|
176
171
|
*/
|
|
177
172
|
get pluginsApiToolkit() {
|
|
178
173
|
if (!this._pluginsApiToolkit) {
|
|
@@ -240,18 +235,6 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
240
235
|
}
|
|
241
236
|
return this._serverlessClient;
|
|
242
237
|
}
|
|
243
|
-
/**
|
|
244
|
-
* Returns the flex-ui version from the plugin
|
|
245
|
-
*/
|
|
246
|
-
get flexUIVersion() {
|
|
247
|
-
var _a;
|
|
248
|
-
const flexUI = '@twilio/flex-ui';
|
|
249
|
-
const dep = this.pkg.dependencies[flexUI] || this.pkg.devDependencies[flexUI];
|
|
250
|
-
if (!dep) {
|
|
251
|
-
throw new flex_dev_utils_1.TwilioCliError(`Package '${flexUI}' was not found`);
|
|
252
|
-
}
|
|
253
|
-
return ((_a = flex_dev_utils_1.semver.coerce(dep)) === null || _a === void 0 ? void 0 : _a.major) || FlexPlugin.DEFAULT_FLEX_UI_VERSION;
|
|
254
|
-
}
|
|
255
238
|
/**
|
|
256
239
|
* The main run command
|
|
257
240
|
* @override
|
|
@@ -259,6 +242,7 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
259
242
|
async run() {
|
|
260
243
|
await super.run();
|
|
261
244
|
this.checkForUpdate();
|
|
245
|
+
fs_1.addCWDNodeModule();
|
|
262
246
|
this.logger.debug(`Using Plugins CLI version ${this.cliPkg.version}`);
|
|
263
247
|
this.logger.debug(`Using Flex Plugins Config File: ${this.pluginsConfigPath}`);
|
|
264
248
|
if (this._flags['clear-terminal']) {
|
|
@@ -275,17 +259,7 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
275
259
|
this.exit(1);
|
|
276
260
|
}
|
|
277
261
|
}
|
|
278
|
-
const pluginServiceOptions =
|
|
279
|
-
setUserAgent: true,
|
|
280
|
-
caller: 'twilio-cli',
|
|
281
|
-
packages: {
|
|
282
|
-
[flexPluginScripts]: FlexPlugin.getPackageVersion(flexPluginScripts),
|
|
283
|
-
[flexPluginsApiUtils]: FlexPlugin.getPackageVersion(flexPluginsApiUtils),
|
|
284
|
-
[flexPluginsApiClient]: FlexPlugin.getPackageVersion(flexPluginsApiClient),
|
|
285
|
-
[twilioCLI]: FlexPlugin.getPackageVersion(twilioCLI),
|
|
286
|
-
[twilioCliFlexPlugin]: FlexPlugin.getPackageVersion(this.pluginRootDir),
|
|
287
|
-
},
|
|
288
|
-
};
|
|
262
|
+
const pluginServiceOptions = this.getPluginServiceOptions();
|
|
289
263
|
const flexConfigOptions = {
|
|
290
264
|
accountSid: this.currentProfile.accountSid,
|
|
291
265
|
username: this.twilioApiClient.username,
|
|
@@ -298,7 +272,7 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
298
272
|
flexConfigOptions.region = this._flags.region;
|
|
299
273
|
}
|
|
300
274
|
const httpClient = new flex_plugins_api_client_1.PluginServiceHTTPClient(this.twilioApiClient.username, this.twilioApiClient.password, pluginServiceOptions);
|
|
301
|
-
this._pluginsApiToolkit = new
|
|
275
|
+
this._pluginsApiToolkit = new flex_plugins_api_client_1.FlexPluginsAPIToolkit(this.twilioApiClient.username, this.twilioApiClient.password, pluginServiceOptions);
|
|
302
276
|
this._pluginsClient = new flex_plugins_api_client_1.PluginsClient(httpClient);
|
|
303
277
|
this._pluginVersionsClient = new flex_plugins_api_client_1.PluginVersionsClient(httpClient);
|
|
304
278
|
this._configurationsClient = new flex_plugins_api_client_1.ConfigurationsClient(httpClient);
|
|
@@ -306,7 +280,7 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
306
280
|
this._flexConfigurationClient = new FlexConfigurationClient_1.default(this.twilioClient.flexApi.v1.configuration.get(), flexConfigOptions);
|
|
307
281
|
this._serverlessClient = new ServerlessClient_1.default(this.twilioClient.serverless.v1.services, this._logger);
|
|
308
282
|
if (!this.skipEnvironmentalSetup) {
|
|
309
|
-
this.setupEnvironment();
|
|
283
|
+
await this.setupEnvironment();
|
|
310
284
|
}
|
|
311
285
|
if (!this.isJson) {
|
|
312
286
|
this._logger.notice(`Using profile **${this.currentProfile.id}** (${this.currentProfile.accountSid})`);
|
|
@@ -370,7 +344,7 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
370
344
|
/**
|
|
371
345
|
* Setups the environment. This must run after run command
|
|
372
346
|
*/
|
|
373
|
-
setupEnvironment() {
|
|
347
|
+
async setupEnvironment() {
|
|
374
348
|
process.env.SKIP_CREDENTIALS_SAVING = 'true';
|
|
375
349
|
process.env.TWILIO_ACCOUNT_SID = this.twilioClient.username;
|
|
376
350
|
process.env.TWILIO_AUTH_TOKEN = this.twilioClient.password;
|
|
@@ -382,6 +356,13 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
382
356
|
if (this._flags.region) {
|
|
383
357
|
flex_dev_utils_1.env.setRegion(this._flags.region);
|
|
384
358
|
}
|
|
359
|
+
const shellCmd = ['npm', 'yarn'];
|
|
360
|
+
for (const cmd of shellCmd) {
|
|
361
|
+
const result = await spawn_1.spawn(cmd, ['-v'], {});
|
|
362
|
+
if (result.exitCode === 0) {
|
|
363
|
+
process.versions[cmd] = result.stdout;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
385
366
|
}
|
|
386
367
|
/**
|
|
387
368
|
* Prints pretty an object as a Key:Value pair
|
|
@@ -496,6 +477,30 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
496
477
|
parse(options, argv = this.argv) {
|
|
497
478
|
return parser_1.default(super.parse)(options, argv);
|
|
498
479
|
}
|
|
480
|
+
/**
|
|
481
|
+
* Generates the {@link PluginServiceHttpOption} options
|
|
482
|
+
* @private
|
|
483
|
+
*/
|
|
484
|
+
getPluginServiceOptions() {
|
|
485
|
+
const packages = {
|
|
486
|
+
[flexPluginScripts]: FlexPlugin.getPackageVersion(flexPluginScripts),
|
|
487
|
+
cli: FlexPlugin.getPackageVersion('@twilio/cli-core'),
|
|
488
|
+
'twilio-cli-flex-plugin': FlexPlugin.getPackageVersion(this.pluginRootDir),
|
|
489
|
+
react: FlexPlugin.getPackageVersion('react'),
|
|
490
|
+
'react-dom': FlexPlugin.getPackageVersion('react-dom'),
|
|
491
|
+
'flex-plugins-api-client': FlexPlugin.getPackageVersion('flex-plugins-api-client'),
|
|
492
|
+
'flex-ui': FlexPlugin.getPackageVersion(`@twilio/flex-ui`),
|
|
493
|
+
isTs: 'unknown',
|
|
494
|
+
};
|
|
495
|
+
if (this.opts.runInDirectory) {
|
|
496
|
+
packages.isTs = fs_1.getPaths().app.isTSProject().toString();
|
|
497
|
+
}
|
|
498
|
+
return {
|
|
499
|
+
setUserAgent: true,
|
|
500
|
+
caller: 'twilio-cli',
|
|
501
|
+
packages,
|
|
502
|
+
};
|
|
503
|
+
}
|
|
499
504
|
}
|
|
500
505
|
exports.default = FlexPlugin;
|
|
501
506
|
FlexPlugin.checkForUpdateFrequency = 1000 * 60 * 60 * 24; // daily
|
|
@@ -512,7 +517,6 @@ FlexPlugin.flags = Object.assign(Object.assign({}, baseFlag), { json: flags.bool
|
|
|
512
517
|
FlexPlugin.DATE_FIELDS = ['datecreated', 'dateupdated', 'created', 'updated'];
|
|
513
518
|
FlexPlugin.ACTIVE_FIELDS = ['active', 'isactive', 'status'];
|
|
514
519
|
FlexPlugin.ACCESS_FIELDS = ['private', 'isprivate'];
|
|
515
|
-
FlexPlugin.DEFAULT_FLEX_UI_VERSION = 1;
|
|
516
520
|
FlexPlugin.defaultOptions = {
|
|
517
521
|
strict: true,
|
|
518
522
|
runInDirectory: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex-plugin.js","sourceRoot":"","sources":["../../src/sub-commands/flex-plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA4B;AAC5B,2BAA6B;AAE7B,wFAAyD;AACzD,+CAAuF;AACvF,+CAA0D;AAC1D,qEAMiC;AACjC,mDASwB;AACxB,qDAAgE;AAChE,kDAA0B;AAC1B,sDAAwC;AACxC,oDAA4B;AAI5B,6DAAqC;AACrC,sDAAwC;AACxC,8CAAoD;AACpD,8CAAkD;AAClD,uDAA+B;AAC/B,iGAA6G;AAC7G,mFAA2D;AAC3D,oCAA6D;AAO7D,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAChD,MAAM,mBAAmB,GAAG,wBAAwB,CAAC;AACrD,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AACvD,MAAM,SAAS,GAAG,kBAAkB,CAAC;AACrC,MAAM,mBAAmB,GAAG,wBAAwB,CAAC;AAgCrD,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kCAAuB,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ;AAEvD,oBAAS,GAAG,cAAc,CAAC;AAS3B,gBAAK,mCACP,QAAQ,KACX,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC;QAClB,WAAW,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI;KACzC,CAAC,EACF,gBAAgB,EAAE,KAAK,CAAC,OAAO,CAAC;QAC9B,WAAW,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa;KAClD,CAAC,EACF,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;QACzB,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa;QAClC,MAAM,EAAE,IAAI;KACb,CAAC,IACF;AAEe,sBAAW,GAAG,CAAC,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAEnE,wBAAa,GAAG,CAAC,QAAQ,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;AAEjD,wBAAa,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAE3C,yBAAc,GAAqB;IAChD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;CACrB,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"4.3.0-flex-ui-2.1","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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 1636406880972"},"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":{"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}},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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."}},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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 1636406880972"},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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: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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":"4.3.1-dev.202201212032","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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 1642797364738"},"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":{"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}},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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."}},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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 1642797364738"},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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}},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"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": "4.3.
|
|
3
|
+
"version": "4.3.1-dev.202201212032",
|
|
4
4
|
"description": "Create, develop and deploy Flex plugins using the Twilio CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"twilio",
|
|
@@ -43,36 +43,39 @@
|
|
|
43
43
|
"test:watch": "cd ../.. && jest packages/flex-plugin-webpack --watch --color"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@oclif/command": "
|
|
47
|
-
"@oclif/config": "^1.
|
|
46
|
+
"@oclif/command": "1.8.0",
|
|
47
|
+
"@oclif/config": "^1.18.1",
|
|
48
48
|
"@oclif/errors": "^1.3.5",
|
|
49
49
|
"@oclif/parser": "^3.8.5",
|
|
50
|
-
"@twilio/cli-core": "^5.
|
|
51
|
-
"create-flex-plugin": "4.3.
|
|
50
|
+
"@twilio/cli-core": "^5.32.1",
|
|
51
|
+
"create-flex-plugin": "4.3.1-dev.202201212032",
|
|
52
52
|
"dayjs": "^1.10.7",
|
|
53
|
-
"flex-dev-utils": "4.3.
|
|
54
|
-
"flex-plugin-scripts": "4.3.
|
|
55
|
-
"flex-plugins-api-client": "4.3.
|
|
56
|
-
"
|
|
53
|
+
"flex-dev-utils": "4.3.1-dev.202201212032",
|
|
54
|
+
"flex-plugin-scripts": "4.3.1-dev.202201212032",
|
|
55
|
+
"flex-plugins-api-client": "4.3.1-dev.202201212032",
|
|
56
|
+
"https-proxy-agent": "^5.0.0",
|
|
57
57
|
"lodash.startcase": "^4.4.0",
|
|
58
58
|
"mkdirp": "^1.0.4",
|
|
59
|
+
"package-json": "^7.0.0",
|
|
59
60
|
"phin": "^3.6.0",
|
|
60
61
|
"rimraf": "^3.0.2",
|
|
61
62
|
"yargs": "^16.2.0"
|
|
62
63
|
},
|
|
63
64
|
"devDependencies": {
|
|
64
|
-
"@oclif/dev-cli": "^1.26.
|
|
65
|
+
"@oclif/dev-cli": "^1.26.5",
|
|
65
66
|
"@types/lodash.startcase": "^4.4.6",
|
|
66
67
|
"@types/mkdirp": "^1.0.2",
|
|
67
68
|
"@types/rimraf": "^3.0.2",
|
|
68
|
-
"@types/tmp": "^0.2.
|
|
69
|
+
"@types/tmp": "^0.2.2",
|
|
69
70
|
"@types/yargs": "^16.0.4",
|
|
70
71
|
"globby": "^11.0.4",
|
|
71
72
|
"tmp": "^0.2.1",
|
|
72
|
-
"twilio": "^3.
|
|
73
|
+
"twilio": "^3.71.2"
|
|
73
74
|
},
|
|
74
75
|
"engines": {
|
|
75
|
-
"
|
|
76
|
+
"@twilio/cli-core": "^5",
|
|
77
|
+
"node": "^12 || ^14 || ^16",
|
|
78
|
+
"twilio-cli": "^2"
|
|
76
79
|
},
|
|
77
80
|
"oclif": {
|
|
78
81
|
"name": "flex",
|
|
@@ -154,8 +157,7 @@
|
|
|
154
157
|
"nightly": "If set, will upgrade to the latest nightly version.",
|
|
155
158
|
"yes": "If set, will answer yes to all prompts.",
|
|
156
159
|
"yarn": "Use yarn for installation.",
|
|
157
|
-
"removeLegacyPlugin": "Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3)."
|
|
158
|
-
"flexui2": "Update your plugin dependencies to be compatible with Flex UI 2.0."
|
|
160
|
+
"removeLegacyPlugin": "Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3)."
|
|
159
161
|
}
|
|
160
162
|
},
|
|
161
163
|
"flex:plugins:archive": {
|
|
@@ -229,5 +231,5 @@
|
|
|
229
231
|
}
|
|
230
232
|
}
|
|
231
233
|
},
|
|
232
|
-
"gitHead": "
|
|
234
|
+
"gitHead": "bf8c3b15d32d1bffed053e36bb0e4e96c340379d"
|
|
233
235
|
}
|