@adobe/aio-cli-plugin-app 13.1.2 → 13.1.3
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 +158 -158
- package/oclif.manifest.json +1238 -894
- package/package.json +11 -11
- package/src/commands/app/deploy.js +4 -18
- package/src/commands/app/undeploy.js +2 -2
- package/src/lib/actions-watcher.js +7 -1
- package/src/lib/app-helper.js +4 -2
- package/src/lib/deploy-actions.js +31 -39
- package/src/lib/log-actions.js +52 -0
- package/src/lib/run-dev.js +12 -1
package/README.md
CHANGED
|
@@ -66,13 +66,13 @@ USAGE
|
|
|
66
66
|
|
|
67
67
|
FLAGS
|
|
68
68
|
-v, --verbose Verbose output
|
|
69
|
-
|
|
69
|
+
--version Show version
|
|
70
70
|
|
|
71
71
|
DESCRIPTION
|
|
72
72
|
Create, run, test, and deploy Adobe I/O Apps
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
75
|
+
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/index.js)_
|
|
76
76
|
|
|
77
77
|
## `aio app add`
|
|
78
78
|
|
|
@@ -84,13 +84,13 @@ USAGE
|
|
|
84
84
|
|
|
85
85
|
FLAGS
|
|
86
86
|
-v, --verbose Verbose output
|
|
87
|
-
|
|
87
|
+
--version Show version
|
|
88
88
|
|
|
89
89
|
DESCRIPTION
|
|
90
90
|
Add a new component to an existing Adobe I/O App
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
_See code: [src/commands/app/add/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
93
|
+
_See code: [src/commands/app/add/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/add/index.js)_
|
|
94
94
|
|
|
95
95
|
## `aio app add action`
|
|
96
96
|
|
|
@@ -104,8 +104,8 @@ FLAGS
|
|
|
104
104
|
-e, --extension=<value> Add actions to a specific extension
|
|
105
105
|
-v, --verbose Verbose output
|
|
106
106
|
-y, --yes Skip questions, and use all default values
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
108
|
+
--version Show version
|
|
109
109
|
|
|
110
110
|
DESCRIPTION
|
|
111
111
|
Add new actions
|
|
@@ -115,7 +115,7 @@ ALIASES
|
|
|
115
115
|
$ aio app add actions
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
_See code: [src/commands/app/add/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
118
|
+
_See code: [src/commands/app/add/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/add/action.js)_
|
|
119
119
|
|
|
120
120
|
## `aio app add ci`
|
|
121
121
|
|
|
@@ -127,13 +127,13 @@ USAGE
|
|
|
127
127
|
|
|
128
128
|
FLAGS
|
|
129
129
|
-v, --verbose Verbose output
|
|
130
|
-
|
|
130
|
+
--version Show version
|
|
131
131
|
|
|
132
132
|
DESCRIPTION
|
|
133
133
|
Add CI files
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
_See code: [src/commands/app/add/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
136
|
+
_See code: [src/commands/app/add/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/add/ci.js)_
|
|
137
137
|
|
|
138
138
|
## `aio app add event`
|
|
139
139
|
|
|
@@ -147,8 +147,8 @@ FLAGS
|
|
|
147
147
|
-e, --extension=<value> Add events to a specific extension
|
|
148
148
|
-v, --verbose Verbose output
|
|
149
149
|
-y, --yes Skip questions, and use all default values
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
151
|
+
--version Show version
|
|
152
152
|
|
|
153
153
|
DESCRIPTION
|
|
154
154
|
Add a new Adobe I/O Events action
|
|
@@ -158,7 +158,7 @@ ALIASES
|
|
|
158
158
|
$ aio app add events
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
_See code: [src/commands/app/add/event.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
161
|
+
_See code: [src/commands/app/add/event.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/add/event.js)_
|
|
162
162
|
|
|
163
163
|
## `aio app add extension`
|
|
164
164
|
|
|
@@ -166,14 +166,14 @@ Add new extensions to the project
|
|
|
166
166
|
|
|
167
167
|
```
|
|
168
168
|
USAGE
|
|
169
|
-
$ aio app add extension [-v] [--version] [--install] [-y] [-e <value
|
|
169
|
+
$ aio app add extension [-v] [--version] [--install] [-y] [-e <value>...]
|
|
170
170
|
|
|
171
171
|
FLAGS
|
|
172
172
|
-e, --extension=<value>... Specify extensions to add, skips selection prompt
|
|
173
173
|
-v, --verbose Verbose output
|
|
174
174
|
-y, --yes Skip questions, and use all default values
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
176
|
+
--version Show version
|
|
177
177
|
|
|
178
178
|
DESCRIPTION
|
|
179
179
|
Add new extensions to the project
|
|
@@ -184,7 +184,7 @@ ALIASES
|
|
|
184
184
|
$ aio app add extensions
|
|
185
185
|
```
|
|
186
186
|
|
|
187
|
-
_See code: [src/commands/app/add/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
187
|
+
_See code: [src/commands/app/add/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/add/extension.js)_
|
|
188
188
|
|
|
189
189
|
## `aio app add service`
|
|
190
190
|
|
|
@@ -196,9 +196,9 @@ USAGE
|
|
|
196
196
|
|
|
197
197
|
FLAGS
|
|
198
198
|
-v, --verbose Verbose output
|
|
199
|
-
|
|
199
|
+
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating), prefer the JWT
|
|
200
200
|
credentials
|
|
201
|
-
|
|
201
|
+
--version Show version
|
|
202
202
|
|
|
203
203
|
DESCRIPTION
|
|
204
204
|
Subscribe to Services in the current Workspace
|
|
@@ -208,7 +208,7 @@ ALIASES
|
|
|
208
208
|
$ aio app add services
|
|
209
209
|
```
|
|
210
210
|
|
|
211
|
-
_See code: [src/commands/app/add/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
211
|
+
_See code: [src/commands/app/add/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/add/service.js)_
|
|
212
212
|
|
|
213
213
|
## `aio app add web-assets`
|
|
214
214
|
|
|
@@ -222,14 +222,14 @@ FLAGS
|
|
|
222
222
|
-e, --extension=<value> Add web-assets to a specific extension
|
|
223
223
|
-v, --verbose Verbose output
|
|
224
224
|
-y, --yes Skip questions, and use all default values
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
226
|
+
--version Show version
|
|
227
227
|
|
|
228
228
|
DESCRIPTION
|
|
229
229
|
Add web assets support
|
|
230
230
|
```
|
|
231
231
|
|
|
232
|
-
_See code: [src/commands/app/add/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
232
|
+
_See code: [src/commands/app/add/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/add/web-assets.js)_
|
|
233
233
|
|
|
234
234
|
## `aio app build`
|
|
235
235
|
|
|
@@ -237,20 +237,20 @@ Build an Adobe I/O App
|
|
|
237
237
|
|
|
238
238
|
```
|
|
239
239
|
USAGE
|
|
240
|
-
$ aio app build [-v] [--version] [--actions | -a <value
|
|
241
|
-
[--web-optimize] [-e <value
|
|
240
|
+
$ aio app build [-v] [--version] [--actions | -a <value>...] [--web-assets] [--force-build] [--content-hash]
|
|
241
|
+
[--web-optimize] [-e <value>... | ]
|
|
242
242
|
|
|
243
243
|
FLAGS
|
|
244
244
|
-a, --action=<value>... Build only a specific action, the flags can be specified multiple times, this will set
|
|
245
245
|
--no-publish
|
|
246
246
|
-e, --extension=<value>... Build only a specific extension point, the flags can be specified multiple times
|
|
247
247
|
-v, --verbose Verbose output
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
248
|
+
--[no-]actions [default: true] Build actions if any
|
|
249
|
+
--[no-]content-hash [default: true] Enable content hashing in browser code
|
|
250
|
+
--[no-]force-build [default: false] Force a build even if one already exists
|
|
251
|
+
--version Show version
|
|
252
|
+
--[no-]web-assets [default: true] Build web-assets if any
|
|
253
|
+
--web-optimize [default: false] Enable optimization (minification) of js/css/html
|
|
254
254
|
|
|
255
255
|
DESCRIPTION
|
|
256
256
|
Build an Adobe I/O App
|
|
@@ -259,7 +259,7 @@ DESCRIPTION
|
|
|
259
259
|
Use the --force-build flag to force a build even if one already exists.
|
|
260
260
|
```
|
|
261
261
|
|
|
262
|
-
_See code: [src/commands/app/build.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
262
|
+
_See code: [src/commands/app/build.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/build.js)_
|
|
263
263
|
|
|
264
264
|
## `aio app create [PATH]`
|
|
265
265
|
|
|
@@ -275,13 +275,13 @@ ARGUMENTS
|
|
|
275
275
|
FLAGS
|
|
276
276
|
-i, --import=<value> Import an Adobe I/O Developer Console configuration file
|
|
277
277
|
-v, --verbose Verbose output
|
|
278
|
-
|
|
278
|
+
--version Show version
|
|
279
279
|
|
|
280
280
|
DESCRIPTION
|
|
281
281
|
Create a new Adobe I/O App with default parameters
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
_See code: [src/commands/app/create.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
284
|
+
_See code: [src/commands/app/create.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/create.js)_
|
|
285
285
|
|
|
286
286
|
## `aio app delete`
|
|
287
287
|
|
|
@@ -293,13 +293,13 @@ USAGE
|
|
|
293
293
|
|
|
294
294
|
FLAGS
|
|
295
295
|
-v, --verbose Verbose output
|
|
296
|
-
|
|
296
|
+
--version Show version
|
|
297
297
|
|
|
298
298
|
DESCRIPTION
|
|
299
299
|
Delete a component from an existing Adobe I/O App
|
|
300
300
|
```
|
|
301
301
|
|
|
302
|
-
_See code: [src/commands/app/delete/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
302
|
+
_See code: [src/commands/app/delete/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/delete/index.js)_
|
|
303
303
|
|
|
304
304
|
## `aio app delete action [ACTION-NAME]`
|
|
305
305
|
|
|
@@ -315,7 +315,7 @@ ARGUMENTS
|
|
|
315
315
|
FLAGS
|
|
316
316
|
-v, --verbose Verbose output
|
|
317
317
|
-y, --yes Skip questions, and use all default values
|
|
318
|
-
|
|
318
|
+
--version Show version
|
|
319
319
|
|
|
320
320
|
DESCRIPTION
|
|
321
321
|
Delete existing actions
|
|
@@ -325,7 +325,7 @@ ALIASES
|
|
|
325
325
|
$ aio app delete actions
|
|
326
326
|
```
|
|
327
327
|
|
|
328
|
-
_See code: [src/commands/app/delete/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
328
|
+
_See code: [src/commands/app/delete/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/delete/action.js)_
|
|
329
329
|
|
|
330
330
|
## `aio app delete ci`
|
|
331
331
|
|
|
@@ -338,13 +338,13 @@ USAGE
|
|
|
338
338
|
FLAGS
|
|
339
339
|
-v, --verbose Verbose output
|
|
340
340
|
-y, --yes Skip questions, and use all default values
|
|
341
|
-
|
|
341
|
+
--version Show version
|
|
342
342
|
|
|
343
343
|
DESCRIPTION
|
|
344
344
|
Delete existing CI files
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
_See code: [src/commands/app/delete/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
347
|
+
_See code: [src/commands/app/delete/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/delete/ci.js)_
|
|
348
348
|
|
|
349
349
|
## `aio app delete extension`
|
|
350
350
|
|
|
@@ -352,14 +352,14 @@ Delete existing extensions
|
|
|
352
352
|
|
|
353
353
|
```
|
|
354
354
|
USAGE
|
|
355
|
-
$ aio app delete extension [-v] [--version] [-y] [--install] [-e <value
|
|
355
|
+
$ aio app delete extension [-v] [--version] [-y] [--install] [-e <value>...]
|
|
356
356
|
|
|
357
357
|
FLAGS
|
|
358
358
|
-e, --extension=<value>... Specify extensions to delete, skips selection prompt
|
|
359
359
|
-v, --verbose Verbose output
|
|
360
360
|
-y, --yes Skip questions, and use all default values
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
362
|
+
--version Show version
|
|
363
363
|
|
|
364
364
|
DESCRIPTION
|
|
365
365
|
Delete existing extensions
|
|
@@ -370,7 +370,7 @@ ALIASES
|
|
|
370
370
|
$ aio app delete extensions
|
|
371
371
|
```
|
|
372
372
|
|
|
373
|
-
_See code: [src/commands/app/delete/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
373
|
+
_See code: [src/commands/app/delete/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/delete/extension.js)_
|
|
374
374
|
|
|
375
375
|
## `aio app delete service`
|
|
376
376
|
|
|
@@ -382,9 +382,9 @@ USAGE
|
|
|
382
382
|
|
|
383
383
|
FLAGS
|
|
384
384
|
-v, --verbose Verbose output
|
|
385
|
-
|
|
385
|
+
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating), prefer the JWT
|
|
386
386
|
credentials
|
|
387
|
-
|
|
387
|
+
--version Show version
|
|
388
388
|
|
|
389
389
|
DESCRIPTION
|
|
390
390
|
Delete Services in the current Workspace
|
|
@@ -394,7 +394,7 @@ ALIASES
|
|
|
394
394
|
$ aio app delete services
|
|
395
395
|
```
|
|
396
396
|
|
|
397
|
-
_See code: [src/commands/app/delete/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
397
|
+
_See code: [src/commands/app/delete/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/delete/service.js)_
|
|
398
398
|
|
|
399
399
|
## `aio app delete web-assets`
|
|
400
400
|
|
|
@@ -407,13 +407,13 @@ USAGE
|
|
|
407
407
|
FLAGS
|
|
408
408
|
-v, --verbose Verbose output
|
|
409
409
|
-y, --yes Skip questions, and use all default values
|
|
410
|
-
|
|
410
|
+
--version Show version
|
|
411
411
|
|
|
412
412
|
DESCRIPTION
|
|
413
413
|
Delete existing web assets
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_See code: [src/commands/app/delete/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
416
|
+
_See code: [src/commands/app/delete/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/delete/web-assets.js)_
|
|
417
417
|
|
|
418
418
|
## `aio app deploy`
|
|
419
419
|
|
|
@@ -421,32 +421,32 @@ Deploy an Adobe I/O App
|
|
|
421
421
|
|
|
422
422
|
```
|
|
423
423
|
USAGE
|
|
424
|
-
$ aio app deploy [-v] [--version] [--actions | -a <value
|
|
425
|
-
[--web-optimize] [-e <value
|
|
426
|
-
| ] [--log-forwarding-update]
|
|
424
|
+
$ aio app deploy [-v] [--version] [--actions | -a <value>...] [--web-assets] [--force-build | ]
|
|
425
|
+
[--content-hash] [--web-optimize] [-e <value>... | ] [--build] [--open] [--force-deploy | --publish |
|
|
426
|
+
--force-publish] [--force-events | | ] [--log-forwarding-update]
|
|
427
427
|
|
|
428
428
|
FLAGS
|
|
429
|
-
-a, --action=<value>...
|
|
430
|
-
|
|
431
|
-
-e, --extension=<value>...
|
|
432
|
-
-v, --verbose
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
429
|
+
-a, --action=<value>... Deploy only a specific action, the flags can be specified multiple times, this will
|
|
430
|
+
set --no-publish
|
|
431
|
+
-e, --extension=<value>... Deploy only a specific extension, the flags can be specified multiple times
|
|
432
|
+
-v, --verbose Verbose output
|
|
433
|
+
--[no-]actions [default: true] Deploy actions if any
|
|
434
|
+
--[no-]build [default: true] Run the build phase before deployment
|
|
435
|
+
--[no-]content-hash [default: true] Enable content hashing in browser code
|
|
436
|
+
--[no-]force-build [default: true] Force a build even if one already exists
|
|
437
|
+
--force-deploy [default: false] Force deploy changes, regardless of production Workspace being
|
|
438
|
+
published in Exchange.
|
|
439
|
+
--[no-]force-events [default: false] Force event registrations and delete any registrations not part of
|
|
440
|
+
the config file
|
|
441
|
+
--force-publish [default: false] Force publish extension(s) to Exchange, delete previously published
|
|
442
|
+
extension points
|
|
443
|
+
--[no-]log-forwarding-update [default: true] Update log forwarding configuration on server
|
|
444
|
+
--open Open the default web browser after a successful deploy, only valid if your app has a
|
|
445
|
+
front-end
|
|
446
|
+
--[no-]publish [default: true] Publish extension(s) to Exchange
|
|
447
|
+
--version Show version
|
|
448
|
+
--[no-]web-assets [default: true] Deploy web-assets if any
|
|
449
|
+
--web-optimize [default: false] Enable optimization (minification) of web js/css/html
|
|
450
450
|
|
|
451
451
|
DESCRIPTION
|
|
452
452
|
Deploy an Adobe I/O App
|
|
@@ -459,7 +459,7 @@ DESCRIPTION
|
|
|
459
459
|
Use the --force-deploy flag to force deploy changes, regardless of production Workspace being published in Exchange.
|
|
460
460
|
```
|
|
461
461
|
|
|
462
|
-
_See code: [src/commands/app/deploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
462
|
+
_See code: [src/commands/app/deploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/deploy.js)_
|
|
463
463
|
|
|
464
464
|
## `aio app get-url [ACTION]`
|
|
465
465
|
|
|
@@ -474,15 +474,15 @@ FLAGS
|
|
|
474
474
|
-j, --json Output json
|
|
475
475
|
-v, --verbose Verbose output
|
|
476
476
|
-y, --yml Output yml
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
477
|
+
--cdn Display CDN based action URLs
|
|
478
|
+
--local Display locally based action URLs
|
|
479
|
+
--version Show version
|
|
480
480
|
|
|
481
481
|
DESCRIPTION
|
|
482
482
|
Get action URLs
|
|
483
483
|
```
|
|
484
484
|
|
|
485
|
-
_See code: [src/commands/app/get-url.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
485
|
+
_See code: [src/commands/app/get-url.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/get-url.js)_
|
|
486
486
|
|
|
487
487
|
## `aio app info`
|
|
488
488
|
|
|
@@ -493,18 +493,18 @@ USAGE
|
|
|
493
493
|
$ aio app info [-v] [--version] [-j | -h | -y] [--mask]
|
|
494
494
|
|
|
495
495
|
FLAGS
|
|
496
|
-
-h, --hson
|
|
497
|
-
-j, --json
|
|
498
|
-
-v, --verbose
|
|
499
|
-
-y, --yml
|
|
500
|
-
|
|
501
|
-
|
|
496
|
+
-h, --hson Output human readable json
|
|
497
|
+
-j, --json Output json
|
|
498
|
+
-v, --verbose Verbose output
|
|
499
|
+
-y, --yml Output yml
|
|
500
|
+
--[no-]mask Hide known private info
|
|
501
|
+
--version Show version
|
|
502
502
|
|
|
503
503
|
DESCRIPTION
|
|
504
504
|
Display settings/configuration in use by an Adobe I/O App
|
|
505
505
|
```
|
|
506
506
|
|
|
507
|
-
_See code: [src/commands/app/info.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
507
|
+
_See code: [src/commands/app/info.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/info.js)_
|
|
508
508
|
|
|
509
509
|
## `aio app init [PATH]`
|
|
510
510
|
|
|
@@ -512,38 +512,38 @@ Create a new Adobe I/O App
|
|
|
512
512
|
|
|
513
513
|
```
|
|
514
514
|
USAGE
|
|
515
|
-
$ aio app init [PATH] [-v] [--version] [--install] [-y] [--login] [-e <value
|
|
516
|
-
[--standalone-app | | ] [-w <value> | -i <value>] [--confirm-new-workspace] [--use-jwt] [--github-pat
|
|
517
|
-
[--linter none|basic|adobe-recommended]
|
|
515
|
+
$ aio app init [PATH] [-v] [--version] [--install] [-y] [--login] [-e <value>... | -t <value>... | --repo
|
|
516
|
+
<value>] [--standalone-app | | ] [-w <value> | -i <value>] [--confirm-new-workspace] [--use-jwt] [--github-pat
|
|
517
|
+
<value> ] [--linter none|basic|adobe-recommended]
|
|
518
518
|
|
|
519
519
|
ARGUMENTS
|
|
520
520
|
PATH [default: .] Path to the app directory
|
|
521
521
|
|
|
522
522
|
FLAGS
|
|
523
|
-
-e, --extension=<value>...
|
|
524
|
-
-i, --import=<value>
|
|
525
|
-
-t, --template=<value>...
|
|
526
|
-
-v, --verbose
|
|
527
|
-
-w, --workspace=<value>
|
|
528
|
-
|
|
529
|
-
-y, --yes
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
523
|
+
-e, --extension=<value>... Extension point(s) to implement
|
|
524
|
+
-i, --import=<value> Import an Adobe I/O Developer Console configuration file
|
|
525
|
+
-t, --template=<value>... Specify a link to a template that will be installed
|
|
526
|
+
-v, --verbose Verbose output
|
|
527
|
+
-w, --workspace=<value> [default: Stage] Specify the Adobe Developer Console Workspace to init from,
|
|
528
|
+
defaults to Stage
|
|
529
|
+
-y, --yes Skip questions, and use all default values
|
|
530
|
+
--[no-]confirm-new-workspace Prompt to confirm before creating a new workspace
|
|
531
|
+
--github-pat=<value> github personal access token to use for downloading private quickstart repos
|
|
532
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
533
|
+
--linter=<option> [default: basic] Specify the linter to use for the project
|
|
534
|
+
<options: none|basic|adobe-recommended>
|
|
535
|
+
--[no-]login Login using your Adobe ID for interacting with Adobe I/O Developer Console
|
|
536
|
+
--repo=<value> Init from gh quick-start repo. Expected to be of the form <owner>/<repo>/<path>
|
|
537
|
+
--standalone-app Create a stand-alone application
|
|
538
|
+
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating),
|
|
539
|
+
prefer the JWT credentials
|
|
540
|
+
--version Show version
|
|
541
541
|
|
|
542
542
|
DESCRIPTION
|
|
543
543
|
Create a new Adobe I/O App
|
|
544
544
|
```
|
|
545
545
|
|
|
546
|
-
_See code: [src/commands/app/init.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
546
|
+
_See code: [src/commands/app/init.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/init.js)_
|
|
547
547
|
|
|
548
548
|
## `aio app install PATH`
|
|
549
549
|
|
|
@@ -559,14 +559,14 @@ ARGUMENTS
|
|
|
559
559
|
FLAGS
|
|
560
560
|
-o, --output=<value> [default: .] The packaged app output folder path
|
|
561
561
|
-v, --verbose Verbose output
|
|
562
|
-
|
|
563
|
-
|
|
562
|
+
--[no-]tests Run packaged app unit tests (e.g. aio app:test)
|
|
563
|
+
--version Show version
|
|
564
564
|
|
|
565
565
|
DESCRIPTION
|
|
566
566
|
This command will support installing apps packaged by 'aio app pack'.
|
|
567
567
|
```
|
|
568
568
|
|
|
569
|
-
_See code: [src/commands/app/install.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
569
|
+
_See code: [src/commands/app/install.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/install.js)_
|
|
570
570
|
|
|
571
571
|
## `aio app list`
|
|
572
572
|
|
|
@@ -578,13 +578,13 @@ USAGE
|
|
|
578
578
|
|
|
579
579
|
FLAGS
|
|
580
580
|
-v, --verbose Verbose output
|
|
581
|
-
|
|
581
|
+
--version Show version
|
|
582
582
|
|
|
583
583
|
DESCRIPTION
|
|
584
584
|
List components for Adobe I/O App
|
|
585
585
|
```
|
|
586
586
|
|
|
587
|
-
_See code: [src/commands/app/list/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
587
|
+
_See code: [src/commands/app/list/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/list/index.js)_
|
|
588
588
|
|
|
589
589
|
## `aio app list extension`
|
|
590
590
|
|
|
@@ -598,7 +598,7 @@ FLAGS
|
|
|
598
598
|
-j, --json Output json
|
|
599
599
|
-v, --verbose Verbose output
|
|
600
600
|
-y, --yml Output yml
|
|
601
|
-
|
|
601
|
+
--version Show version
|
|
602
602
|
|
|
603
603
|
DESCRIPTION
|
|
604
604
|
List implemented extensions
|
|
@@ -609,7 +609,7 @@ ALIASES
|
|
|
609
609
|
$ aio app list extensions
|
|
610
610
|
```
|
|
611
611
|
|
|
612
|
-
_See code: [src/commands/app/list/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
612
|
+
_See code: [src/commands/app/list/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/list/extension.js)_
|
|
613
613
|
|
|
614
614
|
## `aio app logs`
|
|
615
615
|
|
|
@@ -617,7 +617,7 @@ Fetch logs for an Adobe I/O App
|
|
|
617
617
|
|
|
618
618
|
```
|
|
619
619
|
USAGE
|
|
620
|
-
$ aio app logs [-v] [--version] [-l <value>] [-a <value
|
|
620
|
+
$ aio app logs [-v] [--version] [-l <value>] [-a <value>...] [-r] [-t | -w | -o]
|
|
621
621
|
|
|
622
622
|
FLAGS
|
|
623
623
|
-a, --action=<value>... Fetch logs for a specific action
|
|
@@ -627,13 +627,13 @@ FLAGS
|
|
|
627
627
|
-t, --tail Fetch logs continuously
|
|
628
628
|
-v, --verbose Verbose output
|
|
629
629
|
-w, --watch Fetch logs continuously
|
|
630
|
-
|
|
630
|
+
--version Show version
|
|
631
631
|
|
|
632
632
|
DESCRIPTION
|
|
633
633
|
Fetch logs for an Adobe I/O App
|
|
634
634
|
```
|
|
635
635
|
|
|
636
|
-
_See code: [src/commands/app/logs.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
636
|
+
_See code: [src/commands/app/logs.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/logs.js)_
|
|
637
637
|
|
|
638
638
|
## `aio app pack [PATH]`
|
|
639
639
|
|
|
@@ -649,13 +649,13 @@ ARGUMENTS
|
|
|
649
649
|
FLAGS
|
|
650
650
|
-o, --output=<value> [default: dist/app.zip] The packaged app output file path
|
|
651
651
|
-v, --verbose Verbose output
|
|
652
|
-
|
|
652
|
+
--version Show version
|
|
653
653
|
|
|
654
654
|
DESCRIPTION
|
|
655
655
|
This command will support packaging apps for redistribution.
|
|
656
656
|
```
|
|
657
657
|
|
|
658
|
-
_See code: [src/commands/app/pack.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
658
|
+
_See code: [src/commands/app/pack.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/pack.js)_
|
|
659
659
|
|
|
660
660
|
## `aio app run`
|
|
661
661
|
|
|
@@ -668,18 +668,18 @@ USAGE
|
|
|
668
668
|
FLAGS
|
|
669
669
|
-e, --extension=<value> Run only a specific extension, this flag can only be specified once
|
|
670
670
|
-v, --verbose Verbose output
|
|
671
|
-
|
|
672
|
-
|
|
671
|
+
--[no-]actions [default: true] Run actions, defaults to true, to skip actions use --no-actions
|
|
672
|
+
--local [deprecated] Run/debug actions locally (requires Docker running, not available on Apple
|
|
673
673
|
Silicon Macs)
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
674
|
+
--open Open the default web browser after a successful run, only valid if your app has a front-end
|
|
675
|
+
--[no-]serve [default: true] Start frontend server (experimental)
|
|
676
|
+
--version Show version
|
|
677
677
|
|
|
678
678
|
DESCRIPTION
|
|
679
679
|
Run an Adobe I/O App
|
|
680
680
|
```
|
|
681
681
|
|
|
682
|
-
_See code: [src/commands/app/run.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
682
|
+
_See code: [src/commands/app/run.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/run.js)_
|
|
683
683
|
|
|
684
684
|
## `aio app test`
|
|
685
685
|
|
|
@@ -687,16 +687,16 @@ Run tests for an Adobe I/O App
|
|
|
687
687
|
|
|
688
688
|
```
|
|
689
689
|
USAGE
|
|
690
|
-
$ aio app test [-v] [--version] [-e <value
|
|
690
|
+
$ aio app test [-v] [--version] [-e <value>... | -a <value>...] [--all] [--e2e] [--unit]
|
|
691
691
|
|
|
692
692
|
FLAGS
|
|
693
693
|
-a, --action=<value>... the action(s) to test
|
|
694
694
|
-e, --extension=<value>... the extension(s) to test
|
|
695
695
|
-v, --verbose Verbose output
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
696
|
+
--all run both unit and e2e tests
|
|
697
|
+
--e2e run e2e tests
|
|
698
|
+
--unit run unit tests
|
|
699
|
+
--version Show version
|
|
700
700
|
|
|
701
701
|
DESCRIPTION
|
|
702
702
|
Run tests for an Adobe I/O App
|
|
@@ -707,7 +707,7 @@ DESCRIPTION
|
|
|
707
707
|
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
-
_See code: [src/commands/app/test.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
710
|
+
_See code: [src/commands/app/test.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/test.js)_
|
|
711
711
|
|
|
712
712
|
## `aio app undeploy`
|
|
713
713
|
|
|
@@ -715,24 +715,24 @@ Undeploys an Adobe I/O App
|
|
|
715
715
|
|
|
716
716
|
```
|
|
717
717
|
USAGE
|
|
718
|
-
$ aio app undeploy [-v] [--version] [--actions] [--events] [--web-assets] [-e <value
|
|
718
|
+
$ aio app undeploy [-v] [--version] [--actions] [--events] [--web-assets] [-e <value>...] [--force-unpublish |
|
|
719
719
|
--unpublish]
|
|
720
720
|
|
|
721
721
|
FLAGS
|
|
722
722
|
-e, --extension=<value>... Undeploy only a specific extension, the flags can be specified multiple times
|
|
723
723
|
-v, --verbose Verbose output
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
724
|
+
--[no-]actions [default: true] Undeploy actions if any
|
|
725
|
+
--[no-]events [default: true] Undeploy (unregister) events if any
|
|
726
|
+
--force-unpublish Force unpublish extension(s) from Exchange, will delete all extension points
|
|
727
|
+
--[no-]unpublish [default: true] Unpublish selected extension(s) from Exchange
|
|
728
|
+
--version Show version
|
|
729
|
+
--[no-]web-assets [default: true] Undeploy web-assets if any
|
|
730
730
|
|
|
731
731
|
DESCRIPTION
|
|
732
732
|
Undeploys an Adobe I/O App
|
|
733
733
|
```
|
|
734
734
|
|
|
735
|
-
_See code: [src/commands/app/undeploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
735
|
+
_See code: [src/commands/app/undeploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/undeploy.js)_
|
|
736
736
|
|
|
737
737
|
## `aio app use [CONFIG_FILE_PATH]`
|
|
738
738
|
|
|
@@ -747,25 +747,25 @@ ARGUMENTS
|
|
|
747
747
|
CONFIG_FILE_PATH path to an Adobe I/O Developer Console configuration file
|
|
748
748
|
|
|
749
749
|
FLAGS
|
|
750
|
-
-g, --global
|
|
751
|
-
|
|
752
|
-
-m, --merge
|
|
753
|
-
|
|
754
|
-
-v, --verbose
|
|
755
|
-
-w, --workspace=<value>
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
750
|
+
-g, --global Use the global Adobe Developer Console Org / Project / Workspace configuration,
|
|
751
|
+
which can be set via `aio console` commands
|
|
752
|
+
-m, --merge Merge any .aio and .env files during import of the Adobe Developer Console
|
|
753
|
+
configuration file
|
|
754
|
+
-v, --verbose Verbose output
|
|
755
|
+
-w, --workspace=<value> Specify the Adobe Developer Console Workspace name or Workspace id to import the
|
|
756
|
+
configuration from
|
|
757
|
+
--[no-]confirm-new-workspace Prompt to confirm before creating a new workspace
|
|
758
|
+
--confirm-service-sync Skip the Service sync prompt and overwrite Service subscriptions in the new
|
|
759
|
+
Workspace with current subscriptions
|
|
760
|
+
--no-input Skip user prompts by setting --no-service-sync and --merge. Requires one of
|
|
761
|
+
config_file_path or --global or --workspace
|
|
762
|
+
--no-service-sync Skip the Service sync prompt and do not attach current Service subscriptions to the
|
|
763
|
+
new Workspace
|
|
764
|
+
--overwrite Overwrite any .aio and .env files during import of the Adobe Developer Console
|
|
765
|
+
configuration file
|
|
766
|
+
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating),
|
|
767
|
+
prefer the JWT credentials
|
|
768
|
+
--version Show version
|
|
769
769
|
|
|
770
770
|
DESCRIPTION
|
|
771
771
|
Import an Adobe Developer Console configuration file.
|
|
@@ -779,5 +779,5 @@ DESCRIPTION
|
|
|
779
779
|
page in https://developer.adobe.com/console/
|
|
780
780
|
```
|
|
781
781
|
|
|
782
|
-
_See code: [src/commands/app/use.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.
|
|
782
|
+
_See code: [src/commands/app/use.js](https://github.com/adobe/aio-cli-plugin-app/blob/13.1.3/src/commands/app/use.js)_
|
|
783
783
|
<!-- commandsstop -->
|