@adobe/aio-cli-plugin-app 8.1.0-next.0 → 8.1.1-next.2
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
CHANGED
|
@@ -71,7 +71,7 @@ OPTIONS
|
|
|
71
71
|
--version Show version
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
74
|
+
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/index.js)_
|
|
75
75
|
|
|
76
76
|
## `aio app:add`
|
|
77
77
|
|
|
@@ -88,7 +88,7 @@ OPTIONS
|
|
|
88
88
|
--version Show version
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
_See code: [src/commands/app/add/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
91
|
+
_See code: [src/commands/app/add/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/add/index.js)_
|
|
92
92
|
|
|
93
93
|
## `aio app:add:action`
|
|
94
94
|
|
|
@@ -112,7 +112,7 @@ ALIASES
|
|
|
112
112
|
$ aio app:add:actions
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
_See code: [src/commands/app/add/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
115
|
+
_See code: [src/commands/app/add/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/add/action.js)_
|
|
116
116
|
|
|
117
117
|
## `aio app:add:ci`
|
|
118
118
|
|
|
@@ -130,7 +130,7 @@ OPTIONS
|
|
|
130
130
|
--version Show version
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
-
_See code: [src/commands/app/add/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
133
|
+
_See code: [src/commands/app/add/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/add/ci.js)_
|
|
134
134
|
|
|
135
135
|
## `aio app:add:event`
|
|
136
136
|
|
|
@@ -154,7 +154,7 @@ ALIASES
|
|
|
154
154
|
$ aio app:add:events
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
-
_See code: [src/commands/app/add/event.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
157
|
+
_See code: [src/commands/app/add/event.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/add/event.js)_
|
|
158
158
|
|
|
159
159
|
## `aio app:add:extension`
|
|
160
160
|
|
|
@@ -179,7 +179,7 @@ ALIASES
|
|
|
179
179
|
$ aio app:add:extensions
|
|
180
180
|
```
|
|
181
181
|
|
|
182
|
-
_See code: [src/commands/app/add/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
182
|
+
_See code: [src/commands/app/add/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/add/extension.js)_
|
|
183
183
|
|
|
184
184
|
## `aio app:add:service`
|
|
185
185
|
|
|
@@ -200,7 +200,7 @@ ALIASES
|
|
|
200
200
|
$ aio app:add:services
|
|
201
201
|
```
|
|
202
202
|
|
|
203
|
-
_See code: [src/commands/app/add/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
203
|
+
_See code: [src/commands/app/add/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/add/service.js)_
|
|
204
204
|
|
|
205
205
|
## `aio app:add:web-assets`
|
|
206
206
|
|
|
@@ -221,7 +221,7 @@ OPTIONS
|
|
|
221
221
|
--version Show version
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
-
_See code: [src/commands/app/add/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
224
|
+
_See code: [src/commands/app/add/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/add/web-assets.js)_
|
|
225
225
|
|
|
226
226
|
## `aio app:build`
|
|
227
227
|
|
|
@@ -260,11 +260,13 @@ OPTIONS
|
|
|
260
260
|
|
|
261
261
|
--[no-]web-assets [default: true] Build web-assets if any
|
|
262
262
|
|
|
263
|
+
--web-optimize [default: false] Enable optimization (minification) of js/css/html
|
|
264
|
+
|
|
263
265
|
DESCRIPTION
|
|
264
266
|
This will always force a rebuild unless --no-force-build is set.
|
|
265
267
|
```
|
|
266
268
|
|
|
267
|
-
_See code: [src/commands/app/build.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
269
|
+
_See code: [src/commands/app/build.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/build.js)_
|
|
268
270
|
|
|
269
271
|
## `aio app:create [PATH]`
|
|
270
272
|
|
|
@@ -286,7 +288,7 @@ OPTIONS
|
|
|
286
288
|
--version Show version
|
|
287
289
|
```
|
|
288
290
|
|
|
289
|
-
_See code: [src/commands/app/create.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
291
|
+
_See code: [src/commands/app/create.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/create.js)_
|
|
290
292
|
|
|
291
293
|
## `aio app:delete`
|
|
292
294
|
|
|
@@ -303,7 +305,7 @@ OPTIONS
|
|
|
303
305
|
--version Show version
|
|
304
306
|
```
|
|
305
307
|
|
|
306
|
-
_See code: [src/commands/app/delete/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
308
|
+
_See code: [src/commands/app/delete/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/delete/index.js)_
|
|
307
309
|
|
|
308
310
|
## `aio app:delete:action [ACTION-NAME]`
|
|
309
311
|
|
|
@@ -328,7 +330,7 @@ ALIASES
|
|
|
328
330
|
$ aio app:delete:actions
|
|
329
331
|
```
|
|
330
332
|
|
|
331
|
-
_See code: [src/commands/app/delete/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
333
|
+
_See code: [src/commands/app/delete/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/delete/action.js)_
|
|
332
334
|
|
|
333
335
|
## `aio app:delete:ci`
|
|
334
336
|
|
|
@@ -347,7 +349,7 @@ OPTIONS
|
|
|
347
349
|
--version Show version
|
|
348
350
|
```
|
|
349
351
|
|
|
350
|
-
_See code: [src/commands/app/delete/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
352
|
+
_See code: [src/commands/app/delete/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/delete/ci.js)_
|
|
351
353
|
|
|
352
354
|
## `aio app:delete:event [EVENT-ACTION-NAME]`
|
|
353
355
|
|
|
@@ -372,7 +374,7 @@ ALIASES
|
|
|
372
374
|
$ aio app:delete:events
|
|
373
375
|
```
|
|
374
376
|
|
|
375
|
-
_See code: [src/commands/app/delete/event.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
377
|
+
_See code: [src/commands/app/delete/event.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/delete/event.js)_
|
|
376
378
|
|
|
377
379
|
## `aio app:delete:extension`
|
|
378
380
|
|
|
@@ -397,7 +399,7 @@ ALIASES
|
|
|
397
399
|
$ aio app:delete:extensions
|
|
398
400
|
```
|
|
399
401
|
|
|
400
|
-
_See code: [src/commands/app/delete/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
402
|
+
_See code: [src/commands/app/delete/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/delete/extension.js)_
|
|
401
403
|
|
|
402
404
|
## `aio app:delete:service`
|
|
403
405
|
|
|
@@ -418,7 +420,7 @@ ALIASES
|
|
|
418
420
|
$ aio app:delete:services
|
|
419
421
|
```
|
|
420
422
|
|
|
421
|
-
_See code: [src/commands/app/delete/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
423
|
+
_See code: [src/commands/app/delete/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/delete/service.js)_
|
|
422
424
|
|
|
423
425
|
## `aio app:delete:web-assets`
|
|
424
426
|
|
|
@@ -437,7 +439,7 @@ OPTIONS
|
|
|
437
439
|
--version Show version
|
|
438
440
|
```
|
|
439
441
|
|
|
440
|
-
_See code: [src/commands/app/delete/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
442
|
+
_See code: [src/commands/app/delete/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/delete/web-assets.js)_
|
|
441
443
|
|
|
442
444
|
## `aio app:deploy`
|
|
443
445
|
|
|
@@ -489,11 +491,13 @@ OPTIONS
|
|
|
489
491
|
|
|
490
492
|
--[no-]web-assets [default: true] Deploy web-assets if any
|
|
491
493
|
|
|
494
|
+
--web-optimize [default: false] Enable optimization (minification) of web js/css/html
|
|
495
|
+
|
|
492
496
|
DESCRIPTION
|
|
493
497
|
This will always force a rebuild unless --no-force-build is set.
|
|
494
498
|
```
|
|
495
499
|
|
|
496
|
-
_See code: [src/commands/app/deploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
500
|
+
_See code: [src/commands/app/deploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/deploy.js)_
|
|
497
501
|
|
|
498
502
|
## `aio app:get-url [ACTION]`
|
|
499
503
|
|
|
@@ -514,7 +518,7 @@ OPTIONS
|
|
|
514
518
|
--version Show version
|
|
515
519
|
```
|
|
516
520
|
|
|
517
|
-
_See code: [src/commands/app/get-url.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
521
|
+
_See code: [src/commands/app/get-url.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/get-url.js)_
|
|
518
522
|
|
|
519
523
|
## `aio app:info`
|
|
520
524
|
|
|
@@ -536,7 +540,7 @@ OPTIONS
|
|
|
536
540
|
--version Show version
|
|
537
541
|
```
|
|
538
542
|
|
|
539
|
-
_See code: [src/commands/app/info.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
543
|
+
_See code: [src/commands/app/info.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/info.js)_
|
|
540
544
|
|
|
541
545
|
## `aio app:init [PATH]`
|
|
542
546
|
|
|
@@ -570,7 +574,7 @@ OPTIONS
|
|
|
570
574
|
--version Show version
|
|
571
575
|
```
|
|
572
576
|
|
|
573
|
-
_See code: [src/commands/app/init.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
577
|
+
_See code: [src/commands/app/init.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/init.js)_
|
|
574
578
|
|
|
575
579
|
## `aio app:list`
|
|
576
580
|
|
|
@@ -587,7 +591,7 @@ OPTIONS
|
|
|
587
591
|
--version Show version
|
|
588
592
|
```
|
|
589
593
|
|
|
590
|
-
_See code: [src/commands/app/list/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
594
|
+
_See code: [src/commands/app/list/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/list/index.js)_
|
|
591
595
|
|
|
592
596
|
## `aio app:list:extension`
|
|
593
597
|
|
|
@@ -611,7 +615,7 @@ ALIASES
|
|
|
611
615
|
$ aio app:list:extensions
|
|
612
616
|
```
|
|
613
617
|
|
|
614
|
-
_See code: [src/commands/app/list/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
618
|
+
_See code: [src/commands/app/list/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/list/extension.js)_
|
|
615
619
|
|
|
616
620
|
## `aio app:list:extension-points`
|
|
617
621
|
|
|
@@ -635,7 +639,7 @@ ALIASES
|
|
|
635
639
|
$ aio app:list:extension-points
|
|
636
640
|
```
|
|
637
641
|
|
|
638
|
-
_See code: [src/commands/app/list/extension-points.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
642
|
+
_See code: [src/commands/app/list/extension-points.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/list/extension-points.js)_
|
|
639
643
|
|
|
640
644
|
## `aio app:logs`
|
|
641
645
|
|
|
@@ -659,7 +663,7 @@ OPTIONS
|
|
|
659
663
|
--version Show version
|
|
660
664
|
```
|
|
661
665
|
|
|
662
|
-
_See code: [src/commands/app/logs.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
666
|
+
_See code: [src/commands/app/logs.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/logs.js)_
|
|
663
667
|
|
|
664
668
|
## `aio app:run`
|
|
665
669
|
|
|
@@ -682,7 +686,7 @@ OPTIONS
|
|
|
682
686
|
--version Show version
|
|
683
687
|
```
|
|
684
688
|
|
|
685
|
-
_See code: [src/commands/app/run.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
689
|
+
_See code: [src/commands/app/run.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/run.js)_
|
|
686
690
|
|
|
687
691
|
## `aio app:test`
|
|
688
692
|
|
|
@@ -716,7 +720,7 @@ DESCRIPTION
|
|
|
716
720
|
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
717
721
|
```
|
|
718
722
|
|
|
719
|
-
_See code: [src/commands/app/test.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
723
|
+
_See code: [src/commands/app/test.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/test.js)_
|
|
720
724
|
|
|
721
725
|
## `aio app:undeploy`
|
|
722
726
|
|
|
@@ -742,7 +746,7 @@ OPTIONS
|
|
|
742
746
|
--[no-]web-assets [default: true] Undeploy web-assets if any
|
|
743
747
|
```
|
|
744
748
|
|
|
745
|
-
_See code: [src/commands/app/undeploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
749
|
+
_See code: [src/commands/app/undeploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/undeploy.js)_
|
|
746
750
|
|
|
747
751
|
## `aio app:use [CONFIG_FILE_PATH]`
|
|
748
752
|
|
|
@@ -802,5 +806,5 @@ DESCRIPTION
|
|
|
802
806
|
page in https://console.adobe.io
|
|
803
807
|
```
|
|
804
808
|
|
|
805
|
-
_See code: [src/commands/app/use.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.
|
|
809
|
+
_See code: [src/commands/app/use.js](https://github.com/adobe/aio-cli-plugin-app/blob/8.1.1-next.2/src/commands/app/use.js)_
|
|
806
810
|
<!-- commandsstop -->
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"image": {
|
|
8
8
|
"prefix": "adobeapiplatform",
|
|
9
9
|
"name": "adobe-action-nodejs-v14",
|
|
10
|
-
"tag": "3.0.
|
|
10
|
+
"tag": "3.0.28"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"image": {
|
|
16
16
|
"prefix": "adobeapiplatform",
|
|
17
17
|
"name": "adobe-action-nodejs-v12",
|
|
18
|
-
"tag": "3.0.
|
|
18
|
+
"tag": "3.0.28"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
{
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"image": {
|
|
24
24
|
"prefix": "adobeapiplatform",
|
|
25
25
|
"name": "adobe-action-nodejs-v10",
|
|
26
|
-
"tag": "3.0.
|
|
26
|
+
"tag": "3.0.28"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
]
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"8.1.0-next.0","commands":{"app:build":{"id":"app:build","description":"Build an Adobe I/O App\n\nThis will always force a rebuild unless --no-force-build is set.\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Build actions if any","allowNo":true},"action":{"name":"action","type":"option","char":"a","description":"Build only a specific action, the flags can be specified multiple times, this will set --no-publish"},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Build web-assets if any","allowNo":true},"force-build":{"name":"force-build","type":"boolean","description":"[default: true] Force a build even if one already exists","allowNo":true},"content-hash":{"name":"content-hash","type":"boolean","description":"[default: true] Enable content hashing in browser code","allowNo":true},"extension":{"name":"extension","type":"option","char":"e","description":"Build only a specific extension point, the flags can be specified multiple times"}},"args":[]},"app:create":{"id":"app:create","description":"Create a new Adobe I/O App with default parameters\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"import":{"name":"import","type":"option","char":"i","description":"Import an Adobe I/O Developer Console configuration file"}},"args":[{"name":"path","description":"Path to the app directory","default":"."}]},"app:deploy":{"id":"app:deploy","description":"Build and deploy an Adobe I/O App\n\nThis will always force a rebuild unless --no-force-build is set.\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-build":{"name":"skip-build","type":"boolean","description":"[deprecated] Please use --no-build","allowNo":false},"skip-deploy":{"name":"skip-deploy","type":"boolean","description":"[deprecated] Please use 'aio app build'","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Deploy actions if any","allowNo":true},"action":{"name":"action","type":"option","char":"a","description":"Deploy only a specific action, the flags can be specified multiple times, this will set --no-publish"},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Deploy web-assets if any","allowNo":true},"build":{"name":"build","type":"boolean","description":"[default: true] Run the build phase before deployment","allowNo":true},"force-build":{"name":"force-build","type":"boolean","description":"[default: true] Force a build even if one already exists","allowNo":true},"content-hash":{"name":"content-hash","type":"boolean","description":"[default: true] Enable content hashing in browser code","allowNo":true},"open":{"name":"open","type":"boolean","description":"Open the default web browser after a successful deploy, only valid if your app has a front-end","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Deploy only a specific extension, the flags can be specified multiple times"},"publish":{"name":"publish","type":"boolean","description":"[default: true] Publish extension(s) to Exchange","allowNo":true},"force-publish":{"name":"force-publish","type":"boolean","description":"Force publish extension(s) to Exchange, delete previously published extension points","allowNo":false}},"args":[]},"app:get-url":{"id":"app:get-url","description":"Get action URLs","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"cdn":{"name":"cdn","type":"boolean","description":"Display CDN based action URLs","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"hson":{"name":"hson","type":"boolean","char":"h","description":"Output human readable json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[{"name":"action"}]},"app":{"id":"app","description":"Create, run, test, and deploy Adobe I/O Apps","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:info":{"id":"app:info","description":"Display settings/configuration in use by an Adobe I/O App\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"hson":{"name":"hson","type":"boolean","char":"h","description":"Output human readable json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false},"mask":{"name":"mask","type":"boolean","description":"Hide known private info","allowNo":true}},"args":[]},"app:init":{"id":"app:init","description":"Create a new Adobe I/O App\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"Skip npm installation after files are created","allowNo":false},"import":{"name":"import","type":"option","char":"i","description":"Import an Adobe I/O Developer Console configuration file"},"login":{"name":"login","type":"boolean","description":"Login using your Adobe ID for interacting with Adobe I/O Developer Console","allowNo":true},"extensions":{"name":"extensions","type":"boolean","description":"Use --no-extensions to create a blank application that does not integrate with Exchange","allowNo":true},"extension":{"name":"extension","type":"option","char":"e","description":"Extension point(s) to implement"},"workspace":{"name":"workspace","type":"option","char":"w","description":"Specify the Adobe Developer Console Workspace to init from, defaults to Stage","default":"Stage"}},"args":[{"name":"path","description":"Path to the app directory","default":"."}]},"app:logs":{"id":"app:logs","description":"Fetch logs for an Adobe I/O App\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"limit":{"name":"limit","type":"option","char":"l","description":"Limit number of activations to fetch logs from ( 1-50 )","default":1},"action":{"name":"action","type":"option","char":"a","description":"Fetch logs for a specific action"},"strip":{"name":"strip","type":"boolean","char":"r","description":"strip timestamp information and output first line only","allowNo":false},"tail":{"name":"tail","type":"boolean","char":"t","description":"Fetch logs continuously","allowNo":false},"watch":{"name":"watch","type":"boolean","char":"w","description":"Fetch logs continuously","allowNo":false},"poll":{"name":"poll","type":"boolean","char":"o","description":"Fetch logs continuously","allowNo":false}},"args":[]},"app:run":{"id":"app:run","description":"Run an Adobe I/O App","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run/debug actions locally ( requires Docker running )","allowNo":false},"serve":{"name":"serve","type":"boolean","description":"[default: true] Start frontend server (experimental)","allowNo":true},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Run actions, defaults to true, to skip actions use --no-actions","allowNo":true},"open":{"name":"open","type":"boolean","description":"Open the default web browser after a successful run, only valid if your app has a front-end","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Run only a specific extension, this flag can only be specified once"}},"args":[]},"app:test":{"id":"app:test","description":"Run tests for an Adobe I/O App\nIf no flags are specified, by default only unit-tests are run.\n\nFor the --action flag, it tries a substring search on the 'package-name/action-name' pair for an action.\nFor the --extension flag, it tries a substring search on the 'extension-name' only.\nIf the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.\n\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"extension":{"name":"extension","type":"option","char":"e","description":"the extension(s) to test"},"action":{"name":"action","type":"option","char":"a","description":"the action(s) to test"},"all":{"name":"all","type":"boolean","description":"run both unit and e2e tests","allowNo":false},"e2e":{"name":"e2e","type":"boolean","description":"run e2e tests","allowNo":false},"unit":{"name":"unit","type":"boolean","description":"run unit tests","allowNo":false}},"args":[]},"app:undeploy":{"id":"app:undeploy","description":"Undeploys an Adobe I/O App\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Undeploy actions if any","allowNo":true},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Undeploy web-assets if any","allowNo":true},"extension":{"name":"extension","type":"option","char":"e","description":"Undeploy only a specific extension, the flags can be specified multiple times"},"unpublish":{"name":"unpublish","type":"boolean","description":"[default: true] Unpublish selected extension(s) from Exchange","allowNo":true},"force-unpublish":{"name":"force-unpublish","type":"boolean","description":"Force unpublish extension(s) from Exchange, will delete all extension points","allowNo":false}},"args":[]},"app:use":{"id":"app:use","description":"Import an Adobe Developer Console configuration file.\n\nIf the optional configuration file is not set, this command will retrieve the console org, project, and workspace settings from the global config.\n\nTo set these global config values, see the help text for 'aio console --help'.\n\nTo download the configuration file for your project, select the 'Download' button in the toolbar of your project's page in https://console.adobe.io\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"overwrite":{"name":"overwrite","type":"boolean","description":"Overwrite any .aio and .env files during import of the Adobe Developer Console configuration file","allowNo":false},"merge":{"name":"merge","type":"boolean","description":"Merge any .aio and .env files during import of the Adobe Developer Console configuration file","allowNo":false},"global":{"name":"global","type":"boolean","char":"g","description":"Use the global Adobe Developer Console Org / Project / Workspace configuration, which can be set via `aio console` commands","allowNo":false},"workspace":{"name":"workspace","type":"option","char":"w","description":"Specify the Adobe Developer Console Workspace name to import the configuration from","default":""},"workspace-name":{"name":"workspace-name","type":"option","char":"w","description":"[DEPRECATED]: please use --workspace instead","default":""},"no-service-sync":{"name":"no-service-sync","type":"boolean","description":"Skip the Service sync prompt and do not attach current Service subscriptions to the new Workspace","allowNo":false},"confirm-service-sync":{"name":"confirm-service-sync","type":"boolean","description":"Skip the Service sync prompt and overwrite Service subscriptions in the new Workspace with current subscriptions","allowNo":false},"no-input":{"name":"no-input","type":"boolean","description":"Skip user prompts by setting --no-service-sync and --merge. Requires one of config_file_path or --global or --workspace","allowNo":false}},"args":[{"name":"config_file_path","description":"path to an Adobe I/O Developer Console configuration file","required":false}]},"app:add:action":{"id":"app:add:action","description":"Add new actions\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:actions"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:ci":{"id":"app:add:ci","description":"Add CI files\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:event":{"id":"app:add:event","description":"Add a new Adobe I/O Events action\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:events"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:extension":{"id":"app:add:extension","description":"Add new extensions or a standalone application to the project\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:ext","app:add:extensions"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to add, skips selection prompt"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add":{"id":"app:add","description":"Add a new component to an existing Adobe I/O App","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:service":{"id":"app:add:service","description":"Subscribe to Services in the current Workspace\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:services"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:web-assets":{"id":"app:add:web-assets","description":"Add web assets support\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add web-assets to a specific extension"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:action":{"id":"app:delete:action","description":"Delete existing actions\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:actions"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[{"name":"action-name","description":"Action `pkg/name` to delete, you can specify multiple actions via a comma separated list","required":false,"default":""}]},"app:delete:ci":{"id":"app:delete:ci","description":"Delete existing CI files\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:event":{"id":"app:delete:event","description":"Delete existing Adobe I/O Events actions\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:events"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[{"name":"event-action-name","description":"Action `pkg/name` to delete, you can specify multiple actions via a comma separated list","required":false}]},"app:delete:extension":{"id":"app:delete:extension","description":"Add new extensions or a standalone application to the project\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:ext","app:delete:extensions"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to delete, skips selection prompt"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete":{"id":"app:delete","description":"Delete a component from an existing Adobe I/O App","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:service":{"id":"app:delete:service","description":"Delete Services in the current Workspace\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:services"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:web-assets":{"id":"app:delete:web-assets","description":"Delete existing web assets\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:list:extension-points":{"id":"app:list:extension-points","description":"List all extension points for the selected org\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:list:ext-points","app:list:extension-points"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[]},"app:list:extension":{"id":"app:list:extension","description":"List implemented extensions\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:list:ext","app:list:extensions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[]},"app:list":{"id":"app:list","description":"List components for Adobe I/O App","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]}}}
|
|
1
|
+
{"version":"8.1.1-next.2","commands":{"app:build":{"id":"app:build","description":"Build an Adobe I/O App\n\nThis will always force a rebuild unless --no-force-build is set.\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Build actions if any","allowNo":true},"action":{"name":"action","type":"option","char":"a","description":"Build only a specific action, the flags can be specified multiple times, this will set --no-publish"},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Build web-assets if any","allowNo":true},"force-build":{"name":"force-build","type":"boolean","description":"[default: true] Force a build even if one already exists","allowNo":true},"content-hash":{"name":"content-hash","type":"boolean","description":"[default: true] Enable content hashing in browser code","allowNo":true},"web-optimize":{"name":"web-optimize","type":"boolean","description":"[default: false] Enable optimization (minification) of js/css/html","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Build only a specific extension point, the flags can be specified multiple times"}},"args":[]},"app:create":{"id":"app:create","description":"Create a new Adobe I/O App with default parameters\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"import":{"name":"import","type":"option","char":"i","description":"Import an Adobe I/O Developer Console configuration file"}},"args":[{"name":"path","description":"Path to the app directory","default":"."}]},"app:deploy":{"id":"app:deploy","description":"Build and deploy an Adobe I/O App\n\nThis will always force a rebuild unless --no-force-build is set.\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-build":{"name":"skip-build","type":"boolean","description":"[deprecated] Please use --no-build","allowNo":false},"skip-deploy":{"name":"skip-deploy","type":"boolean","description":"[deprecated] Please use 'aio app build'","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Deploy actions if any","allowNo":true},"action":{"name":"action","type":"option","char":"a","description":"Deploy only a specific action, the flags can be specified multiple times, this will set --no-publish"},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Deploy web-assets if any","allowNo":true},"build":{"name":"build","type":"boolean","description":"[default: true] Run the build phase before deployment","allowNo":true},"force-build":{"name":"force-build","type":"boolean","description":"[default: true] Force a build even if one already exists","allowNo":true},"content-hash":{"name":"content-hash","type":"boolean","description":"[default: true] Enable content hashing in browser code","allowNo":true},"open":{"name":"open","type":"boolean","description":"Open the default web browser after a successful deploy, only valid if your app has a front-end","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Deploy only a specific extension, the flags can be specified multiple times"},"publish":{"name":"publish","type":"boolean","description":"[default: true] Publish extension(s) to Exchange","allowNo":true},"force-publish":{"name":"force-publish","type":"boolean","description":"Force publish extension(s) to Exchange, delete previously published extension points","allowNo":false},"web-optimize":{"name":"web-optimize","type":"boolean","description":"[default: false] Enable optimization (minification) of web js/css/html","allowNo":false}},"args":[]},"app:get-url":{"id":"app:get-url","description":"Get action URLs","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"cdn":{"name":"cdn","type":"boolean","description":"Display CDN based action URLs","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"hson":{"name":"hson","type":"boolean","char":"h","description":"Output human readable json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[{"name":"action"}]},"app":{"id":"app","description":"Create, run, test, and deploy Adobe I/O Apps","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:info":{"id":"app:info","description":"Display settings/configuration in use by an Adobe I/O App\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"hson":{"name":"hson","type":"boolean","char":"h","description":"Output human readable json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false},"mask":{"name":"mask","type":"boolean","description":"Hide known private info","allowNo":true}},"args":[]},"app:init":{"id":"app:init","description":"Create a new Adobe I/O App\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"Skip npm installation after files are created","allowNo":false},"import":{"name":"import","type":"option","char":"i","description":"Import an Adobe I/O Developer Console configuration file"},"login":{"name":"login","type":"boolean","description":"Login using your Adobe ID for interacting with Adobe I/O Developer Console","allowNo":true},"extensions":{"name":"extensions","type":"boolean","description":"Use --no-extensions to create a blank application that does not integrate with Exchange","allowNo":true},"extension":{"name":"extension","type":"option","char":"e","description":"Extension point(s) to implement"},"workspace":{"name":"workspace","type":"option","char":"w","description":"Specify the Adobe Developer Console Workspace to init from, defaults to Stage","default":"Stage"}},"args":[{"name":"path","description":"Path to the app directory","default":"."}]},"app:logs":{"id":"app:logs","description":"Fetch logs for an Adobe I/O App\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"limit":{"name":"limit","type":"option","char":"l","description":"Limit number of activations to fetch logs from ( 1-50 )","default":1},"action":{"name":"action","type":"option","char":"a","description":"Fetch logs for a specific action"},"strip":{"name":"strip","type":"boolean","char":"r","description":"strip timestamp information and output first line only","allowNo":false},"tail":{"name":"tail","type":"boolean","char":"t","description":"Fetch logs continuously","allowNo":false},"watch":{"name":"watch","type":"boolean","char":"w","description":"Fetch logs continuously","allowNo":false},"poll":{"name":"poll","type":"boolean","char":"o","description":"Fetch logs continuously","allowNo":false}},"args":[]},"app:run":{"id":"app:run","description":"Run an Adobe I/O App","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run/debug actions locally ( requires Docker running )","allowNo":false},"serve":{"name":"serve","type":"boolean","description":"[default: true] Start frontend server (experimental)","allowNo":true},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Run actions, defaults to true, to skip actions use --no-actions","allowNo":true},"open":{"name":"open","type":"boolean","description":"Open the default web browser after a successful run, only valid if your app has a front-end","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Run only a specific extension, this flag can only be specified once"}},"args":[]},"app:test":{"id":"app:test","description":"Run tests for an Adobe I/O App\nIf no flags are specified, by default only unit-tests are run.\n\nFor the --action flag, it tries a substring search on the 'package-name/action-name' pair for an action.\nFor the --extension flag, it tries a substring search on the 'extension-name' only.\nIf the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.\n\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"extension":{"name":"extension","type":"option","char":"e","description":"the extension(s) to test"},"action":{"name":"action","type":"option","char":"a","description":"the action(s) to test"},"all":{"name":"all","type":"boolean","description":"run both unit and e2e tests","allowNo":false},"e2e":{"name":"e2e","type":"boolean","description":"run e2e tests","allowNo":false},"unit":{"name":"unit","type":"boolean","description":"run unit tests","allowNo":false}},"args":[]},"app:undeploy":{"id":"app:undeploy","description":"Undeploys an Adobe I/O App\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Undeploy actions if any","allowNo":true},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Undeploy web-assets if any","allowNo":true},"extension":{"name":"extension","type":"option","char":"e","description":"Undeploy only a specific extension, the flags can be specified multiple times"},"unpublish":{"name":"unpublish","type":"boolean","description":"[default: true] Unpublish selected extension(s) from Exchange","allowNo":true},"force-unpublish":{"name":"force-unpublish","type":"boolean","description":"Force unpublish extension(s) from Exchange, will delete all extension points","allowNo":false}},"args":[]},"app:use":{"id":"app:use","description":"Import an Adobe Developer Console configuration file.\n\nIf the optional configuration file is not set, this command will retrieve the console org, project, and workspace settings from the global config.\n\nTo set these global config values, see the help text for 'aio console --help'.\n\nTo download the configuration file for your project, select the 'Download' button in the toolbar of your project's page in https://console.adobe.io\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"overwrite":{"name":"overwrite","type":"boolean","description":"Overwrite any .aio and .env files during import of the Adobe Developer Console configuration file","allowNo":false},"merge":{"name":"merge","type":"boolean","description":"Merge any .aio and .env files during import of the Adobe Developer Console configuration file","allowNo":false},"global":{"name":"global","type":"boolean","char":"g","description":"Use the global Adobe Developer Console Org / Project / Workspace configuration, which can be set via `aio console` commands","allowNo":false},"workspace":{"name":"workspace","type":"option","char":"w","description":"Specify the Adobe Developer Console Workspace name to import the configuration from","default":""},"workspace-name":{"name":"workspace-name","type":"option","char":"w","description":"[DEPRECATED]: please use --workspace instead","default":""},"no-service-sync":{"name":"no-service-sync","type":"boolean","description":"Skip the Service sync prompt and do not attach current Service subscriptions to the new Workspace","allowNo":false},"confirm-service-sync":{"name":"confirm-service-sync","type":"boolean","description":"Skip the Service sync prompt and overwrite Service subscriptions in the new Workspace with current subscriptions","allowNo":false},"no-input":{"name":"no-input","type":"boolean","description":"Skip user prompts by setting --no-service-sync and --merge. Requires one of config_file_path or --global or --workspace","allowNo":false}},"args":[{"name":"config_file_path","description":"path to an Adobe I/O Developer Console configuration file","required":false}]},"app:add:action":{"id":"app:add:action","description":"Add new actions\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:actions"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:ci":{"id":"app:add:ci","description":"Add CI files\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:event":{"id":"app:add:event","description":"Add a new Adobe I/O Events action\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:events"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:extension":{"id":"app:add:extension","description":"Add new extensions or a standalone application to the project\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:ext","app:add:extensions"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to add, skips selection prompt"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add":{"id":"app:add","description":"Add a new component to an existing Adobe I/O App","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:service":{"id":"app:add:service","description":"Subscribe to Services in the current Workspace\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:services"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:web-assets":{"id":"app:add:web-assets","description":"Add web assets support\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add web-assets to a specific extension"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:action":{"id":"app:delete:action","description":"Delete existing actions\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:actions"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[{"name":"action-name","description":"Action `pkg/name` to delete, you can specify multiple actions via a comma separated list","required":false,"default":""}]},"app:delete:ci":{"id":"app:delete:ci","description":"Delete existing CI files\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:event":{"id":"app:delete:event","description":"Delete existing Adobe I/O Events actions\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:events"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[{"name":"event-action-name","description":"Action `pkg/name` to delete, you can specify multiple actions via a comma separated list","required":false}]},"app:delete:extension":{"id":"app:delete:extension","description":"Add new extensions or a standalone application to the project\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:ext","app:delete:extensions"],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to delete, skips selection prompt"},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete":{"id":"app:delete","description":"Delete a component from an existing Adobe I/O App","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:service":{"id":"app:delete:service","description":"Delete Services in the current Workspace\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:services"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:web-assets":{"id":"app:delete:web-assets","description":"Delete existing web assets\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:list:extension-points":{"id":"app:list:extension-points","description":"List all extension points for the selected org\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:list:ext-points","app:list:extension-points"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[]},"app:list:extension":{"id":"app:list:extension","description":"List implemented extensions\n","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:list:ext","app:list:extensions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[]},"app:list":{"id":"app:list","description":"List components for Adobe I/O App","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/aio-cli-plugin-app",
|
|
3
3
|
"description": "Create, Build and Deploy Adobe I/O Applications",
|
|
4
|
-
"version": "8.1.
|
|
4
|
+
"version": "8.1.1-next.2",
|
|
5
5
|
"author": "Adobe Inc.",
|
|
6
6
|
"bugs": "https://github.com/adobe/aio-cli-plugin-app/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@adobe/aio-cli-lib-app-config": "^0.2.1",
|
|
9
|
+
"@adobe/aio-cli-lib-console": "^3.0.0",
|
|
9
10
|
"@adobe/aio-lib-core-config": "^2.0.0",
|
|
10
11
|
"@adobe/aio-lib-core-logging": "^1.1.0",
|
|
12
|
+
"@adobe/aio-lib-core-networking": "^2.0.0",
|
|
11
13
|
"@adobe/aio-lib-env": "^1.1.0",
|
|
12
|
-
"@adobe/aio-lib-ims": "^
|
|
13
|
-
"@adobe/aio-lib-runtime": "^3.0
|
|
14
|
+
"@adobe/aio-lib-ims": "^5.0.0",
|
|
15
|
+
"@adobe/aio-lib-runtime": "^3.1.0",
|
|
14
16
|
"@adobe/aio-lib-web": "^5.0.0",
|
|
15
17
|
"@adobe/generator-aio-app": "^3.0.0",
|
|
16
|
-
"@adobe/generator-aio-console": "^2.2.1",
|
|
17
18
|
"@oclif/command": "^1.5.11",
|
|
18
19
|
"@oclif/config": "^1.12.9",
|
|
19
20
|
"@oclif/plugin-help": "^2.2.3",
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
"yeoman-environment": "^3.2.0"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
46
|
+
"@adobe/aio-lib-test-proxy": "^1.0.0",
|
|
45
47
|
"@adobe/eslint-config-aio-lib-config": "^1.3.0",
|
|
46
48
|
"@oclif/dev-cli": "^1.21.3",
|
|
47
49
|
"@types/jest": "^26.0.10",
|
package/src/BaseCommand.js
CHANGED
|
@@ -18,7 +18,7 @@ const loadConfig = require('@adobe/aio-cli-lib-app-config')
|
|
|
18
18
|
const inquirer = require('inquirer')
|
|
19
19
|
const { CONSOLE_API_KEYS, APPLICATION_CONFIG_KEY, EXTENSIONS_CONFIG_KEY } = require('./lib/defaults')
|
|
20
20
|
const { getCliInfo } = require('./lib/app-helper')
|
|
21
|
-
const LibConsoleCLI = require('@adobe/
|
|
21
|
+
const LibConsoleCLI = require('@adobe/aio-cli-lib-console')
|
|
22
22
|
const aioLogger = require('@adobe/aio-lib-core-logging')('@adobe/aio-cli-plugin-app', { provider: 'debug' })
|
|
23
23
|
|
|
24
24
|
const {
|
|
@@ -114,7 +114,7 @@ class Build extends BaseCommand {
|
|
|
114
114
|
const bundleOptions = {
|
|
115
115
|
shouldDisableCache: true,
|
|
116
116
|
shouldContentHash: flags['content-hash'],
|
|
117
|
-
shouldOptimize:
|
|
117
|
+
shouldOptimize: flags['web-optimize'],
|
|
118
118
|
logLevel: flags.verbose ? 'verbose' : 'warn'
|
|
119
119
|
}
|
|
120
120
|
const bundler = await bundle(entryFile, config.web.distProd, bundleOptions, onProgress)
|
|
@@ -180,6 +180,10 @@ Build.flags = {
|
|
|
180
180
|
default: true,
|
|
181
181
|
allowNo: true
|
|
182
182
|
}),
|
|
183
|
+
'web-optimize': flags.boolean({
|
|
184
|
+
description: '[default: false] Enable optimization (minification) of js/css/html',
|
|
185
|
+
default: false
|
|
186
|
+
}),
|
|
183
187
|
extension: flags.string({
|
|
184
188
|
description: 'Build only a specific extension point, the flags can be specified multiple times',
|
|
185
189
|
exclusive: ['action'],
|
|
@@ -296,6 +296,10 @@ Deploy.flags = {
|
|
|
296
296
|
description: 'Force publish extension(s) to Exchange, delete previously published extension points',
|
|
297
297
|
default: false,
|
|
298
298
|
exclusive: ['action', 'publish'] // no-publish is excluded
|
|
299
|
+
}),
|
|
300
|
+
'web-optimize': flags.boolean({
|
|
301
|
+
description: '[default: false] Enable optimization (minification) of web js/css/html',
|
|
302
|
+
default: false
|
|
299
303
|
})
|
|
300
304
|
}
|
|
301
305
|
|
package/src/lib/app-helper.js
CHANGED
|
@@ -16,7 +16,7 @@ const which = require('which')
|
|
|
16
16
|
const aioLogger = require('@adobe/aio-lib-core-logging')('@adobe/aio-cli-plugin-app:lib-app-helper', { provider: 'debug' })
|
|
17
17
|
const { getToken, context } = require('@adobe/aio-lib-ims')
|
|
18
18
|
const { CLI } = require('@adobe/aio-lib-ims/src/context')
|
|
19
|
-
const
|
|
19
|
+
const { createFetch } = require('@adobe/aio-lib-core-networking')
|
|
20
20
|
const chalk = require('chalk')
|
|
21
21
|
const aioConfig = require('@adobe/aio-lib-core-config')
|
|
22
22
|
const { AIO_CONFIG_WORKSPACE_SERVICES, AIO_CONFIG_ORG_SERVICES } = require('./defaults')
|
|
@@ -255,6 +255,7 @@ async function downloadOWJar (url, outFile) {
|
|
|
255
255
|
aioLogger.debug(`downloadOWJar - url: ${url} outFile: ${outFile}`)
|
|
256
256
|
let response
|
|
257
257
|
try {
|
|
258
|
+
const fetch = createFetch()
|
|
258
259
|
response = await fetch(url)
|
|
259
260
|
} catch (e) {
|
|
260
261
|
aioLogger.debug(`connection error while downloading '${url}'`, e)
|
|
@@ -284,6 +285,7 @@ async function waitForOpenWhiskReadiness (host, endTime, period, timeout, waitFu
|
|
|
284
285
|
let ok
|
|
285
286
|
|
|
286
287
|
try {
|
|
288
|
+
const fetch = createFetch()
|
|
287
289
|
const response = await fetch(host + '/api/v1')
|
|
288
290
|
ok = response.ok
|
|
289
291
|
} catch (e) {
|