@adobe/aio-cli-plugin-app 14.5.1 → 14.5.2-pre.2026-03-11.sha-58926dfa
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 +821 -0
- package/package.json +15 -13
- package/src/commands/app/deploy.js +82 -2
- package/src/commands/app/undeploy.js +43 -50
- package/src/lib/defaults.js +12 -1
- package/oclif.manifest.json +0 -2438
package/README.md
CHANGED
|
@@ -14,6 +14,10 @@ Create, Build and Deploy Adobe I/O Apps
|
|
|
14
14
|
* [Usage](#usage)
|
|
15
15
|
* [Commands](#commands)
|
|
16
16
|
<!-- tocstop -->
|
|
17
|
+
* [aio-cli-plugin-app](#aio-cli-plugin-app)
|
|
18
|
+
* [Usage](#usage)
|
|
19
|
+
* [Commands](#commands)
|
|
20
|
+
<!-- tocstop -->
|
|
17
21
|
|
|
18
22
|
# Usage
|
|
19
23
|
|
|
@@ -75,6 +79,823 @@ DESCRIPTION
|
|
|
75
79
|
Create, run, test, and deploy Adobe I/O Apps
|
|
76
80
|
```
|
|
77
81
|
|
|
82
|
+
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/index.js)_
|
|
83
|
+
|
|
84
|
+
## `aio app add`
|
|
85
|
+
|
|
86
|
+
Add a new component to an existing Adobe I/O App
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
USAGE
|
|
90
|
+
$ aio app add [-v] [--version] [--config-validation]
|
|
91
|
+
|
|
92
|
+
FLAGS
|
|
93
|
+
-v, --verbose Verbose output
|
|
94
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
95
|
+
--version Show version
|
|
96
|
+
|
|
97
|
+
DESCRIPTION
|
|
98
|
+
Add a new component to an existing Adobe I/O App
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
_See code: [src/commands/app/add/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/add/index.js)_
|
|
102
|
+
|
|
103
|
+
## `aio app add action`
|
|
104
|
+
|
|
105
|
+
Add new actions
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
USAGE
|
|
109
|
+
$ aio app add action [-v] [--version] [--config-validation] [--install] [-y] [-e <value>]
|
|
110
|
+
|
|
111
|
+
FLAGS
|
|
112
|
+
-e, --extension=<value> Add actions to a specific extension
|
|
113
|
+
-v, --verbose Verbose output
|
|
114
|
+
-y, --yes Skip questions, and use all default values
|
|
115
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
116
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
117
|
+
--version Show version
|
|
118
|
+
|
|
119
|
+
DESCRIPTION
|
|
120
|
+
Add new actions
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
ALIASES
|
|
124
|
+
$ aio app add actions
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
_See code: [src/commands/app/add/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/add/action.js)_
|
|
128
|
+
|
|
129
|
+
## `aio app add ci`
|
|
130
|
+
|
|
131
|
+
Add CI files
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
USAGE
|
|
135
|
+
$ aio app add ci [-v] [--version] [--config-validation]
|
|
136
|
+
|
|
137
|
+
FLAGS
|
|
138
|
+
-v, --verbose Verbose output
|
|
139
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
140
|
+
--version Show version
|
|
141
|
+
|
|
142
|
+
DESCRIPTION
|
|
143
|
+
Add CI files
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
_See code: [src/commands/app/add/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/add/ci.js)_
|
|
147
|
+
|
|
148
|
+
## `aio app add event`
|
|
149
|
+
|
|
150
|
+
Add a new Adobe I/O Events action
|
|
151
|
+
|
|
152
|
+
```
|
|
153
|
+
USAGE
|
|
154
|
+
$ aio app add event [-v] [--version] [--config-validation] [--install] [-y] [-e <value>]
|
|
155
|
+
|
|
156
|
+
FLAGS
|
|
157
|
+
-e, --extension=<value> Add events to a specific extension
|
|
158
|
+
-v, --verbose Verbose output
|
|
159
|
+
-y, --yes Skip questions, and use all default values
|
|
160
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
161
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
162
|
+
--version Show version
|
|
163
|
+
|
|
164
|
+
DESCRIPTION
|
|
165
|
+
Add a new Adobe I/O Events action
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
ALIASES
|
|
169
|
+
$ aio app add events
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
_See code: [src/commands/app/add/event.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/add/event.js)_
|
|
173
|
+
|
|
174
|
+
## `aio app add extension`
|
|
175
|
+
|
|
176
|
+
Add new extensions to the project
|
|
177
|
+
|
|
178
|
+
```
|
|
179
|
+
USAGE
|
|
180
|
+
$ aio app add extension [-v] [--version] [--config-validation] [--install] [-y] [-e <value>...]
|
|
181
|
+
|
|
182
|
+
FLAGS
|
|
183
|
+
-e, --extension=<value>... Specify extensions to add, skips selection prompt
|
|
184
|
+
-v, --verbose Verbose output
|
|
185
|
+
-y, --yes Skip questions, and use all default values
|
|
186
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
187
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
188
|
+
--version Show version
|
|
189
|
+
|
|
190
|
+
DESCRIPTION
|
|
191
|
+
Add new extensions to the project
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
ALIASES
|
|
195
|
+
$ aio app add ext
|
|
196
|
+
$ aio app add extensions
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
_See code: [src/commands/app/add/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/add/extension.js)_
|
|
200
|
+
|
|
201
|
+
## `aio app add service`
|
|
202
|
+
|
|
203
|
+
Subscribe to Services in the current Workspace
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
USAGE
|
|
207
|
+
$ aio app add service [-v] [--version] [--config-validation] [--use-jwt]
|
|
208
|
+
|
|
209
|
+
FLAGS
|
|
210
|
+
-v, --verbose Verbose output
|
|
211
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
212
|
+
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating),
|
|
213
|
+
prefer the JWT credentials
|
|
214
|
+
--version Show version
|
|
215
|
+
|
|
216
|
+
DESCRIPTION
|
|
217
|
+
Subscribe to Services in the current Workspace
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
ALIASES
|
|
221
|
+
$ aio app add services
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
_See code: [src/commands/app/add/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/add/service.js)_
|
|
225
|
+
|
|
226
|
+
## `aio app add web-assets`
|
|
227
|
+
|
|
228
|
+
Add web assets support
|
|
229
|
+
|
|
230
|
+
```
|
|
231
|
+
USAGE
|
|
232
|
+
$ aio app add web-assets [-v] [--version] [--config-validation] [--install] [-y] [-e <value>]
|
|
233
|
+
|
|
234
|
+
FLAGS
|
|
235
|
+
-e, --extension=<value> Add web-assets to a specific extension
|
|
236
|
+
-v, --verbose Verbose output
|
|
237
|
+
-y, --yes Skip questions, and use all default values
|
|
238
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
239
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
240
|
+
--version Show version
|
|
241
|
+
|
|
242
|
+
DESCRIPTION
|
|
243
|
+
Add web assets support
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
_See code: [src/commands/app/add/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/add/web-assets.js)_
|
|
247
|
+
|
|
248
|
+
## `aio app build`
|
|
249
|
+
|
|
250
|
+
Build an Adobe I/O App
|
|
251
|
+
|
|
252
|
+
```
|
|
253
|
+
USAGE
|
|
254
|
+
$ aio app build [-v] [--version] [--config-validation] [--actions | -a <value>...] [--web-assets]
|
|
255
|
+
[--force-build] [--content-hash] [--web-optimize] [-e <value>... | ]
|
|
256
|
+
|
|
257
|
+
FLAGS
|
|
258
|
+
-a, --action=<value>... Build only a specific action, the flags can be specified multiple times, this will set
|
|
259
|
+
--no-publish
|
|
260
|
+
-e, --extension=<value>... Build only a specific extension point, the flags can be specified multiple times
|
|
261
|
+
-v, --verbose Verbose output
|
|
262
|
+
--[no-]actions [default: true] Build actions if any
|
|
263
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
264
|
+
--[no-]content-hash [default: true] Enable content hashing in browser code
|
|
265
|
+
--[no-]force-build [default: true] Force a build even if one already exists
|
|
266
|
+
--version Show version
|
|
267
|
+
--[no-]web-assets [default: true] Build web-assets if any
|
|
268
|
+
--web-optimize [default: false] Enable optimization (minification) of js/css/html
|
|
269
|
+
|
|
270
|
+
DESCRIPTION
|
|
271
|
+
Build an Adobe I/O App
|
|
272
|
+
|
|
273
|
+
Build the actions and web assets for an Adobe I/O App. Build is optimized to only build what is necessary.
|
|
274
|
+
Use the --force-build flag to force a build even if one already exists.
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
_See code: [src/commands/app/build.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/build.js)_
|
|
278
|
+
|
|
279
|
+
## `aio app clean`
|
|
280
|
+
|
|
281
|
+
Remove all build artifacts from the local machine
|
|
282
|
+
|
|
283
|
+
```
|
|
284
|
+
USAGE
|
|
285
|
+
$ aio app clean [-v] [--version] [--config-validation]
|
|
286
|
+
|
|
287
|
+
FLAGS
|
|
288
|
+
-v, --verbose Verbose output
|
|
289
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
290
|
+
--version Show version
|
|
291
|
+
|
|
292
|
+
DESCRIPTION
|
|
293
|
+
Remove all build artifacts from the local machine
|
|
294
|
+
This command completely cleans all build artifacts from the dist directory including:
|
|
295
|
+
- Action build files
|
|
296
|
+
- Web assets (both production and development)
|
|
297
|
+
- Build tracking files
|
|
298
|
+
- Deployment tracking files
|
|
299
|
+
|
|
300
|
+
Note that this will require a full rebuild on your next build command.
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
_See code: [src/commands/app/clean.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/clean.js)_
|
|
304
|
+
|
|
305
|
+
## `aio app create [PATH]`
|
|
306
|
+
|
|
307
|
+
Create a new Adobe I/O App with default parameters
|
|
308
|
+
|
|
309
|
+
```
|
|
310
|
+
USAGE
|
|
311
|
+
$ aio app create [PATH] [-v] [--version] [--config-validation] [-i <value>]
|
|
312
|
+
|
|
313
|
+
ARGUMENTS
|
|
314
|
+
[PATH] [default: .] Path to the app directory
|
|
315
|
+
|
|
316
|
+
FLAGS
|
|
317
|
+
-i, --import=<value> Import an Adobe I/O Developer Console configuration file
|
|
318
|
+
-v, --verbose Verbose output
|
|
319
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
320
|
+
--version Show version
|
|
321
|
+
|
|
322
|
+
DESCRIPTION
|
|
323
|
+
Create a new Adobe I/O App with default parameters
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
_See code: [src/commands/app/create.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/create.js)_
|
|
327
|
+
|
|
328
|
+
## `aio app delete`
|
|
329
|
+
|
|
330
|
+
Delete a component from an existing Adobe I/O App
|
|
331
|
+
|
|
332
|
+
```
|
|
333
|
+
USAGE
|
|
334
|
+
$ aio app delete [-v] [--version] [--config-validation]
|
|
335
|
+
|
|
336
|
+
FLAGS
|
|
337
|
+
-v, --verbose Verbose output
|
|
338
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
339
|
+
--version Show version
|
|
340
|
+
|
|
341
|
+
DESCRIPTION
|
|
342
|
+
Delete a component from an existing Adobe I/O App
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
_See code: [src/commands/app/delete/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/delete/index.js)_
|
|
346
|
+
|
|
347
|
+
## `aio app delete action [ACTION-NAME]`
|
|
348
|
+
|
|
349
|
+
Delete existing actions
|
|
350
|
+
|
|
351
|
+
```
|
|
352
|
+
USAGE
|
|
353
|
+
$ aio app delete action [ACTION-NAME] [-v] [--version] [--config-validation] [-y]
|
|
354
|
+
|
|
355
|
+
ARGUMENTS
|
|
356
|
+
[ACTION-NAME] Action `pkg/name` to delete, you can specify multiple actions via a comma separated list
|
|
357
|
+
|
|
358
|
+
FLAGS
|
|
359
|
+
-v, --verbose Verbose output
|
|
360
|
+
-y, --yes Skip questions, and use all default values
|
|
361
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
362
|
+
--version Show version
|
|
363
|
+
|
|
364
|
+
DESCRIPTION
|
|
365
|
+
Delete existing actions
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
ALIASES
|
|
369
|
+
$ aio app delete actions
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
_See code: [src/commands/app/delete/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/delete/action.js)_
|
|
373
|
+
|
|
374
|
+
## `aio app delete ci`
|
|
375
|
+
|
|
376
|
+
Delete existing CI files
|
|
377
|
+
|
|
378
|
+
```
|
|
379
|
+
USAGE
|
|
380
|
+
$ aio app delete ci [-v] [--version] [--config-validation] [-y]
|
|
381
|
+
|
|
382
|
+
FLAGS
|
|
383
|
+
-v, --verbose Verbose output
|
|
384
|
+
-y, --yes Skip questions, and use all default values
|
|
385
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
386
|
+
--version Show version
|
|
387
|
+
|
|
388
|
+
DESCRIPTION
|
|
389
|
+
Delete existing CI files
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
_See code: [src/commands/app/delete/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/delete/ci.js)_
|
|
393
|
+
|
|
394
|
+
## `aio app delete extension`
|
|
395
|
+
|
|
396
|
+
Delete existing extensions
|
|
397
|
+
|
|
398
|
+
```
|
|
399
|
+
USAGE
|
|
400
|
+
$ aio app delete extension [-v] [--version] [--config-validation] [-y] [--install] [-e <value>...]
|
|
401
|
+
|
|
402
|
+
FLAGS
|
|
403
|
+
-e, --extension=<value>... Specify extensions to delete, skips selection prompt
|
|
404
|
+
-v, --verbose Verbose output
|
|
405
|
+
-y, --yes Skip questions, and use all default values
|
|
406
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
407
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
408
|
+
--version Show version
|
|
409
|
+
|
|
410
|
+
DESCRIPTION
|
|
411
|
+
Delete existing extensions
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
ALIASES
|
|
415
|
+
$ aio app delete ext
|
|
416
|
+
$ aio app delete extensions
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
_See code: [src/commands/app/delete/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/delete/extension.js)_
|
|
420
|
+
|
|
421
|
+
## `aio app delete service`
|
|
422
|
+
|
|
423
|
+
Delete Services in the current Workspace
|
|
424
|
+
|
|
425
|
+
```
|
|
426
|
+
USAGE
|
|
427
|
+
$ aio app delete service [-v] [--version] [--config-validation] [--use-jwt]
|
|
428
|
+
|
|
429
|
+
FLAGS
|
|
430
|
+
-v, --verbose Verbose output
|
|
431
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
432
|
+
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating),
|
|
433
|
+
prefer the JWT credentials
|
|
434
|
+
--version Show version
|
|
435
|
+
|
|
436
|
+
DESCRIPTION
|
|
437
|
+
Delete Services in the current Workspace
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
ALIASES
|
|
441
|
+
$ aio app delete services
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
_See code: [src/commands/app/delete/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/delete/service.js)_
|
|
445
|
+
|
|
446
|
+
## `aio app delete web-assets`
|
|
447
|
+
|
|
448
|
+
Delete existing web assets
|
|
449
|
+
|
|
450
|
+
```
|
|
451
|
+
USAGE
|
|
452
|
+
$ aio app delete web-assets [-v] [--version] [--config-validation] [-y]
|
|
453
|
+
|
|
454
|
+
FLAGS
|
|
455
|
+
-v, --verbose Verbose output
|
|
456
|
+
-y, --yes Skip questions, and use all default values
|
|
457
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
458
|
+
--version Show version
|
|
459
|
+
|
|
460
|
+
DESCRIPTION
|
|
461
|
+
Delete existing web assets
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
_See code: [src/commands/app/delete/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/delete/web-assets.js)_
|
|
465
|
+
|
|
466
|
+
## `aio app deploy`
|
|
467
|
+
|
|
468
|
+
Deploy an Adobe I/O App
|
|
469
|
+
|
|
470
|
+
```
|
|
471
|
+
USAGE
|
|
472
|
+
$ aio app deploy [-v] [--version] [--config-validation] [--actions | -a <value>...] [--web-assets]
|
|
473
|
+
[--force-build | ] [--content-hash] [--web-optimize] [-e <value>... | ] [--build] [--open] [--force-deploy |
|
|
474
|
+
--publish | --force-publish] [--force-events | | ] [--log-forwarding-update]
|
|
475
|
+
|
|
476
|
+
FLAGS
|
|
477
|
+
-a, --action=<value>... Deploy only a specific action, the flags can be specified multiple times, this will
|
|
478
|
+
set --no-publish
|
|
479
|
+
-e, --extension=<value>... Deploy only a specific extension, the flags can be specified multiple times
|
|
480
|
+
-v, --verbose Verbose output
|
|
481
|
+
--[no-]actions [default: true] Deploy actions if any
|
|
482
|
+
--[no-]build [default: true] Run the build phase before deployment
|
|
483
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
484
|
+
--[no-]content-hash [default: true] Enable content hashing in browser code
|
|
485
|
+
--[no-]force-build [default: true] Force a build even if one already exists
|
|
486
|
+
--force-deploy [default: false] Force deploy changes, regardless of production Workspace being
|
|
487
|
+
published in Exchange.
|
|
488
|
+
--[no-]force-events [default: false] Force event registrations and delete any registrations not part of
|
|
489
|
+
the config file
|
|
490
|
+
--force-publish [default: false] Force publish extension(s) to Exchange, delete previously published
|
|
491
|
+
extension points
|
|
492
|
+
--[no-]log-forwarding-update [default: true] Update log forwarding configuration on server
|
|
493
|
+
--open Open the default web browser after a successful deploy, only valid if your app has a
|
|
494
|
+
front-end
|
|
495
|
+
--[no-]publish [default: true] Publish extension(s) to Exchange
|
|
496
|
+
--version Show version
|
|
497
|
+
--[no-]web-assets [default: true] Deploy web-assets if any
|
|
498
|
+
--web-optimize [default: false] Enable optimization (minification) of web js/css/html
|
|
499
|
+
|
|
500
|
+
DESCRIPTION
|
|
501
|
+
Deploy an Adobe I/O App
|
|
502
|
+
|
|
503
|
+
Deploys the actions and web assets for an Adobe I/O App.
|
|
504
|
+
This will also build any changed actions or web assets before deploying.
|
|
505
|
+
Use the --force-build flag to force a build even if one already exists.
|
|
506
|
+
Deploy is optimized to only deploy what is necessary. Be aware that deploying actions will overwrite any previous
|
|
507
|
+
deployments.
|
|
508
|
+
Use the --force-deploy flag to force deploy changes, regardless of production Workspace being published in Exchange.
|
|
509
|
+
```
|
|
510
|
+
|
|
511
|
+
_See code: [src/commands/app/deploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/deploy.js)_
|
|
512
|
+
|
|
513
|
+
## `aio app get-url [ACTION]`
|
|
514
|
+
|
|
515
|
+
Get action URLs
|
|
516
|
+
|
|
517
|
+
```
|
|
518
|
+
USAGE
|
|
519
|
+
$ aio app get-url [ACTION] [-v] [--version] [--config-validation] [--cdn] [-j] [-h] [-y]
|
|
520
|
+
|
|
521
|
+
FLAGS
|
|
522
|
+
-h, --hson Output human readable json
|
|
523
|
+
-j, --json Output json
|
|
524
|
+
-v, --verbose Verbose output
|
|
525
|
+
-y, --yml Output yml
|
|
526
|
+
--cdn Display CDN based action URLs
|
|
527
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
528
|
+
--version Show version
|
|
529
|
+
|
|
530
|
+
DESCRIPTION
|
|
531
|
+
Get action URLs
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
_See code: [src/commands/app/get-url.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/get-url.js)_
|
|
535
|
+
|
|
536
|
+
## `aio app info`
|
|
537
|
+
|
|
538
|
+
Display settings/configuration in use by an Adobe I/O App
|
|
539
|
+
|
|
540
|
+
```
|
|
541
|
+
USAGE
|
|
542
|
+
$ aio app info [-v] [--version] [--config-validation] [-j | -h | -y] [--mask]
|
|
543
|
+
|
|
544
|
+
FLAGS
|
|
545
|
+
-h, --hson Output human readable json
|
|
546
|
+
-j, --json Output json
|
|
547
|
+
-v, --verbose Verbose output
|
|
548
|
+
-y, --yml Output yml
|
|
549
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
550
|
+
--[no-]mask Hide known private info
|
|
551
|
+
--version Show version
|
|
552
|
+
|
|
553
|
+
DESCRIPTION
|
|
554
|
+
Display settings/configuration in use by an Adobe I/O App
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
_See code: [src/commands/app/info.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/info.js)_
|
|
558
|
+
|
|
559
|
+
## `aio app init [PATH]`
|
|
560
|
+
|
|
561
|
+
Create a new Adobe I/O App
|
|
562
|
+
|
|
563
|
+
```
|
|
564
|
+
USAGE
|
|
565
|
+
$ aio app init [PATH] [-v] [--version] [--config-validation] [--install] [-y] [--login] [-e <value>... | -t
|
|
566
|
+
<value>... | --repo <value>] [--standalone-app | | ] [--template-options <value>] [-o <value> | -i <value> | ] [-p
|
|
567
|
+
<value> | | ] [-w <value> | | ] [--confirm-new-workspace] [--use-jwt] [--github-pat <value> ] [--linter
|
|
568
|
+
none|basic|adobe-recommended]
|
|
569
|
+
|
|
570
|
+
ARGUMENTS
|
|
571
|
+
[PATH] [default: .] Path to the app directory
|
|
572
|
+
|
|
573
|
+
FLAGS
|
|
574
|
+
-e, --extension=<value>... Extension point(s) to implement
|
|
575
|
+
-i, --import=<value> Import an Adobe I/O Developer Console configuration file
|
|
576
|
+
-o, --org=<value> Specify the Adobe Developer Console Org to init from (orgId, or orgCode)
|
|
577
|
+
-p, --project=<value> Specify the Adobe Developer Console Project to init from (projectId, or projectName)
|
|
578
|
+
-t, --template=<value>... Specify a link to a template that will be installed
|
|
579
|
+
-v, --verbose Verbose output
|
|
580
|
+
-w, --workspace=<value> [default: Stage] Specify the Adobe Developer Console Workspace to init from,
|
|
581
|
+
defaults to Stage
|
|
582
|
+
-y, --yes Skip questions, and use all default values
|
|
583
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
584
|
+
--[no-]confirm-new-workspace Prompt to confirm before creating a new workspace
|
|
585
|
+
--github-pat=<value> github personal access token to use for downloading private quickstart repos
|
|
586
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
587
|
+
--linter=<option> [default: basic] Specify the linter to use for the project
|
|
588
|
+
<options: none|basic|adobe-recommended>
|
|
589
|
+
--[no-]login Login using your Adobe ID for interacting with Adobe I/O Developer Console
|
|
590
|
+
--repo=<value> Init from gh quick-start repo. Expected to be of the form <owner>/<repo>/<path>
|
|
591
|
+
--standalone-app Create a stand-alone application
|
|
592
|
+
--template-options=<value> Optional template options, as a base64-encoded json string
|
|
593
|
+
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating),
|
|
594
|
+
prefer the JWT credentials
|
|
595
|
+
--version Show version
|
|
596
|
+
|
|
597
|
+
DESCRIPTION
|
|
598
|
+
Create a new Adobe I/O App
|
|
599
|
+
```
|
|
600
|
+
|
|
601
|
+
_See code: [src/commands/app/init.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/init.js)_
|
|
602
|
+
|
|
603
|
+
## `aio app install PATH`
|
|
604
|
+
|
|
605
|
+
This command will support installing apps packaged by 'aio app pack'.
|
|
606
|
+
|
|
607
|
+
```
|
|
608
|
+
USAGE
|
|
609
|
+
$ aio app install PATH [-v] [--version] [--config-validation] [--allow-scripts] [-o <value>] [--tests]
|
|
610
|
+
|
|
611
|
+
ARGUMENTS
|
|
612
|
+
PATH Path to the app package to install
|
|
613
|
+
|
|
614
|
+
FLAGS
|
|
615
|
+
-o, --output=<value> [default: .] The packaged app output folder path
|
|
616
|
+
-v, --verbose Verbose output
|
|
617
|
+
--[no-]allow-scripts Allow post and preinstall scripts during npm install/npm ci
|
|
618
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
619
|
+
--[no-]tests Run packaged app unit tests (e.g. aio app:test)
|
|
620
|
+
--version Show version
|
|
621
|
+
|
|
622
|
+
DESCRIPTION
|
|
623
|
+
This command will support installing apps packaged by 'aio app pack'.
|
|
624
|
+
```
|
|
625
|
+
|
|
626
|
+
_See code: [src/commands/app/install.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/install.js)_
|
|
627
|
+
|
|
628
|
+
## `aio app list`
|
|
629
|
+
|
|
630
|
+
List components for Adobe I/O App
|
|
631
|
+
|
|
632
|
+
```
|
|
633
|
+
USAGE
|
|
634
|
+
$ aio app list [-v] [--version] [--config-validation]
|
|
635
|
+
|
|
636
|
+
FLAGS
|
|
637
|
+
-v, --verbose Verbose output
|
|
638
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
639
|
+
--version Show version
|
|
640
|
+
|
|
641
|
+
DESCRIPTION
|
|
642
|
+
List components for Adobe I/O App
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
_See code: [src/commands/app/list/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/list/index.js)_
|
|
646
|
+
|
|
647
|
+
## `aio app list extension`
|
|
648
|
+
|
|
649
|
+
List implemented extensions
|
|
650
|
+
|
|
651
|
+
```
|
|
652
|
+
USAGE
|
|
653
|
+
$ aio app list extension [-v] [--version] [--config-validation] [-j] [-y]
|
|
654
|
+
|
|
655
|
+
FLAGS
|
|
656
|
+
-j, --json Output json
|
|
657
|
+
-v, --verbose Verbose output
|
|
658
|
+
-y, --yml Output yml
|
|
659
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
660
|
+
--version Show version
|
|
661
|
+
|
|
662
|
+
DESCRIPTION
|
|
663
|
+
List implemented extensions
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
ALIASES
|
|
667
|
+
$ aio app list ext
|
|
668
|
+
$ aio app list extensions
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
_See code: [src/commands/app/list/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/list/extension.js)_
|
|
672
|
+
|
|
673
|
+
## `aio app logs`
|
|
674
|
+
|
|
675
|
+
Fetch logs for an Adobe I/O App
|
|
676
|
+
|
|
677
|
+
```
|
|
678
|
+
USAGE
|
|
679
|
+
$ aio app logs [-v] [--version] [--config-validation] [-l <value>] [-a <value>...] [-r] [-t | -w | -o]
|
|
680
|
+
|
|
681
|
+
FLAGS
|
|
682
|
+
-a, --action=<value>... Fetch logs for a specific action
|
|
683
|
+
-l, --limit=<value> [default: 1] Limit number of activations to fetch logs from ( 1-50 )
|
|
684
|
+
-o, --poll Fetch logs continuously
|
|
685
|
+
-r, --strip strip timestamp information and output first line only
|
|
686
|
+
-t, --tail Fetch logs continuously
|
|
687
|
+
-v, --verbose Verbose output
|
|
688
|
+
-w, --watch Fetch logs continuously
|
|
689
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
690
|
+
--version Show version
|
|
691
|
+
|
|
692
|
+
DESCRIPTION
|
|
693
|
+
Fetch logs for an Adobe I/O App
|
|
694
|
+
```
|
|
695
|
+
|
|
696
|
+
_See code: [src/commands/app/logs.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/logs.js)_
|
|
697
|
+
|
|
698
|
+
## `aio app pack [PATH]`
|
|
699
|
+
|
|
700
|
+
This command will support packaging apps for redistribution.
|
|
701
|
+
|
|
702
|
+
```
|
|
703
|
+
USAGE
|
|
704
|
+
$ aio app pack [PATH] [-v] [--version] [--config-validation] [--lock-file] [-o <value>]
|
|
705
|
+
|
|
706
|
+
ARGUMENTS
|
|
707
|
+
[PATH] [default: .] Path to the app directory to package
|
|
708
|
+
|
|
709
|
+
FLAGS
|
|
710
|
+
-o, --output=<value> [default: dist/app.zip] The packaged app output file path
|
|
711
|
+
-v, --verbose Verbose output
|
|
712
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
713
|
+
--[no-]lock-file Include the package-lock.json file in the packaged app. When disabled, compatibility
|
|
714
|
+
validation is skipped since the provisioner will use npm install instead of npm ci.
|
|
715
|
+
--version Show version
|
|
716
|
+
|
|
717
|
+
DESCRIPTION
|
|
718
|
+
This command will support packaging apps for redistribution.
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
_See code: [src/commands/app/pack.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/pack.js)_
|
|
722
|
+
|
|
723
|
+
## `aio app run`
|
|
724
|
+
|
|
725
|
+
Run an Adobe I/O App
|
|
726
|
+
|
|
727
|
+
```
|
|
728
|
+
USAGE
|
|
729
|
+
$ aio app run [-v] [--version] [--config-validation] [--serve] [--actions] [--open] [-e <value>]
|
|
730
|
+
|
|
731
|
+
FLAGS
|
|
732
|
+
-e, --extension=<value> Run only a specific extension, this flag can only be specified once
|
|
733
|
+
-v, --verbose Verbose output
|
|
734
|
+
--[no-]actions [default: true] Run actions, defaults to true, to skip actions use --no-actions
|
|
735
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
736
|
+
--open Open the default web browser after a successful run, only valid if your app has a
|
|
737
|
+
front-end
|
|
738
|
+
--[no-]serve [default: true] Start frontend server (experimental)
|
|
739
|
+
--version Show version
|
|
740
|
+
|
|
741
|
+
DESCRIPTION
|
|
742
|
+
Run an Adobe I/O App
|
|
743
|
+
```
|
|
744
|
+
|
|
745
|
+
_See code: [src/commands/app/run.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/run.js)_
|
|
746
|
+
|
|
747
|
+
## `aio app test`
|
|
748
|
+
|
|
749
|
+
Run tests for an Adobe I/O App
|
|
750
|
+
|
|
751
|
+
```
|
|
752
|
+
USAGE
|
|
753
|
+
$ aio app test [-v] [--version] [--config-validation] [-e <value>... | -a <value>...] [--all] [--e2e]
|
|
754
|
+
[--unit]
|
|
755
|
+
|
|
756
|
+
FLAGS
|
|
757
|
+
-a, --action=<value>... the action(s) to test
|
|
758
|
+
-e, --extension=<value>... the extension(s) to test
|
|
759
|
+
-v, --verbose Verbose output
|
|
760
|
+
--all run both unit and e2e tests
|
|
761
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
762
|
+
--e2e run e2e tests
|
|
763
|
+
--unit run unit tests
|
|
764
|
+
--version Show version
|
|
765
|
+
|
|
766
|
+
DESCRIPTION
|
|
767
|
+
Run tests for an Adobe I/O App
|
|
768
|
+
If no flags are specified, by default only unit-tests are run.
|
|
769
|
+
|
|
770
|
+
For the --action flag, it tries a substring search on the 'package-name/action-name' pair for an action.
|
|
771
|
+
For the --extension flag, it tries a substring search on the 'extension-name' only.
|
|
772
|
+
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
773
|
+
```
|
|
774
|
+
|
|
775
|
+
_See code: [src/commands/app/test.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/test.js)_
|
|
776
|
+
|
|
777
|
+
## `aio app undeploy`
|
|
778
|
+
|
|
779
|
+
Undeploys an Adobe I/O App
|
|
780
|
+
|
|
781
|
+
```
|
|
782
|
+
USAGE
|
|
783
|
+
$ aio app undeploy [-v] [--version] [--config-validation] [--actions] [--events] [--web-assets] [-e <value>...]
|
|
784
|
+
[--force-unpublish | --unpublish]
|
|
785
|
+
|
|
786
|
+
FLAGS
|
|
787
|
+
-e, --extension=<value>... Undeploy only a specific extension, the flags can be specified multiple times
|
|
788
|
+
-v, --verbose Verbose output
|
|
789
|
+
--[no-]actions [default: true] Undeploy actions if any
|
|
790
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
791
|
+
--[no-]events [default: true] Undeploy (unregister) events if any
|
|
792
|
+
--force-unpublish Force unpublish extension(s) from Exchange, will delete all extension points
|
|
793
|
+
--[no-]unpublish [default: true] Unpublish selected extension(s) from Exchange
|
|
794
|
+
--version Show version
|
|
795
|
+
--[no-]web-assets [default: true] Undeploy web-assets if any
|
|
796
|
+
|
|
797
|
+
DESCRIPTION
|
|
798
|
+
Undeploys an Adobe I/O App
|
|
799
|
+
```
|
|
800
|
+
|
|
801
|
+
_See code: [src/commands/app/undeploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/undeploy.js)_
|
|
802
|
+
|
|
803
|
+
## `aio app use [CONFIG_FILE_PATH]`
|
|
804
|
+
|
|
805
|
+
Import an Adobe Developer Console configuration file.
|
|
806
|
+
|
|
807
|
+
```
|
|
808
|
+
USAGE
|
|
809
|
+
$ aio app use [CONFIG_FILE_PATH] [-v] [--version] [--config-validation] [--overwrite | -m] [-g | -w
|
|
810
|
+
<value>] [--confirm-new-workspace] [--no-service-sync | --confirm-service-sync] [--no-input] [--use-jwt]
|
|
811
|
+
|
|
812
|
+
ARGUMENTS
|
|
813
|
+
[CONFIG_FILE_PATH] path to an Adobe I/O Developer Console configuration file
|
|
814
|
+
|
|
815
|
+
FLAGS
|
|
816
|
+
-g, --global Use the global Adobe Developer Console Org / Project / Workspace configuration,
|
|
817
|
+
which can be set via `aio console` commands
|
|
818
|
+
-m, --merge Merge any .aio and .env files during import of the Adobe Developer Console
|
|
819
|
+
configuration file
|
|
820
|
+
-v, --verbose Verbose output
|
|
821
|
+
-w, --workspace=<value> Specify the Adobe Developer Console Workspace name or Workspace id to import the
|
|
822
|
+
configuration from
|
|
823
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
824
|
+
--[no-]confirm-new-workspace Prompt to confirm before creating a new workspace
|
|
825
|
+
--confirm-service-sync Skip the Service sync prompt and overwrite Service subscriptions in the new
|
|
826
|
+
Workspace with current subscriptions
|
|
827
|
+
--no-input Skip user prompts by setting --no-service-sync and --merge. Requires one of
|
|
828
|
+
config_file_path or --global or --workspace
|
|
829
|
+
--no-service-sync Skip the Service sync prompt and do not attach current Service subscriptions to the
|
|
830
|
+
new Workspace
|
|
831
|
+
--overwrite Overwrite any .aio and .env files during import of the Adobe Developer Console
|
|
832
|
+
configuration file
|
|
833
|
+
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating),
|
|
834
|
+
prefer the JWT credentials
|
|
835
|
+
--version Show version
|
|
836
|
+
|
|
837
|
+
DESCRIPTION
|
|
838
|
+
Import an Adobe Developer Console configuration file.
|
|
839
|
+
|
|
840
|
+
If the optional configuration file is not set, this command will retrieve the console org, project, and workspace
|
|
841
|
+
settings from the global config.
|
|
842
|
+
|
|
843
|
+
To set these global config values, see the help text for 'aio console --help'.
|
|
844
|
+
|
|
845
|
+
To download the configuration file for your project, select the 'Download' button in the toolbar of your project's
|
|
846
|
+
page in https://developer.adobe.com/console/
|
|
847
|
+
```
|
|
848
|
+
|
|
849
|
+
_See code: [src/commands/app/use.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.2/src/commands/app/use.js)_
|
|
850
|
+
<!-- commandsstop -->
|
|
851
|
+
* [`aio app`](#aio-app)
|
|
852
|
+
* [`aio app add`](#aio-app-add)
|
|
853
|
+
* [`aio app add action`](#aio-app-add-action)
|
|
854
|
+
* [`aio app add ci`](#aio-app-add-ci)
|
|
855
|
+
* [`aio app add event`](#aio-app-add-event)
|
|
856
|
+
* [`aio app add extension`](#aio-app-add-extension)
|
|
857
|
+
* [`aio app add service`](#aio-app-add-service)
|
|
858
|
+
* [`aio app add web-assets`](#aio-app-add-web-assets)
|
|
859
|
+
* [`aio app build`](#aio-app-build)
|
|
860
|
+
* [`aio app clean`](#aio-app-clean)
|
|
861
|
+
* [`aio app create [PATH]`](#aio-app-create-path)
|
|
862
|
+
* [`aio app delete`](#aio-app-delete)
|
|
863
|
+
* [`aio app delete action [ACTION-NAME]`](#aio-app-delete-action-action-name)
|
|
864
|
+
* [`aio app delete ci`](#aio-app-delete-ci)
|
|
865
|
+
* [`aio app delete extension`](#aio-app-delete-extension)
|
|
866
|
+
* [`aio app delete service`](#aio-app-delete-service)
|
|
867
|
+
* [`aio app delete web-assets`](#aio-app-delete-web-assets)
|
|
868
|
+
* [`aio app deploy`](#aio-app-deploy)
|
|
869
|
+
* [`aio app get-url [ACTION]`](#aio-app-get-url-action)
|
|
870
|
+
* [`aio app info`](#aio-app-info)
|
|
871
|
+
* [`aio app init [PATH]`](#aio-app-init-path)
|
|
872
|
+
* [`aio app install PATH`](#aio-app-install-path)
|
|
873
|
+
* [`aio app list`](#aio-app-list)
|
|
874
|
+
* [`aio app list extension`](#aio-app-list-extension)
|
|
875
|
+
* [`aio app logs`](#aio-app-logs)
|
|
876
|
+
* [`aio app pack [PATH]`](#aio-app-pack-path)
|
|
877
|
+
* [`aio app run`](#aio-app-run)
|
|
878
|
+
* [`aio app test`](#aio-app-test)
|
|
879
|
+
* [`aio app undeploy`](#aio-app-undeploy)
|
|
880
|
+
* [`aio app use [CONFIG_FILE_PATH]`](#aio-app-use-config_file_path)
|
|
881
|
+
|
|
882
|
+
## `aio app`
|
|
883
|
+
|
|
884
|
+
Create, run, test, and deploy Adobe I/O Apps
|
|
885
|
+
|
|
886
|
+
```
|
|
887
|
+
USAGE
|
|
888
|
+
$ aio app [-v] [--version] [--config-validation]
|
|
889
|
+
|
|
890
|
+
FLAGS
|
|
891
|
+
-v, --verbose Verbose output
|
|
892
|
+
--[no-]config-validation [default: true] Validate the app configuration file(s) before continuing.
|
|
893
|
+
--version Show version
|
|
894
|
+
|
|
895
|
+
DESCRIPTION
|
|
896
|
+
Create, run, test, and deploy Adobe I/O Apps
|
|
897
|
+
```
|
|
898
|
+
|
|
78
899
|
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/14.5.1/src/commands/app/index.js)_
|
|
79
900
|
|
|
80
901
|
## `aio app add`
|