@twilio-labs/plugin-flex 5.2.22-beta.0 → 5.2.24-beta.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 +85 -49
- package/dist/commands/flex/plugins/archive/configuration.d.ts +2 -4
- package/dist/commands/flex/plugins/archive/configuration.js +3 -7
- package/dist/commands/flex/plugins/archive/configuration.js.map +1 -1
- package/dist/commands/flex/plugins/archive/plugin-version.d.ts +2 -4
- package/dist/commands/flex/plugins/archive/plugin-version.js +3 -7
- package/dist/commands/flex/plugins/archive/plugin-version.js.map +1 -1
- package/dist/commands/flex/plugins/archive/plugin.d.ts +2 -4
- package/dist/commands/flex/plugins/archive/plugin.js +3 -7
- package/dist/commands/flex/plugins/archive/plugin.js.map +1 -1
- package/dist/commands/flex/plugins/build.d.ts +0 -5
- package/dist/commands/flex/plugins/build.js +0 -7
- package/dist/commands/flex/plugins/build.js.map +1 -1
- package/dist/commands/flex/plugins/create.js +1 -1
- package/dist/commands/flex/plugins/create.js.map +1 -1
- package/dist/commands/flex/plugins/deploy.d.ts +2 -4
- package/dist/commands/flex/plugins/deploy.js +3 -7
- package/dist/commands/flex/plugins/deploy.js.map +1 -1
- package/dist/commands/flex/plugins/describe/configuration.d.ts +2 -4
- package/dist/commands/flex/plugins/describe/configuration.js +3 -7
- package/dist/commands/flex/plugins/describe/configuration.js.map +1 -1
- package/dist/commands/flex/plugins/describe/plugin-version.d.ts +2 -4
- package/dist/commands/flex/plugins/describe/plugin-version.js +3 -7
- package/dist/commands/flex/plugins/describe/plugin-version.js.map +1 -1
- package/dist/commands/flex/plugins/describe/plugin.d.ts +2 -4
- package/dist/commands/flex/plugins/describe/plugin.js +3 -7
- package/dist/commands/flex/plugins/describe/plugin.js.map +1 -1
- package/dist/commands/flex/plugins/describe/release.d.ts +2 -4
- package/dist/commands/flex/plugins/describe/release.js +3 -7
- package/dist/commands/flex/plugins/describe/release.js.map +1 -1
- package/dist/commands/flex/plugins/diff.d.ts +7 -7
- package/dist/commands/flex/plugins/diff.js +4 -12
- package/dist/commands/flex/plugins/diff.js.map +1 -1
- package/dist/commands/flex/plugins/list/plugin-versions.d.ts +2 -4
- package/dist/commands/flex/plugins/list/plugin-versions.js +3 -7
- package/dist/commands/flex/plugins/list/plugin-versions.js.map +1 -1
- package/dist/commands/flex/plugins/release.d.ts +2 -4
- package/dist/commands/flex/plugins/release.js +31 -33
- package/dist/commands/flex/plugins/release.js.map +1 -1
- package/dist/commands/flex/plugins/start.d.ts +2 -4
- package/dist/commands/flex/plugins/start.js +3 -6
- package/dist/commands/flex/plugins/start.js.map +1 -1
- package/dist/commands/flex/plugins/upgrade-plugin.d.ts +2 -4
- package/dist/commands/flex/plugins/upgrade-plugin.js +3 -7
- package/dist/commands/flex/plugins/upgrade-plugin.js.map +1 -1
- package/dist/sub-commands/create-configuration.d.ts +2 -1
- package/dist/sub-commands/create-configuration.js +3 -3
- package/dist/sub-commands/create-configuration.js.map +1 -1
- package/dist/sub-commands/flex-plugin.d.ts +4 -7
- package/dist/sub-commands/flex-plugin.js +6 -9
- package/dist/sub-commands/flex-plugin.js.map +1 -1
- package/dist/utils/parser.d.ts +3 -3
- package/dist/utils/parser.js +10 -9
- package/dist/utils/parser.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -75,13 +75,15 @@ USAGE
|
|
|
75
75
|
|
|
76
76
|
OPTIONS
|
|
77
77
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
78
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
78
79
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
79
80
|
--clear-terminal Clears the terminal before running the command.
|
|
81
|
+
--json Outputs the result of the command as json string.
|
|
80
82
|
--sid=sid (required) The Flex Plugin Configuration SID to archive.
|
|
81
|
-
--silent Suppress
|
|
83
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
82
84
|
```
|
|
83
85
|
|
|
84
|
-
_See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
86
|
+
_See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/archive/configuration.js)_
|
|
85
87
|
|
|
86
88
|
## `twilio flex:plugins:archive:plugin`
|
|
87
89
|
|
|
@@ -93,13 +95,15 @@ USAGE
|
|
|
93
95
|
|
|
94
96
|
OPTIONS
|
|
95
97
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
98
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
96
99
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
97
100
|
--clear-terminal Clears the terminal before running the command.
|
|
101
|
+
--json Outputs the result of the command as json string.
|
|
98
102
|
--name=name (required) The name of the Flex Plugin to archive.
|
|
99
|
-
--silent Suppress
|
|
103
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
100
104
|
```
|
|
101
105
|
|
|
102
|
-
_See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
106
|
+
_See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/archive/plugin.js)_
|
|
103
107
|
|
|
104
108
|
## `twilio flex:plugins:archive:plugin-version`
|
|
105
109
|
|
|
@@ -111,14 +115,16 @@ USAGE
|
|
|
111
115
|
|
|
112
116
|
OPTIONS
|
|
113
117
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
118
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
114
119
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
115
120
|
--clear-terminal Clears the terminal before running the command.
|
|
121
|
+
--json Outputs the result of the command as json string.
|
|
116
122
|
--name=name (required) The Flex Plugin name of the Plugin Version to archive.
|
|
117
|
-
--silent Suppress
|
|
123
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
118
124
|
--version=version (required) The Flex Plugin Version to archive.
|
|
119
125
|
```
|
|
120
126
|
|
|
121
|
-
_See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
127
|
+
_See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/archive/plugin-version.js)_
|
|
122
128
|
|
|
123
129
|
## `twilio flex:plugins:build`
|
|
124
130
|
|
|
@@ -130,12 +136,14 @@ USAGE
|
|
|
130
136
|
|
|
131
137
|
OPTIONS
|
|
132
138
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
139
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
133
140
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
134
141
|
--clear-terminal Clears the terminal before running the command.
|
|
135
|
-
--
|
|
142
|
+
--json Outputs the result of the command as json string.
|
|
143
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
136
144
|
```
|
|
137
145
|
|
|
138
|
-
_See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
146
|
+
_See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/build.js)_
|
|
139
147
|
|
|
140
148
|
## `twilio flex:plugins:create NAME`
|
|
141
149
|
|
|
@@ -152,23 +160,27 @@ ARGUMENTS
|
|
|
152
160
|
name Name of your plugin.
|
|
153
161
|
|
|
154
162
|
OPTIONS
|
|
155
|
-
-a, --accountSid=accountSid
|
|
163
|
+
-a, --accountSid=accountSid The Account SID for your Flex Project
|
|
156
164
|
-h, --help=help
|
|
157
|
-
-i, --install
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
165
|
+
-i, --install Auto-install dependencies
|
|
166
|
+
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
167
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
168
|
+
-p, --profile=profile Shorthand identifier for your profile.
|
|
169
|
+
-r, --runtimeUrl The URL to your Twilio Flex Runtime
|
|
170
|
+
-s, --typescript Create a TypeScript project
|
|
171
|
+
-t, --template=template A GitHub URL that contains your template
|
|
161
172
|
-v, --version=version
|
|
162
|
-
-y, --yarn
|
|
163
|
-
--flexui1
|
|
164
|
-
--flexui2
|
|
173
|
+
-y, --yarn Use yarn as your dependency manager
|
|
174
|
+
--flexui1 Creates a plugin compatible with Flex UI major version 1.0
|
|
175
|
+
--flexui2 Creates a plugin compatible with Flex UI major version 2.0
|
|
176
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
165
177
|
|
|
166
178
|
DESCRIPTION
|
|
167
179
|
Arguments:
|
|
168
180
|
name Name of your plugin. This command needs to be invoked inside a plugin directory.
|
|
169
181
|
```
|
|
170
182
|
|
|
171
|
-
_See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
183
|
+
_See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/create.js)_
|
|
172
184
|
|
|
173
185
|
## `twilio flex:plugins:create-configuration`
|
|
174
186
|
|
|
@@ -180,6 +192,7 @@ USAGE
|
|
|
180
192
|
|
|
181
193
|
OPTIONS
|
|
182
194
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
195
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
183
196
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
184
197
|
--clear-terminal Clears the terminal before running the command.
|
|
185
198
|
|
|
@@ -193,7 +206,9 @@ OPTIONS
|
|
|
193
206
|
as a shortcut for enabling the latest version of the plugin. Use additional
|
|
194
207
|
--enable-plugin to provide other plugins to enable.
|
|
195
208
|
|
|
196
|
-
--
|
|
209
|
+
--json Outputs the result of the command as json string.
|
|
210
|
+
|
|
211
|
+
--name=name (required) [default: Autogenerated Release 1665570617380] The friendly name of the
|
|
197
212
|
Flex Plugin Configuration.
|
|
198
213
|
|
|
199
214
|
--new Creates a new Flex Plugin Configuration, otherwise will append to existing active
|
|
@@ -201,10 +216,10 @@ OPTIONS
|
|
|
201
216
|
|
|
202
217
|
--plugin=plugin Alias for --enable-plugin.
|
|
203
218
|
|
|
204
|
-
--silent Suppress
|
|
219
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
205
220
|
```
|
|
206
221
|
|
|
207
|
-
_See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
222
|
+
_See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/create-configuration.js)_
|
|
208
223
|
|
|
209
224
|
## `twilio flex:plugins:deploy`
|
|
210
225
|
|
|
@@ -216,19 +231,21 @@ USAGE
|
|
|
216
231
|
|
|
217
232
|
OPTIONS
|
|
218
233
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
234
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
219
235
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
220
236
|
--changelog=changelog (required) The changes (added/removed) made in this plugin version.
|
|
221
237
|
--clear-terminal Clears the terminal before running the command.
|
|
222
238
|
--description=description The description of this Flex plugin.
|
|
239
|
+
--json Outputs the result of the command as json string.
|
|
223
240
|
--major Publishes the version as a major (SemVer).
|
|
224
241
|
--minor Publishes the version as a minor (SemVer).
|
|
225
242
|
--patch Publishes the version as a patch (SemVer); this is the default.
|
|
226
243
|
--public Publishes the plugin as a public Twilio Asset; default is private.
|
|
227
|
-
--silent Suppress
|
|
244
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
228
245
|
--version=version Publishes the version (SemVer).
|
|
229
246
|
```
|
|
230
247
|
|
|
231
|
-
_See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
248
|
+
_See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/deploy.js)_
|
|
232
249
|
|
|
233
250
|
## `twilio flex:plugins:describe:configuration`
|
|
234
251
|
|
|
@@ -240,14 +257,15 @@ USAGE
|
|
|
240
257
|
|
|
241
258
|
OPTIONS
|
|
242
259
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
260
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
243
261
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
244
262
|
--clear-terminal Clears the terminal before running the command.
|
|
245
263
|
--json Outputs the result of the command as json string.
|
|
246
264
|
--sid=sid (required) The Flex Plugin Configuration SID.
|
|
247
|
-
--silent Suppress
|
|
265
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
248
266
|
```
|
|
249
267
|
|
|
250
|
-
_See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
268
|
+
_See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/describe/configuration.js)_
|
|
251
269
|
|
|
252
270
|
## `twilio flex:plugins:describe:plugin`
|
|
253
271
|
|
|
@@ -259,14 +277,15 @@ USAGE
|
|
|
259
277
|
|
|
260
278
|
OPTIONS
|
|
261
279
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
280
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
262
281
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
263
282
|
--clear-terminal Clears the terminal before running the command.
|
|
264
283
|
--json Outputs the result of the command as json string.
|
|
265
284
|
--name=name (required) The name of the Flex Plugin to describe.
|
|
266
|
-
--silent Suppress
|
|
285
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
267
286
|
```
|
|
268
287
|
|
|
269
|
-
_See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
288
|
+
_See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/describe/plugin.js)_
|
|
270
289
|
|
|
271
290
|
## `twilio flex:plugins:describe:plugin-version`
|
|
272
291
|
|
|
@@ -278,15 +297,16 @@ USAGE
|
|
|
278
297
|
|
|
279
298
|
OPTIONS
|
|
280
299
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
300
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
281
301
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
282
302
|
--clear-terminal Clears the terminal before running the command.
|
|
283
303
|
--json Outputs the result of the command as json string.
|
|
284
304
|
--name=name (required) The Flex Plugin name of the Plugin Version to describe.
|
|
285
|
-
--silent Suppress
|
|
305
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
286
306
|
--version=version (required) The Flex Plugin Version to describe.
|
|
287
307
|
```
|
|
288
308
|
|
|
289
|
-
_See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
309
|
+
_See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/describe/plugin-version.js)_
|
|
290
310
|
|
|
291
311
|
## `twilio flex:plugins:describe:release`
|
|
292
312
|
|
|
@@ -298,15 +318,16 @@ USAGE
|
|
|
298
318
|
|
|
299
319
|
OPTIONS
|
|
300
320
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
321
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
301
322
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
302
323
|
--active The most recent release to describe.
|
|
303
324
|
--clear-terminal Clears the terminal before running the command.
|
|
304
325
|
--json Outputs the result of the command as json string.
|
|
305
326
|
--sid=sid The Flex Plugin Release SID to describe.
|
|
306
|
-
--silent Suppress
|
|
327
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
307
328
|
```
|
|
308
329
|
|
|
309
|
-
_See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
330
|
+
_See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/describe/release.js)_
|
|
310
331
|
|
|
311
332
|
## `twilio flex:plugins:diff ID1 [ID2]`
|
|
312
333
|
|
|
@@ -322,12 +343,14 @@ ARGUMENTS
|
|
|
322
343
|
|
|
323
344
|
OPTIONS
|
|
324
345
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
346
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
325
347
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
326
348
|
--clear-terminal Clears the terminal before running the command.
|
|
327
|
-
--
|
|
349
|
+
--json Outputs the result of the command as json string.
|
|
350
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
328
351
|
```
|
|
329
352
|
|
|
330
|
-
_See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
353
|
+
_See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/diff.js)_
|
|
331
354
|
|
|
332
355
|
## `twilio flex:plugins:list:configurations`
|
|
333
356
|
|
|
@@ -339,13 +362,14 @@ USAGE
|
|
|
339
362
|
|
|
340
363
|
OPTIONS
|
|
341
364
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
365
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
342
366
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
343
367
|
--clear-terminal Clears the terminal before running the command.
|
|
344
368
|
--json Outputs the result of the command as json string.
|
|
345
|
-
--silent Suppress
|
|
369
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
346
370
|
```
|
|
347
371
|
|
|
348
|
-
_See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
372
|
+
_See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/list/configurations.js)_
|
|
349
373
|
|
|
350
374
|
## `twilio flex:plugins:list:plugin-versions`
|
|
351
375
|
|
|
@@ -357,14 +381,15 @@ USAGE
|
|
|
357
381
|
|
|
358
382
|
OPTIONS
|
|
359
383
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
384
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
360
385
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
361
386
|
--clear-terminal Clears the terminal before running the command.
|
|
362
387
|
--json Outputs the result of the command as json string.
|
|
363
388
|
--name=name (required) The plugin name to list its versions.
|
|
364
|
-
--silent Suppress
|
|
389
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
365
390
|
```
|
|
366
391
|
|
|
367
|
-
_See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
392
|
+
_See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/list/plugin-versions.js)_
|
|
368
393
|
|
|
369
394
|
## `twilio flex:plugins:list:plugins`
|
|
370
395
|
|
|
@@ -376,13 +401,14 @@ USAGE
|
|
|
376
401
|
|
|
377
402
|
OPTIONS
|
|
378
403
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
404
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
379
405
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
380
406
|
--clear-terminal Clears the terminal before running the command.
|
|
381
407
|
--json Outputs the result of the command as json string.
|
|
382
|
-
--silent Suppress
|
|
408
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
383
409
|
```
|
|
384
410
|
|
|
385
|
-
_See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
411
|
+
_See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/list/plugins.js)_
|
|
386
412
|
|
|
387
413
|
## `twilio flex:plugins:list:releases`
|
|
388
414
|
|
|
@@ -394,13 +420,14 @@ USAGE
|
|
|
394
420
|
|
|
395
421
|
OPTIONS
|
|
396
422
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
423
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
397
424
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
398
425
|
--clear-terminal Clears the terminal before running the command.
|
|
399
426
|
--json Outputs the result of the command as json string.
|
|
400
|
-
--silent Suppress
|
|
427
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
401
428
|
```
|
|
402
429
|
|
|
403
|
-
_See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
430
|
+
_See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/list/releases.js)_
|
|
404
431
|
|
|
405
432
|
## `twilio flex:plugins:release`
|
|
406
433
|
|
|
@@ -412,6 +439,7 @@ USAGE
|
|
|
412
439
|
|
|
413
440
|
OPTIONS
|
|
414
441
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
442
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
415
443
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
416
444
|
--clear-terminal Clears the terminal before running the command.
|
|
417
445
|
|
|
@@ -428,7 +456,9 @@ OPTIONS
|
|
|
428
456
|
pluginName@latest as a shortcut for enabling the latest version of the plugin.
|
|
429
457
|
Use additional --enable-plugin to provide other plugins to enable.
|
|
430
458
|
|
|
431
|
-
--
|
|
459
|
+
--json Outputs the result of the command as json string.
|
|
460
|
+
|
|
461
|
+
--name=name [default: Autogenerated Release 1665570617380] The friendly name of the Flex
|
|
432
462
|
Plugin Configuration.
|
|
433
463
|
|
|
434
464
|
--new Creates a new Flex Plugin Configuration, otherwise will append to existing
|
|
@@ -436,10 +466,10 @@ OPTIONS
|
|
|
436
466
|
|
|
437
467
|
--plugin=plugin Alias for --enable-plugin.
|
|
438
468
|
|
|
439
|
-
--silent Suppress
|
|
469
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
440
470
|
```
|
|
441
471
|
|
|
442
|
-
_See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
472
|
+
_See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/release.js)_
|
|
443
473
|
|
|
444
474
|
## `twilio flex:plugins:start`
|
|
445
475
|
|
|
@@ -451,9 +481,11 @@ USAGE
|
|
|
451
481
|
|
|
452
482
|
OPTIONS
|
|
453
483
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
484
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
454
485
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
455
486
|
--clear-terminal Clears the terminal before running the command.
|
|
456
487
|
--include-remote Use this flag to include all remote plugins in your build.
|
|
488
|
+
--json Outputs the result of the command as json string.
|
|
457
489
|
|
|
458
490
|
--name=name The name of the plugin you would like to run. You can provide multiple to run them
|
|
459
491
|
all concurrently. You can include specific active remote plugins using "--name
|
|
@@ -461,10 +493,10 @@ OPTIONS
|
|
|
461
493
|
|
|
462
494
|
--port=port [default: 3000] The port to start your local development server on.
|
|
463
495
|
|
|
464
|
-
--silent Suppress
|
|
496
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
465
497
|
```
|
|
466
498
|
|
|
467
|
-
_See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
499
|
+
_See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/start.js)_
|
|
468
500
|
|
|
469
501
|
## `twilio flex:plugins:test`
|
|
470
502
|
|
|
@@ -476,12 +508,14 @@ USAGE
|
|
|
476
508
|
|
|
477
509
|
OPTIONS
|
|
478
510
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
511
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
479
512
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
480
513
|
--clear-terminal Clears the terminal before running the command.
|
|
481
|
-
--
|
|
514
|
+
--json Outputs the result of the command as json string.
|
|
515
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
482
516
|
```
|
|
483
517
|
|
|
484
|
-
_See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
518
|
+
_See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/test.js)_
|
|
485
519
|
|
|
486
520
|
## `twilio flex:plugins:upgrade-plugin`
|
|
487
521
|
|
|
@@ -493,23 +527,25 @@ USAGE
|
|
|
493
527
|
|
|
494
528
|
OPTIONS
|
|
495
529
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
530
|
+
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
496
531
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
497
532
|
--beta If set, will upgrade to the latest beta version.
|
|
498
533
|
--clear-terminal Clears the terminal before running the command.
|
|
499
534
|
--dev If set, will upgrade to the latest dev version.
|
|
500
535
|
--flex-ui-2.0 Update your plugin dependencies to be compatible with Flex UI 2.0.
|
|
501
536
|
--install If set, will install the dependencies.
|
|
537
|
+
--json Outputs the result of the command as json string.
|
|
502
538
|
--nightly If set, will upgrade to the latest nightly version.
|
|
503
539
|
|
|
504
540
|
--remove-legacy-plugin Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder
|
|
505
541
|
v3).
|
|
506
542
|
|
|
507
|
-
--silent Suppress
|
|
543
|
+
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
508
544
|
|
|
509
545
|
--yarn Use yarn for installation.
|
|
510
546
|
|
|
511
547
|
--yes If set, will answer yes to all prompts.
|
|
512
548
|
```
|
|
513
549
|
|
|
514
|
-
_See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.
|
|
550
|
+
_See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.2.24-beta.0/dist/commands/flex/plugins/upgrade-plugin.js)_
|
|
515
551
|
<!-- commandsstop -->
|
|
@@ -11,6 +11,8 @@ export default class FlexPluginsArchiveConfiguration extends ArchiveResource<Con
|
|
|
11
11
|
'clear-terminal': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
12
12
|
region: import("@oclif/command/lib/flags").IOptionFlag<string>;
|
|
13
13
|
};
|
|
14
|
+
_flags: OutputFlags<typeof FlexPluginsArchiveConfiguration.flags>;
|
|
15
|
+
init(): Promise<void>;
|
|
14
16
|
/**
|
|
15
17
|
* @override
|
|
16
18
|
*/
|
|
@@ -23,8 +25,4 @@ export default class FlexPluginsArchiveConfiguration extends ArchiveResource<Con
|
|
|
23
25
|
* @override
|
|
24
26
|
*/
|
|
25
27
|
getResourceType(): string;
|
|
26
|
-
/**
|
|
27
|
-
* @override
|
|
28
|
-
*/
|
|
29
|
-
get _flags(): OutputFlags<typeof FlexPluginsArchiveConfiguration.flags>;
|
|
30
28
|
}
|
|
@@ -26,6 +26,9 @@ const flags = __importStar(require("../../../../utils/flags"));
|
|
|
26
26
|
const archive_resource_1 = __importDefault(require("../../../../sub-commands/archive-resource"));
|
|
27
27
|
const general_1 = require("../../../../utils/general");
|
|
28
28
|
class FlexPluginsArchiveConfiguration extends archive_resource_1.default {
|
|
29
|
+
async init() {
|
|
30
|
+
this._flags = (await this.parseCommand(FlexPluginsArchiveConfiguration)).flags;
|
|
31
|
+
}
|
|
29
32
|
/**
|
|
30
33
|
* @override
|
|
31
34
|
*/
|
|
@@ -44,13 +47,6 @@ class FlexPluginsArchiveConfiguration extends archive_resource_1.default {
|
|
|
44
47
|
getResourceType() {
|
|
45
48
|
return 'Flex Configuration';
|
|
46
49
|
}
|
|
47
|
-
/**
|
|
48
|
-
* @override
|
|
49
|
-
*/
|
|
50
|
-
/* istanbul ignore next */
|
|
51
|
-
get _flags() {
|
|
52
|
-
return this.parse(FlexPluginsArchiveConfiguration).flags;
|
|
53
|
-
}
|
|
54
50
|
}
|
|
55
51
|
exports.default = FlexPluginsArchiveConfiguration;
|
|
56
52
|
FlexPluginsArchiveConfiguration.topicName = 'flex:plugins:archive:configuration';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/configuration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA,+DAAiD;AACjD,iGAAwE;AACxE,uDAA8D;AAE9D,MAAqB,+BAAgC,SAAQ,0BAA8B;
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/configuration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA,+DAAiD;AACjD,iGAAwE;AACxE,uDAA8D;AAE9D,MAAqB,+BAAgC,SAAQ,0BAA8B;IAgBzF,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,+BAA+B,CAAC,CAAC,CAAC,KAAK,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS;QACb,OAAO,IAAI,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,oBAAoB,CAAC;IAC9B,CAAC;;AAvCH,kDAwCC;AAvCQ,yCAAS,GAAG,oCAAoC,CAAC;AAEjD,2CAAW,GAAG,2BAAiB,CAAC,+BAA+B,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAE1F,qCAAK,mCACP,0BAAe,CAAC,KAAK,KACxB,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC;QAChB,WAAW,EAAE,+BAA+B,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG;QAC5D,QAAQ,EAAE,IAAI;KACf,CAAC,IACF"}
|
|
@@ -12,6 +12,8 @@ export default class FlexPluginsArchivePluginVersion extends ArchiveResource<Plu
|
|
|
12
12
|
'clear-terminal': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
13
13
|
region: import("@oclif/command/lib/flags").IOptionFlag<string>;
|
|
14
14
|
};
|
|
15
|
+
_flags: OutputFlags<typeof FlexPluginsArchivePluginVersion.flags>;
|
|
16
|
+
init(): Promise<void>;
|
|
15
17
|
/**
|
|
16
18
|
* @override
|
|
17
19
|
*/
|
|
@@ -46,8 +48,4 @@ export default class FlexPluginsArchivePluginVersion extends ArchiveResource<Plu
|
|
|
46
48
|
* @private
|
|
47
49
|
*/
|
|
48
50
|
private getBuildIfActive;
|
|
49
|
-
/**
|
|
50
|
-
* @override
|
|
51
|
-
*/
|
|
52
|
-
get _flags(): OutputFlags<typeof FlexPluginsArchivePluginVersion.flags>;
|
|
53
51
|
}
|
|
@@ -42,6 +42,9 @@ class FlexPluginsArchivePluginVersion extends archive_resource_1.default {
|
|
|
42
42
|
return asset.path.includes(path);
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
+
async init() {
|
|
46
|
+
this._flags = (await this.parseCommand(FlexPluginsArchivePluginVersion)).flags;
|
|
47
|
+
}
|
|
45
48
|
/**
|
|
46
49
|
* @override
|
|
47
50
|
*/
|
|
@@ -130,13 +133,6 @@ class FlexPluginsArchivePluginVersion extends archive_resource_1.default {
|
|
|
130
133
|
}
|
|
131
134
|
return build;
|
|
132
135
|
}
|
|
133
|
-
/**
|
|
134
|
-
* @override
|
|
135
|
-
*/
|
|
136
|
-
/* istanbul ignore next */
|
|
137
|
-
get _flags() {
|
|
138
|
-
return this.parse(FlexPluginsArchivePluginVersion).flags;
|
|
139
|
-
}
|
|
140
136
|
}
|
|
141
137
|
exports.default = FlexPluginsArchivePluginVersion;
|
|
142
138
|
FlexPluginsArchivePluginVersion.topicName = 'flex:plugins:archive:plugin-version';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-version.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/plugin-version.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,2DAAkE;AAIlE,+DAAiD;AACjD,iGAAwE;AACxE,uDAA0E;AAE1E,MAAqB,+BAAgC,SAAQ,0BAA8B;IAA3F;;
|
|
1
|
+
{"version":3,"file":"plugin-version.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/plugin-version.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;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C,KAAK,CAAC,KAAK,CAAC,IAAI;QAC7D,QAAQ,EAAE,IAAI;KACf,CAAC,EACF,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC;QACpB,WAAW,EAAE,+BAA+B,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO;QAChE,QAAQ,EAAE,IAAI;KACf,CAAC,IACF"}
|
|
@@ -11,6 +11,8 @@ export default class FlexPluginsArchivePlugin extends ArchiveResource<Plugin> {
|
|
|
11
11
|
'clear-terminal': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
12
12
|
region: import("@oclif/command/lib/flags").IOptionFlag<string>;
|
|
13
13
|
};
|
|
14
|
+
_flags: OutputFlags<typeof FlexPluginsArchivePlugin.flags>;
|
|
15
|
+
init(): Promise<void>;
|
|
14
16
|
/**
|
|
15
17
|
* @override
|
|
16
18
|
*/
|
|
@@ -34,8 +36,4 @@ export default class FlexPluginsArchivePlugin extends ArchiveResource<Plugin> {
|
|
|
34
36
|
* @private
|
|
35
37
|
*/
|
|
36
38
|
private removeServerlessEnvironment;
|
|
37
|
-
/**
|
|
38
|
-
* @override
|
|
39
|
-
*/
|
|
40
|
-
get _flags(): OutputFlags<typeof FlexPluginsArchivePlugin.flags>;
|
|
41
39
|
}
|
|
@@ -27,6 +27,9 @@ const flags = __importStar(require("../../../../utils/flags"));
|
|
|
27
27
|
const archive_resource_1 = __importDefault(require("../../../../sub-commands/archive-resource"));
|
|
28
28
|
const general_1 = require("../../../../utils/general");
|
|
29
29
|
class FlexPluginsArchivePlugin extends archive_resource_1.default {
|
|
30
|
+
async init() {
|
|
31
|
+
this._flags = (await this.parseCommand(FlexPluginsArchivePlugin)).flags;
|
|
32
|
+
}
|
|
30
33
|
/**
|
|
31
34
|
* @override
|
|
32
35
|
*/
|
|
@@ -97,13 +100,6 @@ class FlexPluginsArchivePlugin extends archive_resource_1.default {
|
|
|
97
100
|
throw new flex_dev_utils_1.TwilioCliError('Could not archive your plugin due to failure in deleting the environment hosting your plugin. Please retry by running the archive command.');
|
|
98
101
|
}
|
|
99
102
|
}
|
|
100
|
-
/**
|
|
101
|
-
* @override
|
|
102
|
-
*/
|
|
103
|
-
/* istanbul ignore next */
|
|
104
|
-
get _flags() {
|
|
105
|
-
return this.parse(FlexPluginsArchivePlugin).flags;
|
|
106
|
-
}
|
|
107
103
|
}
|
|
108
104
|
exports.default = FlexPluginsArchivePlugin;
|
|
109
105
|
FlexPluginsArchivePlugin.topicName = 'flex:plugins:archive:plugin';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAEA,2DAAkF;AAElF,+DAAiD;AACjD,iGAAwE;AACxE,uDAA0E;AAO1E,MAAqB,wBAAyB,SAAQ,0BAAuB;
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAEA,2DAAkF;AAElF,+DAAiD;AACjD,iGAAwE;AACxE,uDAA0E;AAO1E,MAAqB,wBAAyB,SAAQ,0BAAuB;IAgB3E,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,wBAAwB,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS;QACb,MAAM,QAAQ,GAAG,MAAM,yBAAQ,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC;QACjG,MAAM,yBAAQ,CAAC,gCAAgC,EAAE,KAAK,IAAI,EAAE,CAC1D,IAAI,CAAC,2BAA2B,CAAC,QAAQ,CAAC,eAAe,CAAC,CAC3D,CAAC;QAEF,OAAO,QAAQ,CAAC,MAAM,CAAC;I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IAAI,+BAAc,CAAC,KAAK,EAAE,4BAA4B,EAAE,GAAG,CAAC,CAAC;aACpE;YACD,OAAO;SACR;QAED,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;QAChG,IAAI,CAAC,YAAY,EAAE;YACjB,MAAM,IAAI,+BAAc,CACtB,4IAA4I,CAC7I,CAAC;SACH;IACH,CAAC;;AApGH,2CAqGC;AApGQ,kCAAS,GAAG,6BAA6B,CAAC;AAE1C,oCAAW,GAAG,2BAAiB,CAAC,wBAAwB,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAEnF,8BAAK,mCACP,0BAAe,CAAC,KAAK,KACxB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;QACjB,WAAW,EAAE,wBAAwB,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI;QACtD,QAAQ,EAAE,IAAI;KACf,CAAC,IACF"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OutputFlags } from '@oclif/parser/lib/parse';
|
|
2
1
|
import FlexPlugin from '../../../sub-commands/flex-plugin';
|
|
3
2
|
/**
|
|
4
3
|
* Builds the the plugin bundle
|
|
@@ -15,10 +14,6 @@ export default class FlexPluginsBuild extends FlexPlugin {
|
|
|
15
14
|
* @override
|
|
16
15
|
*/
|
|
17
16
|
doRun(): Promise<void>;
|
|
18
|
-
/**
|
|
19
|
-
* Parses the flags passed to this command
|
|
20
|
-
*/
|
|
21
|
-
get _flags(): OutputFlags<typeof FlexPluginsBuild.flags>;
|
|
22
17
|
/**
|
|
23
18
|
* @override
|
|
24
19
|
*/
|
|
@@ -20,13 +20,6 @@ class FlexPluginsBuild extends flex_plugin_1.default {
|
|
|
20
20
|
await this.runScript('pre-script-check');
|
|
21
21
|
await this.runScript('build');
|
|
22
22
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Parses the flags passed to this command
|
|
25
|
-
*/
|
|
26
|
-
/* istanbul ignore next */
|
|
27
|
-
get _flags() {
|
|
28
|
-
return this.parse(FlexPluginsBuild).flags;
|
|
29
|
-
}
|
|
30
23
|
/**
|
|
31
24
|
* @override
|
|
32
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/build.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/build.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2D;AAC3D,oFAA2D;AAE3D,MAAM,SAAS,qBAAQ,qBAAU,CAAC,KAAK,CAAE,CAAC;AAC1C,aAAa;AACb,OAAO,SAAS,CAAC,IAAI,CAAC;AAEtB;;GAEG;AACH,MAAqB,gBAAiB,SAAQ,qBAAU;IAStD;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,OAAO,CAAC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC;QACtC,MAAM,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;QACzC,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC;IACd,CAAC;;AAvBH,mCAwBC;AAvBQ,0BAAS,GAAG,oBAAoB,CAAC;AAEjC,4BAAW,GAAG,2BAAiB,CAAC,gBAAgB,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAE1E,sBAAK,qBACP,SAAS,EACZ"}
|