@adobe/aio-cli-plugin-app 8.6.1-pre.2022-06-25.2ab6c018 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -57
- package/bin/openwhisk-standalone-config/get-runtimes.js +52 -0
- package/bin/openwhisk-standalone-config/runtimes.json +16 -8
- package/oclif.manifest.json +1 -1
- package/package.json +45 -42
- package/schema/config.schema.json +10 -1
- package/src/commands/app/add/action.js +4 -4
- package/src/commands/app/add/ci.js +3 -4
- package/src/commands/app/add/event.js +3 -3
- package/src/commands/app/add/extension.js +3 -3
- package/src/commands/app/add/web-assets.js +4 -4
- package/src/commands/app/build.js +2 -2
- package/src/commands/app/delete/ci.js +3 -3
- package/src/commands/app/get-url.js +1 -1
- package/src/commands/app/info.js +1 -1
- package/src/commands/app/init.js +8 -7
- package/src/commands/app/list/extension-points.js +1 -1
- package/src/commands/app/list/extension.js +1 -1
- package/src/commands/app/run.js +1 -1
- package/src/lib/app-helper.js +2 -2
- package/src/lib/import.js +1 -1
- package/src/lib/run-dev.js +3 -3
- package/src/lib/vscode.js +3 -3
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ DESCRIPTION
|
|
|
94
94
|
Create, run, test, and deploy Adobe I/O Apps
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
_See code: [src/commands/app/index.
|
|
97
|
+
_See code: [src/commands/app/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/index.ts)_
|
|
98
98
|
|
|
99
99
|
## `aio app:add`
|
|
100
100
|
|
|
@@ -112,7 +112,7 @@ DESCRIPTION
|
|
|
112
112
|
Add a new component to an existing Adobe I/O App
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
_See code: [src/commands/app/add/index.
|
|
115
|
+
_See code: [src/commands/app/add/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/add/index.ts)_
|
|
116
116
|
|
|
117
117
|
## `aio app:add:action`
|
|
118
118
|
|
|
@@ -120,7 +120,7 @@ Add new actions
|
|
|
120
120
|
|
|
121
121
|
```
|
|
122
122
|
USAGE
|
|
123
|
-
$ aio app:add:action [-
|
|
123
|
+
$ aio app:add:action [-v] [--version] [-s] [--install] [-y] [-e <value>]
|
|
124
124
|
|
|
125
125
|
FLAGS
|
|
126
126
|
-e, --extension=<value> Add actions to a specific extension
|
|
@@ -137,7 +137,7 @@ ALIASES
|
|
|
137
137
|
$ aio app:add:actions
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
_See code: [src/commands/app/add/action.
|
|
140
|
+
_See code: [src/commands/app/add/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/add/action.ts)_
|
|
141
141
|
|
|
142
142
|
## `aio app:add:actions`
|
|
143
143
|
|
|
@@ -145,7 +145,7 @@ Add new actions
|
|
|
145
145
|
|
|
146
146
|
```
|
|
147
147
|
USAGE
|
|
148
|
-
$ aio app:add:actions [-
|
|
148
|
+
$ aio app:add:actions [-v] [--version] [-s] [--install] [-y] [-e <value>]
|
|
149
149
|
|
|
150
150
|
FLAGS
|
|
151
151
|
-e, --extension=<value> Add actions to a specific extension
|
|
@@ -178,7 +178,7 @@ DESCRIPTION
|
|
|
178
178
|
Add CI files
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
-
_See code: [src/commands/app/add/ci.
|
|
181
|
+
_See code: [src/commands/app/add/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/add/ci.ts)_
|
|
182
182
|
|
|
183
183
|
## `aio app:add:event`
|
|
184
184
|
|
|
@@ -186,7 +186,7 @@ Add a new Adobe I/O Events action
|
|
|
186
186
|
|
|
187
187
|
```
|
|
188
188
|
USAGE
|
|
189
|
-
$ aio app:add:event [-
|
|
189
|
+
$ aio app:add:event [-v] [--version] [-s] [--install] [-y] [-e <value>]
|
|
190
190
|
|
|
191
191
|
FLAGS
|
|
192
192
|
-e, --extension=<value> Add actions to a specific extension
|
|
@@ -203,7 +203,7 @@ ALIASES
|
|
|
203
203
|
$ aio app:add:events
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
-
_See code: [src/commands/app/add/event.
|
|
206
|
+
_See code: [src/commands/app/add/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/add/event.ts)_
|
|
207
207
|
|
|
208
208
|
## `aio app:add:events`
|
|
209
209
|
|
|
@@ -211,7 +211,7 @@ Add a new Adobe I/O Events action
|
|
|
211
211
|
|
|
212
212
|
```
|
|
213
213
|
USAGE
|
|
214
|
-
$ aio app:add:events [-
|
|
214
|
+
$ aio app:add:events [-v] [--version] [-s] [--install] [-y] [-e <value>]
|
|
215
215
|
|
|
216
216
|
FLAGS
|
|
217
217
|
-e, --extension=<value> Add actions to a specific extension
|
|
@@ -234,7 +234,7 @@ Add new extensions or a standalone application to the project
|
|
|
234
234
|
|
|
235
235
|
```
|
|
236
236
|
USAGE
|
|
237
|
-
$ aio app:add:ext [-
|
|
237
|
+
$ aio app:add:ext [-v] [--version] [-s] [--install] [-y] [-e <value>]
|
|
238
238
|
|
|
239
239
|
FLAGS
|
|
240
240
|
-e, --extension=<value>... Specify extensions to add, skips selection prompt
|
|
@@ -258,7 +258,7 @@ Add new extensions or a standalone application to the project
|
|
|
258
258
|
|
|
259
259
|
```
|
|
260
260
|
USAGE
|
|
261
|
-
$ aio app:add:extension [-
|
|
261
|
+
$ aio app:add:extension [-v] [--version] [-s] [--install] [-y] [-e <value>]
|
|
262
262
|
|
|
263
263
|
FLAGS
|
|
264
264
|
-e, --extension=<value>... Specify extensions to add, skips selection prompt
|
|
@@ -276,7 +276,7 @@ ALIASES
|
|
|
276
276
|
$ aio app:add:extensions
|
|
277
277
|
```
|
|
278
278
|
|
|
279
|
-
_See code: [src/commands/app/add/extension.
|
|
279
|
+
_See code: [src/commands/app/add/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/add/extension.ts)_
|
|
280
280
|
|
|
281
281
|
## `aio app:add:extensions`
|
|
282
282
|
|
|
@@ -284,7 +284,7 @@ Add new extensions or a standalone application to the project
|
|
|
284
284
|
|
|
285
285
|
```
|
|
286
286
|
USAGE
|
|
287
|
-
$ aio app:add:extensions [-
|
|
287
|
+
$ aio app:add:extensions [-v] [--version] [-s] [--install] [-y] [-e <value>]
|
|
288
288
|
|
|
289
289
|
FLAGS
|
|
290
290
|
-e, --extension=<value>... Specify extensions to add, skips selection prompt
|
|
@@ -321,7 +321,7 @@ ALIASES
|
|
|
321
321
|
$ aio app:add:services
|
|
322
322
|
```
|
|
323
323
|
|
|
324
|
-
_See code: [src/commands/app/add/service.
|
|
324
|
+
_See code: [src/commands/app/add/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/add/service.ts)_
|
|
325
325
|
|
|
326
326
|
## `aio app:add:services`
|
|
327
327
|
|
|
@@ -348,7 +348,7 @@ Add web assets support
|
|
|
348
348
|
|
|
349
349
|
```
|
|
350
350
|
USAGE
|
|
351
|
-
$ aio app:add:web-assets [-
|
|
351
|
+
$ aio app:add:web-assets [-v] [--version] [-s] [--install] [-y] [-e <value>]
|
|
352
352
|
|
|
353
353
|
FLAGS
|
|
354
354
|
-e, --extension=<value> Add web-assets to a specific extension
|
|
@@ -362,7 +362,7 @@ DESCRIPTION
|
|
|
362
362
|
Add web assets support
|
|
363
363
|
```
|
|
364
364
|
|
|
365
|
-
_See code: [src/commands/app/add/web-assets.
|
|
365
|
+
_See code: [src/commands/app/add/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/add/web-assets.ts)_
|
|
366
366
|
|
|
367
367
|
## `aio app:build`
|
|
368
368
|
|
|
@@ -394,7 +394,7 @@ DESCRIPTION
|
|
|
394
394
|
This will always force a rebuild unless --no-force-build is set.
|
|
395
395
|
```
|
|
396
396
|
|
|
397
|
-
_See code: [src/commands/app/build.
|
|
397
|
+
_See code: [src/commands/app/build.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/build.ts)_
|
|
398
398
|
|
|
399
399
|
## `aio app:config`
|
|
400
400
|
|
|
@@ -416,7 +416,7 @@ ALIASES
|
|
|
416
416
|
$ aio app:config
|
|
417
417
|
```
|
|
418
418
|
|
|
419
|
-
_See code: [src/commands/app/config/index.
|
|
419
|
+
_See code: [src/commands/app/config/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/config/index.ts)_
|
|
420
420
|
|
|
421
421
|
## `aio app:config:get`
|
|
422
422
|
|
|
@@ -437,7 +437,7 @@ ALIASES
|
|
|
437
437
|
$ aio app:config:get
|
|
438
438
|
```
|
|
439
439
|
|
|
440
|
-
_See code: [src/commands/app/config/get/index.
|
|
440
|
+
_See code: [src/commands/app/config/get/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/config/get/index.ts)_
|
|
441
441
|
|
|
442
442
|
## `aio app:config:get:lf`
|
|
443
443
|
|
|
@@ -499,7 +499,7 @@ ALIASES
|
|
|
499
499
|
$ aio app:config:get:lf
|
|
500
500
|
```
|
|
501
501
|
|
|
502
|
-
_See code: [src/commands/app/config/get/log-forwarding.
|
|
502
|
+
_See code: [src/commands/app/config/get/log-forwarding.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/config/get/log-forwarding.ts)_
|
|
503
503
|
|
|
504
504
|
## `aio app:config:get:log-forwarding:errors`
|
|
505
505
|
|
|
@@ -521,7 +521,7 @@ ALIASES
|
|
|
521
521
|
$ aio app:config:get:lf:errors
|
|
522
522
|
```
|
|
523
523
|
|
|
524
|
-
_See code: [src/commands/app/config/get/log-forwarding/errors.
|
|
524
|
+
_See code: [src/commands/app/config/get/log-forwarding/errors.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/config/get/log-forwarding/errors.ts)_
|
|
525
525
|
|
|
526
526
|
## `aio app:config:set`
|
|
527
527
|
|
|
@@ -542,7 +542,7 @@ ALIASES
|
|
|
542
542
|
$ aio app:config:set
|
|
543
543
|
```
|
|
544
544
|
|
|
545
|
-
_See code: [src/commands/app/config/set/index.
|
|
545
|
+
_See code: [src/commands/app/config/set/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/config/set/index.ts)_
|
|
546
546
|
|
|
547
547
|
## `aio app:config:set:lf`
|
|
548
548
|
|
|
@@ -584,7 +584,7 @@ ALIASES
|
|
|
584
584
|
$ aio app:config:set:lf
|
|
585
585
|
```
|
|
586
586
|
|
|
587
|
-
_See code: [src/commands/app/config/set/log-forwarding.
|
|
587
|
+
_See code: [src/commands/app/config/set/log-forwarding.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/config/set/log-forwarding.ts)_
|
|
588
588
|
|
|
589
589
|
## `aio app:create [PATH]`
|
|
590
590
|
|
|
@@ -606,7 +606,7 @@ DESCRIPTION
|
|
|
606
606
|
Create a new Adobe I/O App with default parameters
|
|
607
607
|
```
|
|
608
608
|
|
|
609
|
-
_See code: [src/commands/app/create.
|
|
609
|
+
_See code: [src/commands/app/create.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/create.ts)_
|
|
610
610
|
|
|
611
611
|
## `aio app:delete`
|
|
612
612
|
|
|
@@ -624,7 +624,7 @@ DESCRIPTION
|
|
|
624
624
|
Delete a component from an existing Adobe I/O App
|
|
625
625
|
```
|
|
626
626
|
|
|
627
|
-
_See code: [src/commands/app/delete/index.
|
|
627
|
+
_See code: [src/commands/app/delete/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/delete/index.ts)_
|
|
628
628
|
|
|
629
629
|
## `aio app:delete:action [ACTION-NAME]`
|
|
630
630
|
|
|
@@ -632,7 +632,7 @@ Delete existing actions
|
|
|
632
632
|
|
|
633
633
|
```
|
|
634
634
|
USAGE
|
|
635
|
-
$ aio app:delete:action [ACTION-NAME] [-
|
|
635
|
+
$ aio app:delete:action [ACTION-NAME] [-v] [--version] [-y]
|
|
636
636
|
|
|
637
637
|
ARGUMENTS
|
|
638
638
|
ACTION-NAME Action `pkg/name` to delete, you can specify multiple actions via a comma separated list
|
|
@@ -649,7 +649,7 @@ ALIASES
|
|
|
649
649
|
$ aio app:delete:actions
|
|
650
650
|
```
|
|
651
651
|
|
|
652
|
-
_See code: [src/commands/app/delete/action.
|
|
652
|
+
_See code: [src/commands/app/delete/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/delete/action.ts)_
|
|
653
653
|
|
|
654
654
|
## `aio app:delete:actions [ACTION-NAME]`
|
|
655
655
|
|
|
@@ -657,7 +657,7 @@ Delete existing actions
|
|
|
657
657
|
|
|
658
658
|
```
|
|
659
659
|
USAGE
|
|
660
|
-
$ aio app:delete:actions [ACTION-NAME] [-
|
|
660
|
+
$ aio app:delete:actions [ACTION-NAME] [-v] [--version] [-y]
|
|
661
661
|
|
|
662
662
|
ARGUMENTS
|
|
663
663
|
ACTION-NAME Action `pkg/name` to delete, you can specify multiple actions via a comma separated list
|
|
@@ -680,7 +680,7 @@ Delete existing CI files
|
|
|
680
680
|
|
|
681
681
|
```
|
|
682
682
|
USAGE
|
|
683
|
-
$ aio app:delete:ci [-
|
|
683
|
+
$ aio app:delete:ci [-v] [--version] [-y]
|
|
684
684
|
|
|
685
685
|
FLAGS
|
|
686
686
|
-v, --verbose Verbose output
|
|
@@ -691,7 +691,7 @@ DESCRIPTION
|
|
|
691
691
|
Delete existing CI files
|
|
692
692
|
```
|
|
693
693
|
|
|
694
|
-
_See code: [src/commands/app/delete/ci.
|
|
694
|
+
_See code: [src/commands/app/delete/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/delete/ci.ts)_
|
|
695
695
|
|
|
696
696
|
## `aio app:delete:event [EVENT-ACTION-NAME]`
|
|
697
697
|
|
|
@@ -699,7 +699,7 @@ Delete existing Adobe I/O Events actions
|
|
|
699
699
|
|
|
700
700
|
```
|
|
701
701
|
USAGE
|
|
702
|
-
$ aio app:delete:event [EVENT-ACTION-NAME] [-
|
|
702
|
+
$ aio app:delete:event [EVENT-ACTION-NAME] [-v] [--version] [-y]
|
|
703
703
|
|
|
704
704
|
ARGUMENTS
|
|
705
705
|
EVENT-ACTION-NAME Action `pkg/name` to delete, you can specify multiple actions via a comma separated list
|
|
@@ -716,7 +716,7 @@ ALIASES
|
|
|
716
716
|
$ aio app:delete:events
|
|
717
717
|
```
|
|
718
718
|
|
|
719
|
-
_See code: [src/commands/app/delete/event.
|
|
719
|
+
_See code: [src/commands/app/delete/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/delete/event.ts)_
|
|
720
720
|
|
|
721
721
|
## `aio app:delete:events [EVENT-ACTION-NAME]`
|
|
722
722
|
|
|
@@ -724,7 +724,7 @@ Delete existing Adobe I/O Events actions
|
|
|
724
724
|
|
|
725
725
|
```
|
|
726
726
|
USAGE
|
|
727
|
-
$ aio app:delete:events [EVENT-ACTION-NAME] [-
|
|
727
|
+
$ aio app:delete:events [EVENT-ACTION-NAME] [-v] [--version] [-y]
|
|
728
728
|
|
|
729
729
|
ARGUMENTS
|
|
730
730
|
EVENT-ACTION-NAME Action `pkg/name` to delete, you can specify multiple actions via a comma separated list
|
|
@@ -747,7 +747,7 @@ Delete existing extensions
|
|
|
747
747
|
|
|
748
748
|
```
|
|
749
749
|
USAGE
|
|
750
|
-
$ aio app:delete:ext [-y] [--skip-install] [-e <value>]
|
|
750
|
+
$ aio app:delete:ext [-v] [--version] [-y] [--skip-install] [-e <value>]
|
|
751
751
|
|
|
752
752
|
FLAGS
|
|
753
753
|
-e, --extension=<value>... Specify extensions to delete, skips selection prompt
|
|
@@ -770,7 +770,7 @@ Delete existing extensions
|
|
|
770
770
|
|
|
771
771
|
```
|
|
772
772
|
USAGE
|
|
773
|
-
$ aio app:delete:extension [-y] [--skip-install] [-e <value>]
|
|
773
|
+
$ aio app:delete:extension [-v] [--version] [-y] [--skip-install] [-e <value>]
|
|
774
774
|
|
|
775
775
|
FLAGS
|
|
776
776
|
-e, --extension=<value>... Specify extensions to delete, skips selection prompt
|
|
@@ -787,7 +787,7 @@ ALIASES
|
|
|
787
787
|
$ aio app:delete:extensions
|
|
788
788
|
```
|
|
789
789
|
|
|
790
|
-
_See code: [src/commands/app/delete/extension.
|
|
790
|
+
_See code: [src/commands/app/delete/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/delete/extension.ts)_
|
|
791
791
|
|
|
792
792
|
## `aio app:delete:extensions`
|
|
793
793
|
|
|
@@ -795,7 +795,7 @@ Delete existing extensions
|
|
|
795
795
|
|
|
796
796
|
```
|
|
797
797
|
USAGE
|
|
798
|
-
$ aio app:delete:extensions [-y] [--skip-install] [-e <value>]
|
|
798
|
+
$ aio app:delete:extensions [-v] [--version] [-y] [--skip-install] [-e <value>]
|
|
799
799
|
|
|
800
800
|
FLAGS
|
|
801
801
|
-e, --extension=<value>... Specify extensions to delete, skips selection prompt
|
|
@@ -831,7 +831,7 @@ ALIASES
|
|
|
831
831
|
$ aio app:delete:services
|
|
832
832
|
```
|
|
833
833
|
|
|
834
|
-
_See code: [src/commands/app/delete/service.
|
|
834
|
+
_See code: [src/commands/app/delete/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/delete/service.ts)_
|
|
835
835
|
|
|
836
836
|
## `aio app:delete:services`
|
|
837
837
|
|
|
@@ -858,7 +858,7 @@ Delete existing web assets
|
|
|
858
858
|
|
|
859
859
|
```
|
|
860
860
|
USAGE
|
|
861
|
-
$ aio app:delete:web-assets [-
|
|
861
|
+
$ aio app:delete:web-assets [-v] [--version] [-y]
|
|
862
862
|
|
|
863
863
|
FLAGS
|
|
864
864
|
-v, --verbose Verbose output
|
|
@@ -869,7 +869,7 @@ DESCRIPTION
|
|
|
869
869
|
Delete existing web assets
|
|
870
870
|
```
|
|
871
871
|
|
|
872
|
-
_See code: [src/commands/app/delete/web-assets.
|
|
872
|
+
_See code: [src/commands/app/delete/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/delete/web-assets.ts)_
|
|
873
873
|
|
|
874
874
|
## `aio app:deploy`
|
|
875
875
|
|
|
@@ -877,9 +877,9 @@ Build and deploy an Adobe I/O App
|
|
|
877
877
|
|
|
878
878
|
```
|
|
879
879
|
USAGE
|
|
880
|
-
$ aio app:deploy [-v] [--version] [--skip-
|
|
881
|
-
|
|
882
|
-
|
|
880
|
+
$ aio app:deploy [-v] [--version] [--skip-static] [--skip-web-assets] [--skip-actions] [--actions | -a
|
|
881
|
+
<value>] [--web-assets] [--force-build | ] [--content-hash] [--web-optimize] [-e <value> | ] [--skip-build]
|
|
882
|
+
[--skip-deploy] [--build] [--open] [--force-publish | | [--publish | ]] [--log-forwarding-update]
|
|
883
883
|
|
|
884
884
|
FLAGS
|
|
885
885
|
-a, --action=<value>... Deploy only a specific action, the flags can be specified multiple times, this will set
|
|
@@ -910,7 +910,7 @@ DESCRIPTION
|
|
|
910
910
|
This will always force a rebuild unless --no-force-build is set.
|
|
911
911
|
```
|
|
912
912
|
|
|
913
|
-
_See code: [src/commands/app/deploy.
|
|
913
|
+
_See code: [src/commands/app/deploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/deploy.ts)_
|
|
914
914
|
|
|
915
915
|
## `aio app:get-url [ACTION]`
|
|
916
916
|
|
|
@@ -933,7 +933,7 @@ DESCRIPTION
|
|
|
933
933
|
Get action URLs
|
|
934
934
|
```
|
|
935
935
|
|
|
936
|
-
_See code: [src/commands/app/get-url.
|
|
936
|
+
_See code: [src/commands/app/get-url.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/get-url.ts)_
|
|
937
937
|
|
|
938
938
|
## `aio app:info`
|
|
939
939
|
|
|
@@ -955,7 +955,7 @@ DESCRIPTION
|
|
|
955
955
|
Display settings/configuration in use by an Adobe I/O App
|
|
956
956
|
```
|
|
957
957
|
|
|
958
|
-
_See code: [src/commands/app/info.
|
|
958
|
+
_See code: [src/commands/app/info.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/info.ts)_
|
|
959
959
|
|
|
960
960
|
## `aio app:init [PATH]`
|
|
961
961
|
|
|
@@ -963,7 +963,7 @@ Create a new Adobe I/O App
|
|
|
963
963
|
|
|
964
964
|
```
|
|
965
965
|
USAGE
|
|
966
|
-
$ aio app:init [PATH] [-
|
|
966
|
+
$ aio app:init [PATH] [-v] [--version] [-s] [--install] [-y] [--login] [-e <value> | --extensions] [-w
|
|
967
967
|
<value> | -i <value>] [--confirm-new-workspace]
|
|
968
968
|
|
|
969
969
|
ARGUMENTS
|
|
@@ -987,7 +987,7 @@ DESCRIPTION
|
|
|
987
987
|
Create a new Adobe I/O App
|
|
988
988
|
```
|
|
989
989
|
|
|
990
|
-
_See code: [src/commands/app/init.
|
|
990
|
+
_See code: [src/commands/app/init.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/init.ts)_
|
|
991
991
|
|
|
992
992
|
## `aio app:list`
|
|
993
993
|
|
|
@@ -1005,7 +1005,7 @@ DESCRIPTION
|
|
|
1005
1005
|
List components for Adobe I/O App
|
|
1006
1006
|
```
|
|
1007
1007
|
|
|
1008
|
-
_See code: [src/commands/app/list/index.
|
|
1008
|
+
_See code: [src/commands/app/list/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/list/index.ts)_
|
|
1009
1009
|
|
|
1010
1010
|
## `aio app:list:ext`
|
|
1011
1011
|
|
|
@@ -1073,7 +1073,7 @@ ALIASES
|
|
|
1073
1073
|
$ aio app:list:extensions
|
|
1074
1074
|
```
|
|
1075
1075
|
|
|
1076
|
-
_See code: [src/commands/app/list/extension.
|
|
1076
|
+
_See code: [src/commands/app/list/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/list/extension.ts)_
|
|
1077
1077
|
|
|
1078
1078
|
## `aio app:list:extension-points`
|
|
1079
1079
|
|
|
@@ -1097,7 +1097,7 @@ ALIASES
|
|
|
1097
1097
|
$ aio app:list:extension-points
|
|
1098
1098
|
```
|
|
1099
1099
|
|
|
1100
|
-
_See code: [src/commands/app/list/extension-points.
|
|
1100
|
+
_See code: [src/commands/app/list/extension-points.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/list/extension-points.ts)_
|
|
1101
1101
|
|
|
1102
1102
|
## `aio app:list:extensions`
|
|
1103
1103
|
|
|
@@ -1143,7 +1143,7 @@ DESCRIPTION
|
|
|
1143
1143
|
Fetch logs for an Adobe I/O App
|
|
1144
1144
|
```
|
|
1145
1145
|
|
|
1146
|
-
_See code: [src/commands/app/logs.
|
|
1146
|
+
_See code: [src/commands/app/logs.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/logs.ts)_
|
|
1147
1147
|
|
|
1148
1148
|
## `aio app:run`
|
|
1149
1149
|
|
|
@@ -1167,7 +1167,7 @@ DESCRIPTION
|
|
|
1167
1167
|
Run an Adobe I/O App
|
|
1168
1168
|
```
|
|
1169
1169
|
|
|
1170
|
-
_See code: [src/commands/app/run.
|
|
1170
|
+
_See code: [src/commands/app/run.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/run.ts)_
|
|
1171
1171
|
|
|
1172
1172
|
## `aio app:test`
|
|
1173
1173
|
|
|
@@ -1175,14 +1175,16 @@ Run tests for an Adobe I/O App
|
|
|
1175
1175
|
|
|
1176
1176
|
```
|
|
1177
1177
|
USAGE
|
|
1178
|
-
$ aio app:test [-e <value> | -a <value>] [--all] [--e2e] [--unit]
|
|
1178
|
+
$ aio app:test [-v] [--version] [-e <value> | -a <value>] [--all] [--e2e] [--unit]
|
|
1179
1179
|
|
|
1180
1180
|
FLAGS
|
|
1181
1181
|
-a, --action=<value>... the action(s) to test
|
|
1182
1182
|
-e, --extension=<value>... the extension(s) to test
|
|
1183
|
+
-v, --verbose Verbose output
|
|
1183
1184
|
--all run both unit and e2e tests
|
|
1184
1185
|
--e2e run e2e tests
|
|
1185
1186
|
--unit run unit tests
|
|
1187
|
+
--version Show version
|
|
1186
1188
|
|
|
1187
1189
|
DESCRIPTION
|
|
1188
1190
|
Run tests for an Adobe I/O App
|
|
@@ -1196,7 +1198,7 @@ DESCRIPTION
|
|
|
1196
1198
|
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
1197
1199
|
```
|
|
1198
1200
|
|
|
1199
|
-
_See code: [src/commands/app/test.
|
|
1201
|
+
_See code: [src/commands/app/test.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/test.ts)_
|
|
1200
1202
|
|
|
1201
1203
|
## `aio app:undeploy`
|
|
1202
1204
|
|
|
@@ -1223,7 +1225,7 @@ DESCRIPTION
|
|
|
1223
1225
|
Undeploys an Adobe I/O App
|
|
1224
1226
|
```
|
|
1225
1227
|
|
|
1226
|
-
_See code: [src/commands/app/undeploy.
|
|
1228
|
+
_See code: [src/commands/app/undeploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/undeploy.ts)_
|
|
1227
1229
|
|
|
1228
1230
|
## `aio app:use [CONFIG_FILE_PATH]`
|
|
1229
1231
|
|
|
@@ -1269,5 +1271,5 @@ DESCRIPTION
|
|
|
1269
1271
|
page in https://console.adobe.io
|
|
1270
1272
|
```
|
|
1271
1273
|
|
|
1272
|
-
_See code: [src/commands/app/use.
|
|
1274
|
+
_See code: [src/commands/app/use.ts](https://github.com/adobe/aio-cli-plugin-app/blob/9.0.0/src/commands/app/use.ts)_
|
|
1273
1275
|
<!-- commandsstop -->
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2021 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
7
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
|
+
governing permissions and limitations under the License.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
const fetch = require('node-fetch')
|
|
13
|
+
|
|
14
|
+
const DOCKER_ORG = 'adobeapiplatform'
|
|
15
|
+
const DOCKER_REPOS = { // repo-name:kind
|
|
16
|
+
'adobe-action-nodejs-v10': 'nodejs:10',
|
|
17
|
+
'adobe-action-nodejs-v12': 'nodejs:12',
|
|
18
|
+
'adobe-action-nodejs-v14': 'nodejs:14',
|
|
19
|
+
'adobe-action-nodejs-v16': 'nodejs:16',
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const DEFAULT_KIND = 'nodejs:16'
|
|
23
|
+
|
|
24
|
+
async function main() {
|
|
25
|
+
const nodejs = []
|
|
26
|
+
|
|
27
|
+
for ([repoName, kind] of Object.entries(DOCKER_REPOS)) {
|
|
28
|
+
const data = await fetch(`https://registry.hub.docker.com/v2/repositories/${DOCKER_ORG}/${repoName}/tags`)
|
|
29
|
+
const json = await data.json()
|
|
30
|
+
const defaultKind = (kind === DEFAULT_KIND)? true : undefined
|
|
31
|
+
|
|
32
|
+
nodejs.push({
|
|
33
|
+
kind,
|
|
34
|
+
default: defaultKind,
|
|
35
|
+
image: {
|
|
36
|
+
prefix: DOCKER_ORG,
|
|
37
|
+
name: repoName,
|
|
38
|
+
tag: json.results[0].name
|
|
39
|
+
}
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const output = {
|
|
44
|
+
runtimes: {
|
|
45
|
+
nodejs
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
console.log(JSON.stringify(output, null, 2))
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
main()
|
|
52
|
+
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
"runtimes": {
|
|
3
3
|
"nodejs": [
|
|
4
4
|
{
|
|
5
|
-
"kind": "nodejs:
|
|
6
|
-
"default": true,
|
|
5
|
+
"kind": "nodejs:10",
|
|
7
6
|
"image": {
|
|
8
7
|
"prefix": "adobeapiplatform",
|
|
9
|
-
"name": "adobe-action-nodejs-
|
|
10
|
-
"tag": "3.0.
|
|
8
|
+
"name": "adobe-action-nodejs-v10",
|
|
9
|
+
"tag": "3.0.32"
|
|
11
10
|
}
|
|
12
11
|
},
|
|
13
12
|
{
|
|
@@ -15,15 +14,24 @@
|
|
|
15
14
|
"image": {
|
|
16
15
|
"prefix": "adobeapiplatform",
|
|
17
16
|
"name": "adobe-action-nodejs-v12",
|
|
18
|
-
"tag": "3.0.
|
|
17
|
+
"tag": "3.0.32"
|
|
19
18
|
}
|
|
20
19
|
},
|
|
21
20
|
{
|
|
22
|
-
"kind": "nodejs:
|
|
21
|
+
"kind": "nodejs:14",
|
|
23
22
|
"image": {
|
|
24
23
|
"prefix": "adobeapiplatform",
|
|
25
|
-
"name": "adobe-action-nodejs-
|
|
26
|
-
"tag": "3.0.
|
|
24
|
+
"name": "adobe-action-nodejs-v14",
|
|
25
|
+
"tag": "3.0.32"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"kind": "nodejs:16",
|
|
30
|
+
"default": true,
|
|
31
|
+
"image": {
|
|
32
|
+
"prefix": "adobeapiplatform",
|
|
33
|
+
"name": "adobe-action-nodejs-v16",
|
|
34
|
+
"tag": "3.0.32"
|
|
27
35
|
}
|
|
28
36
|
}
|
|
29
37
|
]
|