@adobe/aio-cli-plugin-app 8.5.0 → 8.6.1
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 +36 -35
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
- package/schema/config.schema.json +10 -1
- package/src/BaseCommand.js +10 -4
- package/src/commands/app/build.js +1 -1
- package/src/commands/app/get-url.js +14 -3
- package/src/commands/app/init.js +19 -0
- package/src/commands/app/logs.js +11 -3
- package/src/commands/app/run.js +3 -1
- package/src/lib/deploy-actions.js +3 -3
- package/src/lib/run-dev.js +2 -3
- package/src/lib/run-local-runtime.js +22 -12
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ OPTIONS
|
|
|
75
75
|
--version Show version
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
_See code: [src/commands/app/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
78
|
+
_See code: [src/commands/app/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/index.ts)_
|
|
79
79
|
|
|
80
80
|
## `aio app:add`
|
|
81
81
|
|
|
@@ -90,7 +90,7 @@ OPTIONS
|
|
|
90
90
|
--version Show version
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
_See code: [src/commands/app/add/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
93
|
+
_See code: [src/commands/app/add/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/add/index.ts)_
|
|
94
94
|
|
|
95
95
|
## `aio app:add:action`
|
|
96
96
|
|
|
@@ -112,7 +112,7 @@ ALIASES
|
|
|
112
112
|
$ aio app:add:actions
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
_See code: [src/commands/app/add/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
115
|
+
_See code: [src/commands/app/add/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/add/action.ts)_
|
|
116
116
|
|
|
117
117
|
## `aio app:add:ci`
|
|
118
118
|
|
|
@@ -127,7 +127,7 @@ OPTIONS
|
|
|
127
127
|
--version Show version
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
_See code: [src/commands/app/add/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
130
|
+
_See code: [src/commands/app/add/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/add/ci.ts)_
|
|
131
131
|
|
|
132
132
|
## `aio app:add:event`
|
|
133
133
|
|
|
@@ -149,7 +149,7 @@ ALIASES
|
|
|
149
149
|
$ aio app:add:events
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
_See code: [src/commands/app/add/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
152
|
+
_See code: [src/commands/app/add/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/add/event.ts)_
|
|
153
153
|
|
|
154
154
|
## `aio app:add:extension`
|
|
155
155
|
|
|
@@ -172,7 +172,7 @@ ALIASES
|
|
|
172
172
|
$ aio app:add:extensions
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
-
_See code: [src/commands/app/add/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
175
|
+
_See code: [src/commands/app/add/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/add/extension.ts)_
|
|
176
176
|
|
|
177
177
|
## `aio app:add:service`
|
|
178
178
|
|
|
@@ -190,7 +190,7 @@ ALIASES
|
|
|
190
190
|
$ aio app:add:services
|
|
191
191
|
```
|
|
192
192
|
|
|
193
|
-
_See code: [src/commands/app/add/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
193
|
+
_See code: [src/commands/app/add/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/add/service.ts)_
|
|
194
194
|
|
|
195
195
|
## `aio app:add:web-assets`
|
|
196
196
|
|
|
@@ -209,7 +209,7 @@ OPTIONS
|
|
|
209
209
|
--version Show version
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
-
_See code: [src/commands/app/add/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
212
|
+
_See code: [src/commands/app/add/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/add/web-assets.ts)_
|
|
213
213
|
|
|
214
214
|
## `aio app:build`
|
|
215
215
|
|
|
@@ -249,7 +249,7 @@ DESCRIPTION
|
|
|
249
249
|
This will always force a rebuild unless --no-force-build is set.
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
_See code: [src/commands/app/build.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
252
|
+
_See code: [src/commands/app/build.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/build.ts)_
|
|
253
253
|
|
|
254
254
|
## `aio app:config`
|
|
255
255
|
|
|
@@ -268,7 +268,7 @@ ALIASES
|
|
|
268
268
|
$ aio app:config
|
|
269
269
|
```
|
|
270
270
|
|
|
271
|
-
_See code: [src/commands/app/config/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
271
|
+
_See code: [src/commands/app/config/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/config/index.ts)_
|
|
272
272
|
|
|
273
273
|
## `aio app:config:get`
|
|
274
274
|
|
|
@@ -286,7 +286,7 @@ ALIASES
|
|
|
286
286
|
$ aio app:config:get
|
|
287
287
|
```
|
|
288
288
|
|
|
289
|
-
_See code: [src/commands/app/config/get/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
289
|
+
_See code: [src/commands/app/config/get/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/config/get/index.ts)_
|
|
290
290
|
|
|
291
291
|
## `aio app:config:get:log-forwarding`
|
|
292
292
|
|
|
@@ -305,7 +305,7 @@ ALIASES
|
|
|
305
305
|
$ aio app:config:get:lf
|
|
306
306
|
```
|
|
307
307
|
|
|
308
|
-
_See code: [src/commands/app/config/get/log-forwarding.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
308
|
+
_See code: [src/commands/app/config/get/log-forwarding.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/config/get/log-forwarding.ts)_
|
|
309
309
|
|
|
310
310
|
## `aio app:config:get:log-forwarding:errors`
|
|
311
311
|
|
|
@@ -324,7 +324,7 @@ ALIASES
|
|
|
324
324
|
$ aio app:config:get:lf:errors
|
|
325
325
|
```
|
|
326
326
|
|
|
327
|
-
_See code: [src/commands/app/config/get/log-forwarding/errors.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
327
|
+
_See code: [src/commands/app/config/get/log-forwarding/errors.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/config/get/log-forwarding/errors.ts)_
|
|
328
328
|
|
|
329
329
|
## `aio app:config:set`
|
|
330
330
|
|
|
@@ -342,7 +342,7 @@ ALIASES
|
|
|
342
342
|
$ aio app:config:set
|
|
343
343
|
```
|
|
344
344
|
|
|
345
|
-
_See code: [src/commands/app/config/set/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
345
|
+
_See code: [src/commands/app/config/set/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/config/set/index.ts)_
|
|
346
346
|
|
|
347
347
|
## `aio app:config:set:log-forwarding`
|
|
348
348
|
|
|
@@ -361,7 +361,7 @@ ALIASES
|
|
|
361
361
|
$ aio app:config:set:lf
|
|
362
362
|
```
|
|
363
363
|
|
|
364
|
-
_See code: [src/commands/app/config/set/log-forwarding.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
364
|
+
_See code: [src/commands/app/config/set/log-forwarding.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/config/set/log-forwarding.ts)_
|
|
365
365
|
|
|
366
366
|
## `aio app:create [PATH]`
|
|
367
367
|
|
|
@@ -380,7 +380,7 @@ OPTIONS
|
|
|
380
380
|
--version Show version
|
|
381
381
|
```
|
|
382
382
|
|
|
383
|
-
_See code: [src/commands/app/create.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
383
|
+
_See code: [src/commands/app/create.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/create.ts)_
|
|
384
384
|
|
|
385
385
|
## `aio app:delete`
|
|
386
386
|
|
|
@@ -395,7 +395,7 @@ OPTIONS
|
|
|
395
395
|
--version Show version
|
|
396
396
|
```
|
|
397
397
|
|
|
398
|
-
_See code: [src/commands/app/delete/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
398
|
+
_See code: [src/commands/app/delete/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/delete/index.ts)_
|
|
399
399
|
|
|
400
400
|
## `aio app:delete:action [ACTION-NAME]`
|
|
401
401
|
|
|
@@ -417,7 +417,7 @@ ALIASES
|
|
|
417
417
|
$ aio app:delete:actions
|
|
418
418
|
```
|
|
419
419
|
|
|
420
|
-
_See code: [src/commands/app/delete/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
420
|
+
_See code: [src/commands/app/delete/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/delete/action.ts)_
|
|
421
421
|
|
|
422
422
|
## `aio app:delete:ci`
|
|
423
423
|
|
|
@@ -433,7 +433,7 @@ OPTIONS
|
|
|
433
433
|
--version Show version
|
|
434
434
|
```
|
|
435
435
|
|
|
436
|
-
_See code: [src/commands/app/delete/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
436
|
+
_See code: [src/commands/app/delete/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/delete/ci.ts)_
|
|
437
437
|
|
|
438
438
|
## `aio app:delete:event [EVENT-ACTION-NAME]`
|
|
439
439
|
|
|
@@ -455,7 +455,7 @@ ALIASES
|
|
|
455
455
|
$ aio app:delete:events
|
|
456
456
|
```
|
|
457
457
|
|
|
458
|
-
_See code: [src/commands/app/delete/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
458
|
+
_See code: [src/commands/app/delete/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/delete/event.ts)_
|
|
459
459
|
|
|
460
460
|
## `aio app:delete:extension`
|
|
461
461
|
|
|
@@ -477,7 +477,7 @@ ALIASES
|
|
|
477
477
|
$ aio app:delete:extensions
|
|
478
478
|
```
|
|
479
479
|
|
|
480
|
-
_See code: [src/commands/app/delete/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
480
|
+
_See code: [src/commands/app/delete/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/delete/extension.ts)_
|
|
481
481
|
|
|
482
482
|
## `aio app:delete:service`
|
|
483
483
|
|
|
@@ -495,7 +495,7 @@ ALIASES
|
|
|
495
495
|
$ aio app:delete:services
|
|
496
496
|
```
|
|
497
497
|
|
|
498
|
-
_See code: [src/commands/app/delete/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
498
|
+
_See code: [src/commands/app/delete/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/delete/service.ts)_
|
|
499
499
|
|
|
500
500
|
## `aio app:delete:web-assets`
|
|
501
501
|
|
|
@@ -511,7 +511,7 @@ OPTIONS
|
|
|
511
511
|
--version Show version
|
|
512
512
|
```
|
|
513
513
|
|
|
514
|
-
_See code: [src/commands/app/delete/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
514
|
+
_See code: [src/commands/app/delete/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/delete/web-assets.ts)_
|
|
515
515
|
|
|
516
516
|
## `aio app:deploy`
|
|
517
517
|
|
|
@@ -566,7 +566,7 @@ DESCRIPTION
|
|
|
566
566
|
This will always force a rebuild unless --no-force-build is set.
|
|
567
567
|
```
|
|
568
568
|
|
|
569
|
-
_See code: [src/commands/app/deploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
569
|
+
_See code: [src/commands/app/deploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/deploy.ts)_
|
|
570
570
|
|
|
571
571
|
## `aio app:get-url [ACTION]`
|
|
572
572
|
|
|
@@ -582,10 +582,11 @@ OPTIONS
|
|
|
582
582
|
-v, --verbose Verbose output
|
|
583
583
|
-y, --yml Output yml
|
|
584
584
|
--cdn Display CDN based action URLs
|
|
585
|
+
--local Display locally based action URLs
|
|
585
586
|
--version Show version
|
|
586
587
|
```
|
|
587
588
|
|
|
588
|
-
_See code: [src/commands/app/get-url.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
589
|
+
_See code: [src/commands/app/get-url.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/get-url.ts)_
|
|
589
590
|
|
|
590
591
|
## `aio app:info`
|
|
591
592
|
|
|
@@ -604,7 +605,7 @@ OPTIONS
|
|
|
604
605
|
--version Show version
|
|
605
606
|
```
|
|
606
607
|
|
|
607
|
-
_See code: [src/commands/app/info.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
608
|
+
_See code: [src/commands/app/info.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/info.ts)_
|
|
608
609
|
|
|
609
610
|
## `aio app:init [PATH]`
|
|
610
611
|
|
|
@@ -639,7 +640,7 @@ OPTIONS
|
|
|
639
640
|
--version Show version
|
|
640
641
|
```
|
|
641
642
|
|
|
642
|
-
_See code: [src/commands/app/init.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
643
|
+
_See code: [src/commands/app/init.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/init.ts)_
|
|
643
644
|
|
|
644
645
|
## `aio app:list`
|
|
645
646
|
|
|
@@ -654,7 +655,7 @@ OPTIONS
|
|
|
654
655
|
--version Show version
|
|
655
656
|
```
|
|
656
657
|
|
|
657
|
-
_See code: [src/commands/app/list/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
658
|
+
_See code: [src/commands/app/list/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/list/index.ts)_
|
|
658
659
|
|
|
659
660
|
## `aio app:list:extension`
|
|
660
661
|
|
|
@@ -675,7 +676,7 @@ ALIASES
|
|
|
675
676
|
$ aio app:list:extensions
|
|
676
677
|
```
|
|
677
678
|
|
|
678
|
-
_See code: [src/commands/app/list/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
679
|
+
_See code: [src/commands/app/list/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/list/extension.ts)_
|
|
679
680
|
|
|
680
681
|
## `aio app:list:extension-points`
|
|
681
682
|
|
|
@@ -696,7 +697,7 @@ ALIASES
|
|
|
696
697
|
$ aio app:list:extension-points
|
|
697
698
|
```
|
|
698
699
|
|
|
699
|
-
_See code: [src/commands/app/list/extension-points.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
700
|
+
_See code: [src/commands/app/list/extension-points.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/list/extension-points.ts)_
|
|
700
701
|
|
|
701
702
|
## `aio app:logs`
|
|
702
703
|
|
|
@@ -717,7 +718,7 @@ OPTIONS
|
|
|
717
718
|
--version Show version
|
|
718
719
|
```
|
|
719
720
|
|
|
720
|
-
_See code: [src/commands/app/logs.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
721
|
+
_See code: [src/commands/app/logs.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/logs.ts)_
|
|
721
722
|
|
|
722
723
|
## `aio app:run`
|
|
723
724
|
|
|
@@ -738,7 +739,7 @@ OPTIONS
|
|
|
738
739
|
--version Show version
|
|
739
740
|
```
|
|
740
741
|
|
|
741
|
-
_See code: [src/commands/app/run.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
742
|
+
_See code: [src/commands/app/run.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/run.ts)_
|
|
742
743
|
|
|
743
744
|
## `aio app:test`
|
|
744
745
|
|
|
@@ -763,7 +764,7 @@ DESCRIPTION
|
|
|
763
764
|
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
764
765
|
```
|
|
765
766
|
|
|
766
|
-
_See code: [src/commands/app/test.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
767
|
+
_See code: [src/commands/app/test.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/test.ts)_
|
|
767
768
|
|
|
768
769
|
## `aio app:undeploy`
|
|
769
770
|
|
|
@@ -786,7 +787,7 @@ OPTIONS
|
|
|
786
787
|
--[no-]web-assets [default: true] Undeploy web-assets if any
|
|
787
788
|
```
|
|
788
789
|
|
|
789
|
-
_See code: [src/commands/app/undeploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
790
|
+
_See code: [src/commands/app/undeploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/undeploy.ts)_
|
|
790
791
|
|
|
791
792
|
## `aio app:use [CONFIG_FILE_PATH]`
|
|
792
793
|
|
|
@@ -839,5 +840,5 @@ DESCRIPTION
|
|
|
839
840
|
page in https://console.adobe.io
|
|
840
841
|
```
|
|
841
842
|
|
|
842
|
-
_See code: [src/commands/app/use.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.
|
|
843
|
+
_See code: [src/commands/app/use.ts](https://github.com/adobe/aio-cli-plugin-app/blob/8.6.1/src/commands/app/use.ts)_
|
|
843
844
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"8.5.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},"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},"log-forwarding-update":{"name":"log-forwarding-update","type":"boolean","description":"[default: true] Update log forwarding configuration on server","allowNo":true}},"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":{"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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},"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"},"confirm-new-workspace":{"name":"confirm-new-workspace","type":"boolean","description":"Skip and confirm prompt for creating a new workspace","allowNo":false}},"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 or Workspace id to import the configuration from","default":""},"confirm-new-workspace":{"name":"confirm-new-workspace","type":"boolean","description":"Skip and confirm prompt for creating a new workspace","allowNo":false},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension"},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension"},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to add, skips selection prompt"},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Add web-assets to a specific extension"},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config":{"id":"app:config","description":"Manage app config","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config","app:config"],"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: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":[]},"app:config:get":{"id":"app:config:get","description":"Get app config","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get"],"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:config:get:log-forwarding":{"id":"app:config:get:log-forwarding","description":"Get log forwarding destination configuration","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get:log-forwarding","app:config:get:lf"],"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:config:set":{"id":"app:config:set","description":"Set app config","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:set"],"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:config:set:log-forwarding":{"id":"app:config:set:log-forwarding","description":"Set log forwarding destination configuration","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:set:log-forwarding","app:config:set:lf"],"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:config:get:log-forwarding:errors":{"id":"app:config:get:log-forwarding:errors","description":"Get log forwarding errors","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get:log-forwarding:errors","app:config:get:lf:errors"],"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.6.1","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},"log-forwarding-update":{"name":"log-forwarding-update","type":"boolean","description":"[default: true] Update log forwarding configuration on server","allowNo":true}},"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},"local":{"name":"local","type":"boolean","description":"Display locally based action URLs","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":{"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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},"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"},"confirm-new-workspace":{"name":"confirm-new-workspace","type":"boolean","description":"Skip and confirm prompt for creating a new workspace","allowNo":false}},"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 or Workspace id to import the configuration from","default":""},"confirm-new-workspace":{"name":"confirm-new-workspace","type":"boolean","description":"Skip and confirm prompt for creating a new workspace","allowNo":false},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension"},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension"},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to add, skips selection prompt"},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Add web-assets to a specific extension"},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config":{"id":"app:config","description":"Manage app config","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config","app:config"],"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: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":[]},"app:config:get":{"id":"app:config:get","description":"Get app config","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get"],"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:config:get:log-forwarding":{"id":"app:config:get:log-forwarding","description":"Get log forwarding destination configuration","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get:log-forwarding","app:config:get:lf"],"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:config:set":{"id":"app:config:set","description":"Set app config","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:set"],"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:config:set:log-forwarding":{"id":"app:config:set:log-forwarding","description":"Set log forwarding destination configuration","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:set:log-forwarding","app:config:set:lf"],"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:config:get:log-forwarding:errors":{"id":"app:config:get:log-forwarding:errors","description":"Get log forwarding errors","pluginName":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get:log-forwarding:errors","app:config:get:lf:errors"],"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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/aio-cli-plugin-app",
|
|
3
3
|
"description": "Create, Build and Deploy Adobe I/O Applications",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.6.1",
|
|
5
5
|
"author": "Adobe Inc.",
|
|
6
6
|
"bugs": "https://github.com/adobe/aio-cli-plugin-app/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@adobe/aio-lib-core-networking": "^2.0.0",
|
|
13
13
|
"@adobe/aio-lib-env": "^1.1.0",
|
|
14
14
|
"@adobe/aio-lib-ims": "^5.0.0",
|
|
15
|
-
"@adobe/aio-lib-runtime": "^
|
|
15
|
+
"@adobe/aio-lib-runtime": "^4.0.0",
|
|
16
16
|
"@adobe/aio-lib-web": "^5.1.0",
|
|
17
17
|
"@adobe/generator-aio-app": "^3.0.0",
|
|
18
18
|
"@oclif/command": "^1.5.11",
|
|
@@ -117,7 +117,16 @@
|
|
|
117
117
|
},
|
|
118
118
|
"integration_type": {
|
|
119
119
|
"type": "string",
|
|
120
|
-
"enum": [
|
|
120
|
+
"enum": [
|
|
121
|
+
"oauthweb",
|
|
122
|
+
"oauthios",
|
|
123
|
+
"oauthandroid",
|
|
124
|
+
"service",
|
|
125
|
+
"apikey",
|
|
126
|
+
"oauthwebapp",
|
|
127
|
+
"oauthnativeapp",
|
|
128
|
+
"oauthsinglepageapp"
|
|
129
|
+
]
|
|
121
130
|
},
|
|
122
131
|
"oauth2": { "$ref": "#/definitions/oauth2" },
|
|
123
132
|
"jwt": { "$ref": "#/definitions/jwt" }
|
package/src/BaseCommand.js
CHANGED
|
@@ -29,15 +29,21 @@ const {
|
|
|
29
29
|
class BaseCommand extends Command {
|
|
30
30
|
// default error handler for app commands
|
|
31
31
|
async catch (error) {
|
|
32
|
+
const { flags } = this.parse(this.prototype)
|
|
32
33
|
aioLogger.error(error) // debug log
|
|
33
|
-
this.handleError(error)
|
|
34
|
+
this.handleError(error, flags.verbose)
|
|
34
35
|
}
|
|
35
36
|
|
|
36
|
-
handleError (error) {
|
|
37
|
+
handleError (error, verbose) {
|
|
37
38
|
const errorMessages = ['no such file or directory', 'find configuration']
|
|
39
|
+
|
|
38
40
|
if (errorMessages.find(msg => error.message.includes(msg))) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
const errorList = [
|
|
42
|
+
'Not a valid application root folder.',
|
|
43
|
+
'Please run \'aio app\' commands from a folder generated by aio app init',
|
|
44
|
+
verbose ? error.stack : error.message
|
|
45
|
+
]
|
|
46
|
+
this.error(errorList.join('\n'))
|
|
41
47
|
}
|
|
42
48
|
this.error(error.message)
|
|
43
49
|
}
|
|
@@ -101,7 +101,7 @@ class Build extends BaseCommand {
|
|
|
101
101
|
if (flags['web-assets']) {
|
|
102
102
|
if (config.app.hasFrontend && (flags['force-build'] || !fs.existsSync(config.web.distProd))) {
|
|
103
103
|
if (config.app.hasBackend) {
|
|
104
|
-
const urls =
|
|
104
|
+
const urls = RuntimeLib.utils.getActionUrls(config, false, false, true)
|
|
105
105
|
await writeConfig(config.web.injectedConfig, urls)
|
|
106
106
|
}
|
|
107
107
|
spinner.start('Building web assets')
|
|
@@ -18,6 +18,7 @@ const BaseCommand = require('../../BaseCommand')
|
|
|
18
18
|
const { wrapError } = require('../../lib/app-helper')
|
|
19
19
|
const { getActionUrls } = require('@adobe/aio-lib-runtime').utils
|
|
20
20
|
const yaml = require('js-yaml')
|
|
21
|
+
const { loadLocalDevConfig } = require('../../lib/run-local-runtime')
|
|
21
22
|
|
|
22
23
|
class GetUrlCommand extends BaseCommand {
|
|
23
24
|
async run () {
|
|
@@ -45,9 +46,16 @@ class GetUrlCommand extends BaseCommand {
|
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
const actionUrls = {}
|
|
48
|
-
|
|
49
|
-
Object.
|
|
50
|
-
|
|
49
|
+
if (flags.local) {
|
|
50
|
+
Object.values(fullConfig.all).forEach(config => {
|
|
51
|
+
const localDevConfig = loadLocalDevConfig(config)
|
|
52
|
+
Object.assign(actionUrls, getActionUrls(localDevConfig, false, true))
|
|
53
|
+
})
|
|
54
|
+
} else {
|
|
55
|
+
Object.values(fullConfig.all).forEach(config => {
|
|
56
|
+
Object.assign(actionUrls, getActionUrls(config, true))
|
|
57
|
+
})
|
|
58
|
+
}
|
|
51
59
|
urls.runtime = actionUrls
|
|
52
60
|
const cdnUrls = {}
|
|
53
61
|
if (options.cdn) {
|
|
@@ -102,6 +110,9 @@ GetUrlCommand.flags = {
|
|
|
102
110
|
yml: flags.boolean({
|
|
103
111
|
description: 'Output yml',
|
|
104
112
|
char: 'y'
|
|
113
|
+
}),
|
|
114
|
+
local: flags.boolean({
|
|
115
|
+
description: 'Display locally based action URLs'
|
|
105
116
|
})
|
|
106
117
|
}
|
|
107
118
|
|
package/src/commands/app/init.js
CHANGED
|
@@ -128,6 +128,24 @@ class InitCommand extends AddCommand {
|
|
|
128
128
|
this.log(chalk.blue(chalk.bold(`Project initialized for Workspace ${workspace.name}, you can run 'aio app use -w <workspace>' to switch workspace.`)))
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
async ensureDevTermAccepted (consoleCLI, orgId) {
|
|
132
|
+
const isTermAccepted = await consoleCLI.checkDevTermsForOrg(orgId)
|
|
133
|
+
if (!isTermAccepted) {
|
|
134
|
+
const terms = await consoleCLI.getDevTermsForOrg()
|
|
135
|
+
const confirmDevTerms = await consoleCLI.prompt.promptConfirm(`${terms.text}
|
|
136
|
+
\nDo you agree with the new Developer Terms?`)
|
|
137
|
+
if (!confirmDevTerms) {
|
|
138
|
+
this.error('The Developer Terms of Service were declined')
|
|
139
|
+
} else {
|
|
140
|
+
const accepted = await consoleCLI.acceptDevTermsForOrg(orgId)
|
|
141
|
+
if (!accepted) {
|
|
142
|
+
this.error('The Developer Terms of Service could not be accepted')
|
|
143
|
+
}
|
|
144
|
+
this.log(`The Developer Terms of Service were successfully accepted for org ${orgId}`)
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
131
149
|
async selectExtensionPoints (flags, orgSupportedServices = null) {
|
|
132
150
|
if (!flags.extensions) {
|
|
133
151
|
return [implPromptChoices.find(i => i.value.name === 'application').value]
|
|
@@ -167,6 +185,7 @@ class InitCommand extends AddCommand {
|
|
|
167
185
|
async selectConsoleOrg (consoleCLI) {
|
|
168
186
|
const organizations = await consoleCLI.getOrganizations()
|
|
169
187
|
const selectedOrg = await consoleCLI.promptForSelectOrganization(organizations)
|
|
188
|
+
await this.ensureDevTermAccepted(consoleCLI, selectedOrg.id)
|
|
170
189
|
return selectedOrg
|
|
171
190
|
}
|
|
172
191
|
|
package/src/commands/app/logs.js
CHANGED
|
@@ -16,15 +16,19 @@ const { wrapError } = require('../../lib/app-helper')
|
|
|
16
16
|
const rtLib = require('@adobe/aio-lib-runtime')
|
|
17
17
|
const LogForwarding = require('../../lib/log-forwarding')
|
|
18
18
|
|
|
19
|
+
const SECURED = 'require-adobe-auth'
|
|
20
|
+
|
|
19
21
|
class Logs extends BaseCommand {
|
|
20
22
|
_processEachAction (fullConfig, processFn) {
|
|
23
|
+
const isSecuredAction = (pkg, aName) => pkg && pkg.actions && pkg.actions[aName] &&
|
|
24
|
+
pkg.actions[aName].annotations && pkg.actions[aName].annotations[SECURED]
|
|
25
|
+
|
|
21
26
|
Object.entries(fullConfig.all).forEach(([, config]) => {
|
|
22
27
|
Object.entries(config.manifest.full.packages).forEach(([packageName, pkg]) => {
|
|
23
28
|
// handle default package
|
|
24
29
|
packageName = packageName.replace(/__APP_PACKAGE__/g, config.ow.package)
|
|
25
|
-
|
|
26
30
|
Object.keys(pkg.actions).forEach((aName) => {
|
|
27
|
-
processFn(packageName, aName)
|
|
31
|
+
processFn(packageName, aName, isSecuredAction(pkg, aName))
|
|
28
32
|
})
|
|
29
33
|
})
|
|
30
34
|
})
|
|
@@ -80,7 +84,11 @@ class Logs extends BaseCommand {
|
|
|
80
84
|
}
|
|
81
85
|
})
|
|
82
86
|
} else {
|
|
83
|
-
this._processEachAction(fullConfig, (packageName, aName) => {
|
|
87
|
+
this._processEachAction(fullConfig, (packageName, aName, isSecured) => {
|
|
88
|
+
if (isSecured) {
|
|
89
|
+
const securedAName = '__secured_' + aName
|
|
90
|
+
filterActions.push(`${packageName}/${securedAName}`)
|
|
91
|
+
}
|
|
84
92
|
filterActions.push(`${packageName}/${aName}`)
|
|
85
93
|
})
|
|
86
94
|
}
|
package/src/commands/app/run.js
CHANGED
|
@@ -60,6 +60,7 @@ class Run extends BaseCommand {
|
|
|
60
60
|
async runOneExtensionPoint (name, config, flags, spinner) {
|
|
61
61
|
const hasBackend = config.app.hasBackend
|
|
62
62
|
const hasFrontend = config.app.hasFrontend
|
|
63
|
+
const headlessApp = hasBackend && !hasFrontend
|
|
63
64
|
|
|
64
65
|
if (!hasBackend && !hasFrontend) {
|
|
65
66
|
this.error(new Error('nothing to run.. there is no frontend and no manifest.yml, are you in a valid app?'))
|
|
@@ -97,7 +98,8 @@ class Run extends BaseCommand {
|
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
100
|
|
|
100
|
-
const
|
|
101
|
+
const verboseOutput = flags.verbose || flags.local || headlessApp
|
|
102
|
+
const onProgress = !verboseOutput
|
|
101
103
|
? info => {
|
|
102
104
|
spinner.text = info
|
|
103
105
|
}
|
|
@@ -17,17 +17,17 @@ const { deployActions } = require('@adobe/aio-lib-runtime')
|
|
|
17
17
|
* Deploys actions.
|
|
18
18
|
*
|
|
19
19
|
* @param {object} config see src/lib/config-loader.js
|
|
20
|
-
* @param {boolean}
|
|
20
|
+
* @param {boolean} isLocalDev default false, set to true if it's a local deploy
|
|
21
21
|
* @param {Function} [log] a log function
|
|
22
22
|
* @param {boolean} filter true if a filter by built actions is desired.
|
|
23
23
|
*/
|
|
24
24
|
/** @private */
|
|
25
|
-
module.exports = async (config,
|
|
25
|
+
module.exports = async (config, isLocalDev = false, log = () => {}, filter = false) => {
|
|
26
26
|
utils.runScript(config.hooks['pre-app-deploy'])
|
|
27
27
|
const script = await utils.runScript(config.hooks['deploy-actions'])
|
|
28
28
|
if (!script) {
|
|
29
29
|
const deployConfig = {
|
|
30
|
-
isLocalDev
|
|
30
|
+
isLocalDev,
|
|
31
31
|
filterEntities: {
|
|
32
32
|
byBuiltActions: filter
|
|
33
33
|
}
|
package/src/lib/run-dev.js
CHANGED
|
@@ -19,7 +19,7 @@ const bundleServe = require('./bundle-serve')
|
|
|
19
19
|
const { defaultHttpServerPort: SERVER_DEFAULT_PORT } = require('./defaults')
|
|
20
20
|
const serve = require('./serve')
|
|
21
21
|
const Cleanup = require('./cleanup')
|
|
22
|
-
const runLocalRuntime = require('./run-local-runtime')
|
|
22
|
+
const { runLocalRuntime } = require('./run-local-runtime')
|
|
23
23
|
|
|
24
24
|
const buildActions = require('./build-actions')
|
|
25
25
|
const deployActions = require('./deploy-actions')
|
|
@@ -82,7 +82,6 @@ async function runDev (config, dataDir, options = {}, log = () => {}) {
|
|
|
82
82
|
log('building actions..')
|
|
83
83
|
await buildActions(devConfig)
|
|
84
84
|
|
|
85
|
-
log(`watching action files at ${devConfig.actions.src}...`)
|
|
86
85
|
const { cleanup: watcherCleanup } = await actionsWatcher({ config: devConfig, isLocal, log })
|
|
87
86
|
cleanup.add(() => watcherCleanup(), 'stopping action watcher...')
|
|
88
87
|
}
|
|
@@ -95,7 +94,7 @@ async function runDev (config, dataDir, options = {}, log = () => {}) {
|
|
|
95
94
|
// note the condition: we still write backend urls EVEN if skipActions is set
|
|
96
95
|
// the urls will always point to remotely deployed actions if skipActions is set
|
|
97
96
|
log('injecting backend urls into frontend config')
|
|
98
|
-
urls = rtLibUtils.getActionUrls(devConfig, true, isLocal && !skipActions)
|
|
97
|
+
urls = rtLibUtils.getActionUrls(devConfig, true, isLocal && !skipActions, true)
|
|
99
98
|
}
|
|
100
99
|
utils.writeConfig(devConfig.web.injectedConfig, urls)
|
|
101
100
|
|
|
@@ -32,6 +32,12 @@ const OW_WAIT_INIT_TIME = 2000
|
|
|
32
32
|
const OW_WAIT_PERIOD_TIME = 500
|
|
33
33
|
const OW_TIMEOUT = 60000
|
|
34
34
|
|
|
35
|
+
const LOCAL_RUNTIME = {
|
|
36
|
+
namespace: OW_LOCAL_NAMESPACE,
|
|
37
|
+
auth: OW_LOCAL_AUTH,
|
|
38
|
+
apihost: OW_LOCAL_APIHOST
|
|
39
|
+
}
|
|
40
|
+
|
|
35
41
|
/**
|
|
36
42
|
* @typedef {object} RunDevLocalObject
|
|
37
43
|
* @property {string} config the modified dev config
|
|
@@ -55,9 +61,8 @@ const OW_TIMEOUT = 60000
|
|
|
55
61
|
* @returns {RunDevLocalObject} the RunDevLocalObject
|
|
56
62
|
*/
|
|
57
63
|
async function runDevLocal (config, dataDir, log = () => undefined, verbose = false) {
|
|
58
|
-
const devConfig = cloneDeep(config)
|
|
59
|
-
devConfig.envFile = path.join(config.app.dist, '.env.local')
|
|
60
64
|
const owJarFile = path.join(dataDir, OW_JAR_PATH)
|
|
65
|
+
const devConfig = loadLocalDevConfig(config)
|
|
61
66
|
|
|
62
67
|
// take following steps only when we have a backend
|
|
63
68
|
log('checking if java is installed...')
|
|
@@ -91,16 +96,8 @@ async function runDevLocal (config, dataDir, log = () => undefined, verbose = fa
|
|
|
91
96
|
}
|
|
92
97
|
const res = await utils.runOpenWhiskJar(owJarFile, OW_CONFIG_RUNTIMES_FILE, OW_LOCAL_APIHOST, OW_WAIT_INIT_TIME, OW_WAIT_PERIOD_TIME, OW_TIMEOUT, owExecaOptions)
|
|
93
98
|
|
|
94
|
-
log('setting local openwhisk credentials...')
|
|
95
|
-
const runtime = {
|
|
96
|
-
namespace: OW_LOCAL_NAMESPACE,
|
|
97
|
-
auth: OW_LOCAL_AUTH,
|
|
98
|
-
apihost: OW_LOCAL_APIHOST
|
|
99
|
-
}
|
|
100
|
-
devConfig.ow = { ...devConfig.ow, ...runtime }
|
|
101
|
-
|
|
102
99
|
log(`writing credentials to tmp wskdebug config '${devConfig.envFile}'`)
|
|
103
|
-
await writeLocalEnvFile(devConfig,
|
|
100
|
+
await writeLocalEnvFile(devConfig, LOCAL_RUNTIME)
|
|
104
101
|
|
|
105
102
|
const cleanup = () => {
|
|
106
103
|
aioLogger.debug('stopping local OpenWhisk stack...')
|
|
@@ -118,6 +115,19 @@ async function runDevLocal (config, dataDir, log = () => undefined, verbose = fa
|
|
|
118
115
|
}
|
|
119
116
|
}
|
|
120
117
|
|
|
118
|
+
/**
|
|
119
|
+
* @param {object} config the app config
|
|
120
|
+
* @param {Function} [log] function to log application logs
|
|
121
|
+
* @returns {RunDevLocalObject} the RunDevLocalObject
|
|
122
|
+
*/
|
|
123
|
+
function loadLocalDevConfig (config, log) {
|
|
124
|
+
const devConfig = cloneDeep(config)
|
|
125
|
+
devConfig.envFile = path.join(config.app.dist, '.env.local')
|
|
126
|
+
log && log('setting local openwhisk credentials...')
|
|
127
|
+
devConfig.ow = { ...devConfig.ow, ...LOCAL_RUNTIME }
|
|
128
|
+
return devConfig
|
|
129
|
+
}
|
|
130
|
+
|
|
121
131
|
/**
|
|
122
132
|
* Writes the local debugging .env file
|
|
123
133
|
*
|
|
@@ -141,4 +151,4 @@ async function writeLocalEnvFile (appConfig, runtimeCredentials) {
|
|
|
141
151
|
`))
|
|
142
152
|
}
|
|
143
153
|
|
|
144
|
-
module.exports = runDevLocal
|
|
154
|
+
module.exports = { runLocalRuntime: runDevLocal, loadLocalDevConfig }
|