@adobe/aio-cli-plugin-app 8.2.0 → 8.5.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 +186 -153
- package/oclif.manifest.json +1 -1
- package/package.json +14 -13
- package/src/AddCommand.js +41 -0
- package/src/BaseCommand.js +9 -0
- package/src/commands/app/add/action.js +9 -15
- package/src/commands/app/add/ci.js +7 -1
- package/src/commands/app/add/event.js +7 -14
- package/src/commands/app/add/extension.js +9 -14
- package/src/commands/app/add/web-assets.js +9 -15
- package/src/commands/app/build.js +1 -1
- package/src/commands/app/config/get/index.js +25 -0
- package/src/commands/app/config/get/log-forwarding/errors.js +46 -0
- package/src/commands/app/config/get/log-forwarding.js +50 -0
- package/src/commands/app/config/index.js +25 -0
- package/src/commands/app/config/set/index.js +25 -0
- package/src/commands/app/config/set/log-forwarding.js +46 -0
- package/src/commands/app/delete/action.js +1 -1
- package/src/commands/app/delete/ci.js +3 -1
- package/src/commands/app/deploy.js +46 -9
- package/src/commands/app/init.js +41 -28
- package/src/commands/app/logs.js +10 -1
- package/src/commands/app/run.js +8 -6
- package/src/commands/app/undeploy.js +8 -6
- package/src/commands/app/use.js +29 -33
- package/src/lib/actions-watcher.js +48 -15
- package/src/lib/build-actions.js +3 -2
- package/src/lib/deploy-actions.js +10 -3
- package/src/lib/log-forwarding.js +267 -0
- package/src/lib/run-dev.js +1 -1
- package/src/lib/vscode.js +3 -1
package/README.md
CHANGED
|
@@ -35,6 +35,12 @@ $ aio app --help
|
|
|
35
35
|
* [`aio app:add:service`](#aio-appaddservice)
|
|
36
36
|
* [`aio app:add:web-assets`](#aio-appaddweb-assets)
|
|
37
37
|
* [`aio app:build`](#aio-appbuild)
|
|
38
|
+
* [`aio app:config`](#aio-appconfig)
|
|
39
|
+
* [`aio app:config:get`](#aio-appconfigget)
|
|
40
|
+
* [`aio app:config:get:log-forwarding`](#aio-appconfiggetlog-forwarding)
|
|
41
|
+
* [`aio app:config:get:log-forwarding:errors`](#aio-appconfiggetlog-forwardingerrors)
|
|
42
|
+
* [`aio app:config:set`](#aio-appconfigset)
|
|
43
|
+
* [`aio app:config:set:log-forwarding`](#aio-appconfigsetlog-forwarding)
|
|
38
44
|
* [`aio app:create [PATH]`](#aio-appcreate-path)
|
|
39
45
|
* [`aio app:delete`](#aio-appdelete)
|
|
40
46
|
* [`aio app:delete:action [ACTION-NAME]`](#aio-appdeleteaction-action-name)
|
|
@@ -61,8 +67,6 @@ $ aio app --help
|
|
|
61
67
|
Create, run, test, and deploy Adobe I/O Apps
|
|
62
68
|
|
|
63
69
|
```
|
|
64
|
-
Create, run, test, and deploy Adobe I/O Apps
|
|
65
|
-
|
|
66
70
|
USAGE
|
|
67
71
|
$ aio app
|
|
68
72
|
|
|
@@ -71,15 +75,13 @@ OPTIONS
|
|
|
71
75
|
--version Show version
|
|
72
76
|
```
|
|
73
77
|
|
|
74
|
-
_See code: [src/commands/app/index.
|
|
78
|
+
_See code: [src/commands/app/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/index.ts)_
|
|
75
79
|
|
|
76
80
|
## `aio app:add`
|
|
77
81
|
|
|
78
82
|
Add a new component to an existing Adobe I/O App
|
|
79
83
|
|
|
80
84
|
```
|
|
81
|
-
Add a new component to an existing Adobe I/O App
|
|
82
|
-
|
|
83
85
|
USAGE
|
|
84
86
|
$ aio app:add
|
|
85
87
|
|
|
@@ -88,40 +90,35 @@ OPTIONS
|
|
|
88
90
|
--version Show version
|
|
89
91
|
```
|
|
90
92
|
|
|
91
|
-
_See code: [src/commands/app/add/index.
|
|
93
|
+
_See code: [src/commands/app/add/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/add/index.ts)_
|
|
92
94
|
|
|
93
95
|
## `aio app:add:action`
|
|
94
96
|
|
|
95
97
|
Add new actions
|
|
96
98
|
|
|
97
99
|
```
|
|
98
|
-
Add new actions
|
|
99
|
-
|
|
100
|
-
|
|
101
100
|
USAGE
|
|
102
101
|
$ aio app:add:action
|
|
103
102
|
|
|
104
103
|
OPTIONS
|
|
105
104
|
-e, --extension=extension Add actions to a specific extension
|
|
105
|
+
-s, --skip-install [deprecated] Please use --no-install
|
|
106
106
|
-v, --verbose Verbose output
|
|
107
107
|
-y, --yes Skip questions, and use all default values
|
|
108
|
-
--
|
|
108
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
109
109
|
--version Show version
|
|
110
110
|
|
|
111
111
|
ALIASES
|
|
112
112
|
$ aio app:add:actions
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
_See code: [src/commands/app/add/action.
|
|
115
|
+
_See code: [src/commands/app/add/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/add/action.ts)_
|
|
116
116
|
|
|
117
117
|
## `aio app:add:ci`
|
|
118
118
|
|
|
119
119
|
Add CI files
|
|
120
120
|
|
|
121
121
|
```
|
|
122
|
-
Add CI files
|
|
123
|
-
|
|
124
|
-
|
|
125
122
|
USAGE
|
|
126
123
|
$ aio app:add:ci
|
|
127
124
|
|
|
@@ -130,48 +127,44 @@ OPTIONS
|
|
|
130
127
|
--version Show version
|
|
131
128
|
```
|
|
132
129
|
|
|
133
|
-
_See code: [src/commands/app/add/ci.
|
|
130
|
+
_See code: [src/commands/app/add/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/add/ci.ts)_
|
|
134
131
|
|
|
135
132
|
## `aio app:add:event`
|
|
136
133
|
|
|
137
134
|
Add a new Adobe I/O Events action
|
|
138
135
|
|
|
139
136
|
```
|
|
140
|
-
Add a new Adobe I/O Events action
|
|
141
|
-
|
|
142
|
-
|
|
143
137
|
USAGE
|
|
144
138
|
$ aio app:add:event
|
|
145
139
|
|
|
146
140
|
OPTIONS
|
|
147
141
|
-e, --extension=extension Add actions to a specific extension
|
|
142
|
+
-s, --skip-install [deprecated] Please use --no-install
|
|
148
143
|
-v, --verbose Verbose output
|
|
149
144
|
-y, --yes Skip questions, and use all default values
|
|
150
|
-
--
|
|
145
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
151
146
|
--version Show version
|
|
152
147
|
|
|
153
148
|
ALIASES
|
|
154
149
|
$ aio app:add:events
|
|
155
150
|
```
|
|
156
151
|
|
|
157
|
-
_See code: [src/commands/app/add/event.
|
|
152
|
+
_See code: [src/commands/app/add/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/add/event.ts)_
|
|
158
153
|
|
|
159
154
|
## `aio app:add:extension`
|
|
160
155
|
|
|
161
156
|
Add new extensions or a standalone application to the project
|
|
162
157
|
|
|
163
158
|
```
|
|
164
|
-
Add new extensions or a standalone application to the project
|
|
165
|
-
|
|
166
|
-
|
|
167
159
|
USAGE
|
|
168
160
|
$ aio app:add:extension
|
|
169
161
|
|
|
170
162
|
OPTIONS
|
|
171
163
|
-e, --extension=extension Specify extensions to add, skips selection prompt
|
|
164
|
+
-s, --skip-install [deprecated] Please use --no-install
|
|
172
165
|
-v, --verbose Verbose output
|
|
173
166
|
-y, --yes Skip questions, and use all default values
|
|
174
|
-
--
|
|
167
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
175
168
|
--version Show version
|
|
176
169
|
|
|
177
170
|
ALIASES
|
|
@@ -179,16 +172,13 @@ ALIASES
|
|
|
179
172
|
$ aio app:add:extensions
|
|
180
173
|
```
|
|
181
174
|
|
|
182
|
-
_See code: [src/commands/app/add/extension.
|
|
175
|
+
_See code: [src/commands/app/add/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/add/extension.ts)_
|
|
183
176
|
|
|
184
177
|
## `aio app:add:service`
|
|
185
178
|
|
|
186
179
|
Subscribe to Services in the current Workspace
|
|
187
180
|
|
|
188
181
|
```
|
|
189
|
-
Subscribe to Services in the current Workspace
|
|
190
|
-
|
|
191
|
-
|
|
192
182
|
USAGE
|
|
193
183
|
$ aio app:add:service
|
|
194
184
|
|
|
@@ -200,39 +190,32 @@ ALIASES
|
|
|
200
190
|
$ aio app:add:services
|
|
201
191
|
```
|
|
202
192
|
|
|
203
|
-
_See code: [src/commands/app/add/service.
|
|
193
|
+
_See code: [src/commands/app/add/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/add/service.ts)_
|
|
204
194
|
|
|
205
195
|
## `aio app:add:web-assets`
|
|
206
196
|
|
|
207
197
|
Add web assets support
|
|
208
198
|
|
|
209
199
|
```
|
|
210
|
-
Add web assets support
|
|
211
|
-
|
|
212
|
-
|
|
213
200
|
USAGE
|
|
214
201
|
$ aio app:add:web-assets
|
|
215
202
|
|
|
216
203
|
OPTIONS
|
|
217
204
|
-e, --extension=extension Add web-assets to a specific extension
|
|
205
|
+
-s, --skip-install [deprecated] Please use --no-install
|
|
218
206
|
-v, --verbose Verbose output
|
|
219
207
|
-y, --yes Skip questions, and use all default values
|
|
220
|
-
--
|
|
208
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
221
209
|
--version Show version
|
|
222
210
|
```
|
|
223
211
|
|
|
224
|
-
_See code: [src/commands/app/add/web-assets.
|
|
212
|
+
_See code: [src/commands/app/add/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/add/web-assets.ts)_
|
|
225
213
|
|
|
226
214
|
## `aio app:build`
|
|
227
215
|
|
|
228
216
|
Build an Adobe I/O App
|
|
229
217
|
|
|
230
218
|
```
|
|
231
|
-
Build an Adobe I/O App
|
|
232
|
-
|
|
233
|
-
This will always force a rebuild unless --no-force-build is set.
|
|
234
|
-
|
|
235
|
-
|
|
236
219
|
USAGE
|
|
237
220
|
$ aio app:build
|
|
238
221
|
|
|
@@ -266,16 +249,125 @@ DESCRIPTION
|
|
|
266
249
|
This will always force a rebuild unless --no-force-build is set.
|
|
267
250
|
```
|
|
268
251
|
|
|
269
|
-
_See code: [src/commands/app/build.
|
|
252
|
+
_See code: [src/commands/app/build.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/build.ts)_
|
|
270
253
|
|
|
271
|
-
## `aio app:
|
|
254
|
+
## `aio app:config`
|
|
272
255
|
|
|
273
|
-
|
|
256
|
+
Manage app config
|
|
274
257
|
|
|
275
258
|
```
|
|
276
|
-
|
|
259
|
+
USAGE
|
|
260
|
+
$ aio app:config
|
|
261
|
+
|
|
262
|
+
OPTIONS
|
|
263
|
+
-v, --verbose Verbose output
|
|
264
|
+
--version Show version
|
|
265
|
+
|
|
266
|
+
ALIASES
|
|
267
|
+
$ aio app:config
|
|
268
|
+
$ aio app:config
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
_See code: [src/commands/app/config/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/config/index.ts)_
|
|
272
|
+
|
|
273
|
+
## `aio app:config:get`
|
|
274
|
+
|
|
275
|
+
Get app config
|
|
276
|
+
|
|
277
|
+
```
|
|
278
|
+
USAGE
|
|
279
|
+
$ aio app:config:get
|
|
280
|
+
|
|
281
|
+
OPTIONS
|
|
282
|
+
-v, --verbose Verbose output
|
|
283
|
+
--version Show version
|
|
284
|
+
|
|
285
|
+
ALIASES
|
|
286
|
+
$ aio app:config:get
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
_See code: [src/commands/app/config/get/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/config/get/index.ts)_
|
|
290
|
+
|
|
291
|
+
## `aio app:config:get:log-forwarding`
|
|
292
|
+
|
|
293
|
+
Get log forwarding destination configuration
|
|
294
|
+
|
|
295
|
+
```
|
|
296
|
+
USAGE
|
|
297
|
+
$ aio app:config:get:log-forwarding
|
|
298
|
+
|
|
299
|
+
OPTIONS
|
|
300
|
+
-v, --verbose Verbose output
|
|
301
|
+
--version Show version
|
|
302
|
+
|
|
303
|
+
ALIASES
|
|
304
|
+
$ aio app:config:get:log-forwarding
|
|
305
|
+
$ aio app:config:get:lf
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
_See code: [src/commands/app/config/get/log-forwarding.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/config/get/log-forwarding.ts)_
|
|
309
|
+
|
|
310
|
+
## `aio app:config:get:log-forwarding:errors`
|
|
311
|
+
|
|
312
|
+
Get log forwarding errors
|
|
313
|
+
|
|
314
|
+
```
|
|
315
|
+
USAGE
|
|
316
|
+
$ aio app:config:get:log-forwarding:errors
|
|
317
|
+
|
|
318
|
+
OPTIONS
|
|
319
|
+
-v, --verbose Verbose output
|
|
320
|
+
--version Show version
|
|
321
|
+
|
|
322
|
+
ALIASES
|
|
323
|
+
$ aio app:config:get:log-forwarding:errors
|
|
324
|
+
$ aio app:config:get:lf:errors
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
_See code: [src/commands/app/config/get/log-forwarding/errors.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/config/get/log-forwarding/errors.ts)_
|
|
328
|
+
|
|
329
|
+
## `aio app:config:set`
|
|
330
|
+
|
|
331
|
+
Set app config
|
|
332
|
+
|
|
333
|
+
```
|
|
334
|
+
USAGE
|
|
335
|
+
$ aio app:config:set
|
|
336
|
+
|
|
337
|
+
OPTIONS
|
|
338
|
+
-v, --verbose Verbose output
|
|
339
|
+
--version Show version
|
|
340
|
+
|
|
341
|
+
ALIASES
|
|
342
|
+
$ aio app:config:set
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
_See code: [src/commands/app/config/set/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/config/set/index.ts)_
|
|
277
346
|
|
|
347
|
+
## `aio app:config:set:log-forwarding`
|
|
278
348
|
|
|
349
|
+
Set log forwarding destination configuration
|
|
350
|
+
|
|
351
|
+
```
|
|
352
|
+
USAGE
|
|
353
|
+
$ aio app:config:set:log-forwarding
|
|
354
|
+
|
|
355
|
+
OPTIONS
|
|
356
|
+
-v, --verbose Verbose output
|
|
357
|
+
--version Show version
|
|
358
|
+
|
|
359
|
+
ALIASES
|
|
360
|
+
$ aio app:config:set:log-forwarding
|
|
361
|
+
$ aio app:config:set:lf
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
_See code: [src/commands/app/config/set/log-forwarding.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/config/set/log-forwarding.ts)_
|
|
365
|
+
|
|
366
|
+
## `aio app:create [PATH]`
|
|
367
|
+
|
|
368
|
+
Create a new Adobe I/O App with default parameters
|
|
369
|
+
|
|
370
|
+
```
|
|
279
371
|
USAGE
|
|
280
372
|
$ aio app:create [PATH]
|
|
281
373
|
|
|
@@ -288,15 +380,13 @@ OPTIONS
|
|
|
288
380
|
--version Show version
|
|
289
381
|
```
|
|
290
382
|
|
|
291
|
-
_See code: [src/commands/app/create.
|
|
383
|
+
_See code: [src/commands/app/create.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/create.ts)_
|
|
292
384
|
|
|
293
385
|
## `aio app:delete`
|
|
294
386
|
|
|
295
387
|
Delete a component from an existing Adobe I/O App
|
|
296
388
|
|
|
297
389
|
```
|
|
298
|
-
Delete a component from an existing Adobe I/O App
|
|
299
|
-
|
|
300
390
|
USAGE
|
|
301
391
|
$ aio app:delete
|
|
302
392
|
|
|
@@ -305,16 +395,13 @@ OPTIONS
|
|
|
305
395
|
--version Show version
|
|
306
396
|
```
|
|
307
397
|
|
|
308
|
-
_See code: [src/commands/app/delete/index.
|
|
398
|
+
_See code: [src/commands/app/delete/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/delete/index.ts)_
|
|
309
399
|
|
|
310
400
|
## `aio app:delete:action [ACTION-NAME]`
|
|
311
401
|
|
|
312
402
|
Delete existing actions
|
|
313
403
|
|
|
314
404
|
```
|
|
315
|
-
Delete existing actions
|
|
316
|
-
|
|
317
|
-
|
|
318
405
|
USAGE
|
|
319
406
|
$ aio app:delete:action [ACTION-NAME]
|
|
320
407
|
|
|
@@ -330,16 +417,13 @@ ALIASES
|
|
|
330
417
|
$ aio app:delete:actions
|
|
331
418
|
```
|
|
332
419
|
|
|
333
|
-
_See code: [src/commands/app/delete/action.
|
|
420
|
+
_See code: [src/commands/app/delete/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/delete/action.ts)_
|
|
334
421
|
|
|
335
422
|
## `aio app:delete:ci`
|
|
336
423
|
|
|
337
424
|
Delete existing CI files
|
|
338
425
|
|
|
339
426
|
```
|
|
340
|
-
Delete existing CI files
|
|
341
|
-
|
|
342
|
-
|
|
343
427
|
USAGE
|
|
344
428
|
$ aio app:delete:ci
|
|
345
429
|
|
|
@@ -349,16 +433,13 @@ OPTIONS
|
|
|
349
433
|
--version Show version
|
|
350
434
|
```
|
|
351
435
|
|
|
352
|
-
_See code: [src/commands/app/delete/ci.
|
|
436
|
+
_See code: [src/commands/app/delete/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/delete/ci.ts)_
|
|
353
437
|
|
|
354
438
|
## `aio app:delete:event [EVENT-ACTION-NAME]`
|
|
355
439
|
|
|
356
440
|
Delete existing Adobe I/O Events actions
|
|
357
441
|
|
|
358
442
|
```
|
|
359
|
-
Delete existing Adobe I/O Events actions
|
|
360
|
-
|
|
361
|
-
|
|
362
443
|
USAGE
|
|
363
444
|
$ aio app:delete:event [EVENT-ACTION-NAME]
|
|
364
445
|
|
|
@@ -374,16 +455,13 @@ ALIASES
|
|
|
374
455
|
$ aio app:delete:events
|
|
375
456
|
```
|
|
376
457
|
|
|
377
|
-
_See code: [src/commands/app/delete/event.
|
|
458
|
+
_See code: [src/commands/app/delete/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/delete/event.ts)_
|
|
378
459
|
|
|
379
460
|
## `aio app:delete:extension`
|
|
380
461
|
|
|
381
462
|
Add new extensions or a standalone application to the project
|
|
382
463
|
|
|
383
464
|
```
|
|
384
|
-
Add new extensions or a standalone application to the project
|
|
385
|
-
|
|
386
|
-
|
|
387
465
|
USAGE
|
|
388
466
|
$ aio app:delete:extension
|
|
389
467
|
|
|
@@ -399,16 +477,13 @@ ALIASES
|
|
|
399
477
|
$ aio app:delete:extensions
|
|
400
478
|
```
|
|
401
479
|
|
|
402
|
-
_See code: [src/commands/app/delete/extension.
|
|
480
|
+
_See code: [src/commands/app/delete/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/delete/extension.ts)_
|
|
403
481
|
|
|
404
482
|
## `aio app:delete:service`
|
|
405
483
|
|
|
406
484
|
Delete Services in the current Workspace
|
|
407
485
|
|
|
408
486
|
```
|
|
409
|
-
Delete Services in the current Workspace
|
|
410
|
-
|
|
411
|
-
|
|
412
487
|
USAGE
|
|
413
488
|
$ aio app:delete:service
|
|
414
489
|
|
|
@@ -420,16 +495,13 @@ ALIASES
|
|
|
420
495
|
$ aio app:delete:services
|
|
421
496
|
```
|
|
422
497
|
|
|
423
|
-
_See code: [src/commands/app/delete/service.
|
|
498
|
+
_See code: [src/commands/app/delete/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/delete/service.ts)_
|
|
424
499
|
|
|
425
500
|
## `aio app:delete:web-assets`
|
|
426
501
|
|
|
427
502
|
Delete existing web assets
|
|
428
503
|
|
|
429
504
|
```
|
|
430
|
-
Delete existing web assets
|
|
431
|
-
|
|
432
|
-
|
|
433
505
|
USAGE
|
|
434
506
|
$ aio app:delete:web-assets
|
|
435
507
|
|
|
@@ -439,73 +511,68 @@ OPTIONS
|
|
|
439
511
|
--version Show version
|
|
440
512
|
```
|
|
441
513
|
|
|
442
|
-
_See code: [src/commands/app/delete/web-assets.
|
|
514
|
+
_See code: [src/commands/app/delete/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/delete/web-assets.ts)_
|
|
443
515
|
|
|
444
516
|
## `aio app:deploy`
|
|
445
517
|
|
|
446
518
|
Build and deploy an Adobe I/O App
|
|
447
519
|
|
|
448
520
|
```
|
|
449
|
-
Build and deploy an Adobe I/O App
|
|
450
|
-
|
|
451
|
-
This will always force a rebuild unless --no-force-build is set.
|
|
452
|
-
|
|
453
|
-
|
|
454
521
|
USAGE
|
|
455
522
|
$ aio app:deploy
|
|
456
523
|
|
|
457
524
|
OPTIONS
|
|
458
|
-
-a, --action=action
|
|
459
|
-
|
|
525
|
+
-a, --action=action Deploy only a specific action, the flags can be specified multiple times, this will set
|
|
526
|
+
--no-publish
|
|
460
527
|
|
|
461
|
-
-e, --extension=extension
|
|
528
|
+
-e, --extension=extension Deploy only a specific extension, the flags can be specified multiple times
|
|
462
529
|
|
|
463
|
-
-v, --verbose
|
|
530
|
+
-v, --verbose Verbose output
|
|
464
531
|
|
|
465
|
-
--[no-]actions
|
|
532
|
+
--[no-]actions [default: true] Deploy actions if any
|
|
466
533
|
|
|
467
|
-
--[no-]build
|
|
534
|
+
--[no-]build [default: true] Run the build phase before deployment
|
|
468
535
|
|
|
469
|
-
--[no-]content-hash
|
|
536
|
+
--[no-]content-hash [default: true] Enable content hashing in browser code
|
|
470
537
|
|
|
471
|
-
--[no-]force-build
|
|
538
|
+
--[no-]force-build [default: true] Force a build even if one already exists
|
|
472
539
|
|
|
473
|
-
--force-publish
|
|
540
|
+
--force-publish Force publish extension(s) to Exchange, delete previously published extension points
|
|
474
541
|
|
|
475
|
-
--
|
|
476
|
-
front-end
|
|
542
|
+
--[no-]log-forwarding-update [default: true] Update log forwarding configuration on server
|
|
477
543
|
|
|
478
|
-
--
|
|
544
|
+
--open Open the default web browser after a successful deploy, only valid if your app has a
|
|
545
|
+
front-end
|
|
479
546
|
|
|
480
|
-
--
|
|
547
|
+
--[no-]publish [default: true] Publish extension(s) to Exchange
|
|
481
548
|
|
|
482
|
-
--skip-
|
|
549
|
+
--skip-actions [deprecated] Please use --no-actions
|
|
483
550
|
|
|
484
|
-
--skip-
|
|
551
|
+
--skip-build [deprecated] Please use --no-build
|
|
485
552
|
|
|
486
|
-
--skip-
|
|
553
|
+
--skip-deploy [deprecated] Please use 'aio app build'
|
|
487
554
|
|
|
488
|
-
--skip-
|
|
555
|
+
--skip-static [deprecated] Please use --no-web-assets
|
|
489
556
|
|
|
490
|
-
--
|
|
557
|
+
--skip-web-assets [deprecated] Please use --no-web-assets
|
|
491
558
|
|
|
492
|
-
--
|
|
559
|
+
--version Show version
|
|
493
560
|
|
|
494
|
-
--web-
|
|
561
|
+
--[no-]web-assets [default: true] Deploy web-assets if any
|
|
562
|
+
|
|
563
|
+
--web-optimize [default: false] Enable optimization (minification) of web js/css/html
|
|
495
564
|
|
|
496
565
|
DESCRIPTION
|
|
497
566
|
This will always force a rebuild unless --no-force-build is set.
|
|
498
567
|
```
|
|
499
568
|
|
|
500
|
-
_See code: [src/commands/app/deploy.
|
|
569
|
+
_See code: [src/commands/app/deploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/deploy.ts)_
|
|
501
570
|
|
|
502
571
|
## `aio app:get-url [ACTION]`
|
|
503
572
|
|
|
504
573
|
Get action URLs
|
|
505
574
|
|
|
506
575
|
```
|
|
507
|
-
Get action URLs
|
|
508
|
-
|
|
509
576
|
USAGE
|
|
510
577
|
$ aio app:get-url [ACTION]
|
|
511
578
|
|
|
@@ -518,16 +585,13 @@ OPTIONS
|
|
|
518
585
|
--version Show version
|
|
519
586
|
```
|
|
520
587
|
|
|
521
|
-
_See code: [src/commands/app/get-url.
|
|
588
|
+
_See code: [src/commands/app/get-url.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/get-url.ts)_
|
|
522
589
|
|
|
523
590
|
## `aio app:info`
|
|
524
591
|
|
|
525
592
|
Display settings/configuration in use by an Adobe I/O App
|
|
526
593
|
|
|
527
594
|
```
|
|
528
|
-
Display settings/configuration in use by an Adobe I/O App
|
|
529
|
-
|
|
530
|
-
|
|
531
595
|
USAGE
|
|
532
596
|
$ aio app:info
|
|
533
597
|
|
|
@@ -540,16 +604,13 @@ OPTIONS
|
|
|
540
604
|
--version Show version
|
|
541
605
|
```
|
|
542
606
|
|
|
543
|
-
_See code: [src/commands/app/info.
|
|
607
|
+
_See code: [src/commands/app/info.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/info.ts)_
|
|
544
608
|
|
|
545
609
|
## `aio app:init [PATH]`
|
|
546
610
|
|
|
547
611
|
Create a new Adobe I/O App
|
|
548
612
|
|
|
549
613
|
```
|
|
550
|
-
Create a new Adobe I/O App
|
|
551
|
-
|
|
552
|
-
|
|
553
614
|
USAGE
|
|
554
615
|
$ aio app:init [PATH]
|
|
555
616
|
|
|
@@ -559,7 +620,7 @@ ARGUMENTS
|
|
|
559
620
|
OPTIONS
|
|
560
621
|
-e, --extension=extension Extension point(s) to implement
|
|
561
622
|
-i, --import=import Import an Adobe I/O Developer Console configuration file
|
|
562
|
-
-s, --skip-install
|
|
623
|
+
-s, --skip-install [deprecated] Please use --no-install
|
|
563
624
|
-v, --verbose Verbose output
|
|
564
625
|
|
|
565
626
|
-w, --workspace=workspace [default: Stage] Specify the Adobe Developer Console Workspace to init from, defaults to
|
|
@@ -567,22 +628,24 @@ OPTIONS
|
|
|
567
628
|
|
|
568
629
|
-y, --yes Skip questions, and use all default values
|
|
569
630
|
|
|
631
|
+
--confirm-new-workspace Skip and confirm prompt for creating a new workspace
|
|
632
|
+
|
|
570
633
|
--[no-]extensions Use --no-extensions to create a blank application that does not integrate with Exchange
|
|
571
634
|
|
|
635
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
636
|
+
|
|
572
637
|
--[no-]login Login using your Adobe ID for interacting with Adobe I/O Developer Console
|
|
573
638
|
|
|
574
639
|
--version Show version
|
|
575
640
|
```
|
|
576
641
|
|
|
577
|
-
_See code: [src/commands/app/init.
|
|
642
|
+
_See code: [src/commands/app/init.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/init.ts)_
|
|
578
643
|
|
|
579
644
|
## `aio app:list`
|
|
580
645
|
|
|
581
646
|
List components for Adobe I/O App
|
|
582
647
|
|
|
583
648
|
```
|
|
584
|
-
List components for Adobe I/O App
|
|
585
|
-
|
|
586
649
|
USAGE
|
|
587
650
|
$ aio app:list
|
|
588
651
|
|
|
@@ -591,16 +654,13 @@ OPTIONS
|
|
|
591
654
|
--version Show version
|
|
592
655
|
```
|
|
593
656
|
|
|
594
|
-
_See code: [src/commands/app/list/index.
|
|
657
|
+
_See code: [src/commands/app/list/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/list/index.ts)_
|
|
595
658
|
|
|
596
659
|
## `aio app:list:extension`
|
|
597
660
|
|
|
598
661
|
List implemented extensions
|
|
599
662
|
|
|
600
663
|
```
|
|
601
|
-
List implemented extensions
|
|
602
|
-
|
|
603
|
-
|
|
604
664
|
USAGE
|
|
605
665
|
$ aio app:list:extension
|
|
606
666
|
|
|
@@ -615,16 +675,13 @@ ALIASES
|
|
|
615
675
|
$ aio app:list:extensions
|
|
616
676
|
```
|
|
617
677
|
|
|
618
|
-
_See code: [src/commands/app/list/extension.
|
|
678
|
+
_See code: [src/commands/app/list/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/list/extension.ts)_
|
|
619
679
|
|
|
620
680
|
## `aio app:list:extension-points`
|
|
621
681
|
|
|
622
682
|
List all extension points for the selected org
|
|
623
683
|
|
|
624
684
|
```
|
|
625
|
-
List all extension points for the selected org
|
|
626
|
-
|
|
627
|
-
|
|
628
685
|
USAGE
|
|
629
686
|
$ aio app:list:extension-points
|
|
630
687
|
|
|
@@ -639,16 +696,13 @@ ALIASES
|
|
|
639
696
|
$ aio app:list:extension-points
|
|
640
697
|
```
|
|
641
698
|
|
|
642
|
-
_See code: [src/commands/app/list/extension-points.
|
|
699
|
+
_See code: [src/commands/app/list/extension-points.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/list/extension-points.ts)_
|
|
643
700
|
|
|
644
701
|
## `aio app:logs`
|
|
645
702
|
|
|
646
703
|
Fetch logs for an Adobe I/O App
|
|
647
704
|
|
|
648
705
|
```
|
|
649
|
-
Fetch logs for an Adobe I/O App
|
|
650
|
-
|
|
651
|
-
|
|
652
706
|
USAGE
|
|
653
707
|
$ aio app:logs
|
|
654
708
|
|
|
@@ -663,15 +717,13 @@ OPTIONS
|
|
|
663
717
|
--version Show version
|
|
664
718
|
```
|
|
665
719
|
|
|
666
|
-
_See code: [src/commands/app/logs.
|
|
720
|
+
_See code: [src/commands/app/logs.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/logs.ts)_
|
|
667
721
|
|
|
668
722
|
## `aio app:run`
|
|
669
723
|
|
|
670
724
|
Run an Adobe I/O App
|
|
671
725
|
|
|
672
726
|
```
|
|
673
|
-
Run an Adobe I/O App
|
|
674
|
-
|
|
675
727
|
USAGE
|
|
676
728
|
$ aio app:run
|
|
677
729
|
|
|
@@ -686,22 +738,13 @@ OPTIONS
|
|
|
686
738
|
--version Show version
|
|
687
739
|
```
|
|
688
740
|
|
|
689
|
-
_See code: [src/commands/app/run.
|
|
741
|
+
_See code: [src/commands/app/run.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/run.ts)_
|
|
690
742
|
|
|
691
743
|
## `aio app:test`
|
|
692
744
|
|
|
693
745
|
Run tests for an Adobe I/O App
|
|
694
746
|
|
|
695
747
|
```
|
|
696
|
-
Run tests for an Adobe I/O App
|
|
697
|
-
If no flags are specified, by default only unit-tests are run.
|
|
698
|
-
|
|
699
|
-
For the --action flag, it tries a substring search on the 'package-name/action-name' pair for an action.
|
|
700
|
-
For the --extension flag, it tries a substring search on the 'extension-name' only.
|
|
701
|
-
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
748
|
USAGE
|
|
706
749
|
$ aio app:test
|
|
707
750
|
|
|
@@ -720,16 +763,13 @@ DESCRIPTION
|
|
|
720
763
|
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
721
764
|
```
|
|
722
765
|
|
|
723
|
-
_See code: [src/commands/app/test.
|
|
766
|
+
_See code: [src/commands/app/test.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/test.ts)_
|
|
724
767
|
|
|
725
768
|
## `aio app:undeploy`
|
|
726
769
|
|
|
727
770
|
Undeploys an Adobe I/O App
|
|
728
771
|
|
|
729
772
|
```
|
|
730
|
-
Undeploys an Adobe I/O App
|
|
731
|
-
|
|
732
|
-
|
|
733
773
|
USAGE
|
|
734
774
|
$ aio app:undeploy
|
|
735
775
|
|
|
@@ -746,22 +786,13 @@ OPTIONS
|
|
|
746
786
|
--[no-]web-assets [default: true] Undeploy web-assets if any
|
|
747
787
|
```
|
|
748
788
|
|
|
749
|
-
_See code: [src/commands/app/undeploy.
|
|
789
|
+
_See code: [src/commands/app/undeploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/undeploy.ts)_
|
|
750
790
|
|
|
751
791
|
## `aio app:use [CONFIG_FILE_PATH]`
|
|
752
792
|
|
|
753
793
|
Import an Adobe Developer Console configuration file.
|
|
754
794
|
|
|
755
795
|
```
|
|
756
|
-
Import an Adobe Developer Console configuration file.
|
|
757
|
-
|
|
758
|
-
If the optional configuration file is not set, this command will retrieve the console org, project, and workspace settings from the global config.
|
|
759
|
-
|
|
760
|
-
To set these global config values, see the help text for 'aio console --help'.
|
|
761
|
-
|
|
762
|
-
To download the configuration file for your project, select the 'Download' button in the toolbar of your project's page in https://console.adobe.io
|
|
763
|
-
|
|
764
|
-
|
|
765
796
|
USAGE
|
|
766
797
|
$ aio app:use [CONFIG_FILE_PATH]
|
|
767
798
|
|
|
@@ -774,11 +805,13 @@ OPTIONS
|
|
|
774
805
|
|
|
775
806
|
-v, --verbose Verbose output
|
|
776
807
|
|
|
777
|
-
-w, --workspace=workspace Specify the Adobe Developer Console Workspace name to import the
|
|
778
|
-
from
|
|
808
|
+
-w, --workspace=workspace Specify the Adobe Developer Console Workspace name or Workspace id to import the
|
|
809
|
+
configuration from
|
|
779
810
|
|
|
780
811
|
-w, --workspace-name=workspace-name [DEPRECATED]: please use --workspace instead
|
|
781
812
|
|
|
813
|
+
--confirm-new-workspace Skip and confirm prompt for creating a new workspace
|
|
814
|
+
|
|
782
815
|
--confirm-service-sync Skip the Service sync prompt and overwrite Service subscriptions in the new
|
|
783
816
|
Workspace with current subscriptions
|
|
784
817
|
|
|
@@ -806,5 +839,5 @@ DESCRIPTION
|
|
|
806
839
|
page in https://console.adobe.io
|
|
807
840
|
```
|
|
808
841
|
|
|
809
|
-
_See code: [src/commands/app/use.
|
|
842
|
+
_See code: [src/commands/app/use.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.5.0/src/commands/app/use.ts)_
|
|
810
843
|
<!-- commandsstop -->
|