@adobe/aio-cli-plugin-runtime
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "@adobe/aio-cli-plugin-runtime", | ||
"description": "Adobe I/O Runtime commands for the Adobe I/O CLI", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"author": "Adobe Inc.", | ||
"bugs": "https://github.com/adobe/aio-cli-plugin-runtime/issues", | ||
"dependencies": { | ||
"@adobe/aio-lib-core-config": "^1.1.0", | ||
"@adobe/aio-lib-core-config": "^1.2.4", | ||
"@oclif/command": "^1.5.6", | ||
@@ -45,3 +45,3 @@ "@oclif/config": "^1.9.0", | ||
"engines": { | ||
"node": ">=8.0.0" | ||
"node": ">=10.0.0" | ||
}, | ||
@@ -48,0 +48,0 @@ "files": [ |
114
README.md
@@ -39,3 +39,3 @@ <!-- | ||
$ ./bin/run (-v|--version|version) | ||
@adobe/aio-cli-plugin-runtime/1.3.0 darwin-x64 node-v10.16.1 | ||
@adobe/aio-cli-plugin-runtime/1.4.0 darwin-x64 node-v10.16.1 | ||
$ ./bin/run --help [COMMAND] | ||
@@ -128,3 +128,3 @@ USAGE | ||
_See code: [src/commands/runtime/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/index.js)_ | ||
_See code: [src/commands/runtime/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/index.js)_ | ||
@@ -155,3 +155,3 @@ ## `./bin/run runtime:action` | ||
_See code: [src/commands/runtime/action/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/action/index.js)_ | ||
_See code: [src/commands/runtime/action/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/action/index.js)_ | ||
@@ -186,2 +186,4 @@ ## `./bin/run runtime:action:create ACTIONNAME [ACTIONPATH]` | ||
--binary treat code artifact as binary | ||
--cert=cert client cert | ||
@@ -212,3 +214,3 @@ | ||
_See code: [src/commands/runtime/action/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/action/create.js)_ | ||
_See code: [src/commands/runtime/action/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/action/create.js)_ | ||
@@ -242,3 +244,3 @@ ## `./bin/run runtime:action:delete ACTIONNAME` | ||
_See code: [src/commands/runtime/action/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/action/delete.js)_ | ||
_See code: [src/commands/runtime/action/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/action/delete.js)_ | ||
@@ -272,3 +274,3 @@ ## `./bin/run runtime:action:get ACTIONNAME` | ||
_See code: [src/commands/runtime/action/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/action/get.js)_ | ||
_See code: [src/commands/runtime/action/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/action/get.js)_ | ||
@@ -303,3 +305,3 @@ ## `./bin/run runtime:action:invoke ACTIONNAME` | ||
_See code: [src/commands/runtime/action/invoke.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/action/invoke.js)_ | ||
_See code: [src/commands/runtime/action/invoke.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/action/invoke.js)_ | ||
@@ -341,3 +343,3 @@ ## `./bin/run runtime:action:list` | ||
_See code: [src/commands/runtime/action/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/action/list.js)_ | ||
_See code: [src/commands/runtime/action/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/action/list.js)_ | ||
@@ -372,2 +374,4 @@ ## `./bin/run runtime:action:update ACTIONNAME [ACTIONPATH]` | ||
--binary treat code artifact as binary | ||
--cert=cert client cert | ||
@@ -398,3 +402,3 @@ | ||
_See code: [src/commands/runtime/action/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/action/update.js)_ | ||
_See code: [src/commands/runtime/action/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/action/update.js)_ | ||
@@ -425,3 +429,3 @@ ## `./bin/run runtime:activation` | ||
_See code: [src/commands/runtime/activation/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/activation/index.js)_ | ||
_See code: [src/commands/runtime/activation/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/activation/index.js)_ | ||
@@ -454,3 +458,3 @@ ## `./bin/run runtime:activation:get [ACTIVATIONID]` | ||
_See code: [src/commands/runtime/activation/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/activation/get.js)_ | ||
_See code: [src/commands/runtime/activation/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/activation/get.js)_ | ||
@@ -510,3 +514,3 @@ ## `./bin/run runtime:activation:list [ACTIVATIONID]` | ||
_See code: [src/commands/runtime/activation/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/activation/list.js)_ | ||
_See code: [src/commands/runtime/activation/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/activation/list.js)_ | ||
@@ -546,3 +550,3 @@ ## `./bin/run runtime:activation:logs [ACTIVATIONID]` | ||
_See code: [src/commands/runtime/activation/logs.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/activation/logs.js)_ | ||
_See code: [src/commands/runtime/activation/logs.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/activation/logs.js)_ | ||
@@ -574,3 +578,3 @@ ## `./bin/run runtime:activation:result [ACTIVATIONID]` | ||
_See code: [src/commands/runtime/activation/result.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/activation/result.js)_ | ||
_See code: [src/commands/runtime/activation/result.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/activation/result.js)_ | ||
@@ -605,3 +609,3 @@ ## `./bin/run runtime:deploy` | ||
_See code: [src/commands/runtime/deploy/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/deploy/index.js)_ | ||
_See code: [src/commands/runtime/deploy/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/deploy/index.js)_ | ||
@@ -634,3 +638,3 @@ ## `./bin/run runtime:deploy:export` | ||
_See code: [src/commands/runtime/deploy/export.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/deploy/export.js)_ | ||
_See code: [src/commands/runtime/deploy/export.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/deploy/export.js)_ | ||
@@ -663,3 +667,3 @@ ## `./bin/run runtime:deploy:report` | ||
_See code: [src/commands/runtime/deploy/report.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/deploy/report.js)_ | ||
_See code: [src/commands/runtime/deploy/report.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/deploy/report.js)_ | ||
@@ -692,3 +696,3 @@ ## `./bin/run runtime:deploy:sync` | ||
_See code: [src/commands/runtime/deploy/sync.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/deploy/sync.js)_ | ||
_See code: [src/commands/runtime/deploy/sync.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/deploy/sync.js)_ | ||
@@ -721,3 +725,3 @@ ## `./bin/run runtime:deploy:undeploy` | ||
_See code: [src/commands/runtime/deploy/undeploy.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/deploy/undeploy.js)_ | ||
_See code: [src/commands/runtime/deploy/undeploy.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/deploy/undeploy.js)_ | ||
@@ -748,3 +752,3 @@ ## `./bin/run runtime:deploy:version` | ||
_See code: [src/commands/runtime/deploy/version.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/deploy/version.js)_ | ||
_See code: [src/commands/runtime/deploy/version.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/deploy/version.js)_ | ||
@@ -777,3 +781,3 @@ ## `./bin/run runtime:namespace` | ||
_See code: [src/commands/runtime/namespace/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/namespace/index.js)_ | ||
_See code: [src/commands/runtime/namespace/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/namespace/index.js)_ | ||
@@ -811,3 +815,3 @@ ## `./bin/run runtime:namespace:get` | ||
_See code: [src/commands/runtime/namespace/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/namespace/get.js)_ | ||
_See code: [src/commands/runtime/namespace/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/namespace/get.js)_ | ||
@@ -845,3 +849,3 @@ ## `./bin/run runtime:namespace:list` | ||
_See code: [src/commands/runtime/namespace/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/namespace/list.js)_ | ||
_See code: [src/commands/runtime/namespace/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/namespace/list.js)_ | ||
@@ -874,3 +878,3 @@ ## `./bin/run runtime:package` | ||
_See code: [src/commands/runtime/package/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/package/index.js)_ | ||
_See code: [src/commands/runtime/package/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/package/index.js)_ | ||
@@ -908,3 +912,3 @@ ## `./bin/run runtime:package:bind PACKAGENAME BINDPACKAGENAME` | ||
_See code: [src/commands/runtime/package/bind.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/package/bind.js)_ | ||
_See code: [src/commands/runtime/package/bind.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/package/bind.js)_ | ||
@@ -943,3 +947,3 @@ ## `./bin/run runtime:package:create PACKAGENAME` | ||
_See code: [src/commands/runtime/package/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/package/create.js)_ | ||
_See code: [src/commands/runtime/package/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/package/create.js)_ | ||
@@ -963,3 +967,3 @@ ## `./bin/run runtime:package:delete PACKAGENAME` | ||
_See code: [src/commands/runtime/package/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/package/delete.js)_ | ||
_See code: [src/commands/runtime/package/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/package/delete.js)_ | ||
@@ -992,3 +996,3 @@ ## `./bin/run runtime:package:get PACKAGENAME` | ||
_See code: [src/commands/runtime/package/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/package/get.js)_ | ||
_See code: [src/commands/runtime/package/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/package/get.js)_ | ||
@@ -1030,3 +1034,3 @@ ## `./bin/run runtime:package:list [NAMESPACE]` | ||
_See code: [src/commands/runtime/package/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/package/list.js)_ | ||
_See code: [src/commands/runtime/package/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/package/list.js)_ | ||
@@ -1065,3 +1069,3 @@ ## `./bin/run runtime:package:update PACKAGENAME` | ||
_See code: [src/commands/runtime/package/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/package/update.js)_ | ||
_See code: [src/commands/runtime/package/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/package/update.js)_ | ||
@@ -1093,3 +1097,3 @@ ## `./bin/run runtime:property` | ||
_See code: [src/commands/runtime/property/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/property/index.js)_ | ||
_See code: [src/commands/runtime/property/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/property/index.js)_ | ||
@@ -1127,3 +1131,3 @@ ## `./bin/run runtime:property:get` | ||
_See code: [src/commands/runtime/property/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/property/get.js)_ | ||
_See code: [src/commands/runtime/property/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/property/get.js)_ | ||
@@ -1157,3 +1161,3 @@ ## `./bin/run runtime:property:set` | ||
_See code: [src/commands/runtime/property/set.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/property/set.js)_ | ||
_See code: [src/commands/runtime/property/set.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/property/set.js)_ | ||
@@ -1187,3 +1191,3 @@ ## `./bin/run runtime:property:unset` | ||
_See code: [src/commands/runtime/property/unset.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/property/unset.js)_ | ||
_See code: [src/commands/runtime/property/unset.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/property/unset.js)_ | ||
@@ -1215,3 +1219,3 @@ ## `./bin/run runtime:route` | ||
_See code: [src/commands/runtime/route/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/route/index.js)_ | ||
_See code: [src/commands/runtime/route/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/route/index.js)_ | ||
@@ -1264,3 +1268,3 @@ ## `./bin/run runtime:route:create BASEPATH RELPATH APIVERB ACTION` | ||
_See code: [src/commands/runtime/route/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/route/create.js)_ | ||
_See code: [src/commands/runtime/route/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/route/create.js)_ | ||
@@ -1298,3 +1302,3 @@ ## `./bin/run runtime:route:delete BASEPATHORAPINAME [RELPATH] [APIVERB]` | ||
_See code: [src/commands/runtime/route/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/route/delete.js)_ | ||
_See code: [src/commands/runtime/route/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/route/delete.js)_ | ||
@@ -1330,3 +1334,3 @@ ## `./bin/run runtime:route:get BASEPATHORAPINAME` | ||
_See code: [src/commands/runtime/route/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/route/get.js)_ | ||
_See code: [src/commands/runtime/route/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/route/get.js)_ | ||
@@ -1371,3 +1375,3 @@ ## `./bin/run runtime:route:list [BASEPATH] [RELPATH] [APIVERB]` | ||
_See code: [src/commands/runtime/route/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/route/list.js)_ | ||
_See code: [src/commands/runtime/route/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/route/list.js)_ | ||
@@ -1398,3 +1402,3 @@ ## `./bin/run runtime:rule` | ||
_See code: [src/commands/runtime/rule/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/rule/index.js)_ | ||
_See code: [src/commands/runtime/rule/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/rule/index.js)_ | ||
@@ -1431,3 +1435,3 @@ ## `./bin/run runtime:rule:create NAME TRIGGER ACTION` | ||
_See code: [src/commands/runtime/rule/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/rule/create.js)_ | ||
_See code: [src/commands/runtime/rule/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/rule/create.js)_ | ||
@@ -1461,3 +1465,3 @@ ## `./bin/run runtime:rule:delete NAME` | ||
_See code: [src/commands/runtime/rule/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/rule/delete.js)_ | ||
_See code: [src/commands/runtime/rule/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/rule/delete.js)_ | ||
@@ -1491,3 +1495,3 @@ ## `./bin/run runtime:rule:disable NAME` | ||
_See code: [src/commands/runtime/rule/disable.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/rule/disable.js)_ | ||
_See code: [src/commands/runtime/rule/disable.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/rule/disable.js)_ | ||
@@ -1521,3 +1525,3 @@ ## `./bin/run runtime:rule:enable NAME` | ||
_See code: [src/commands/runtime/rule/enable.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/rule/enable.js)_ | ||
_See code: [src/commands/runtime/rule/enable.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/rule/enable.js)_ | ||
@@ -1551,3 +1555,3 @@ ## `./bin/run runtime:rule:get NAME` | ||
_See code: [src/commands/runtime/rule/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/rule/get.js)_ | ||
_See code: [src/commands/runtime/rule/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/rule/get.js)_ | ||
@@ -1585,3 +1589,3 @@ ## `./bin/run runtime:rule:list` | ||
_See code: [src/commands/runtime/rule/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/rule/list.js)_ | ||
_See code: [src/commands/runtime/rule/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/rule/list.js)_ | ||
@@ -1615,3 +1619,3 @@ ## `./bin/run runtime:rule:status NAME` | ||
_See code: [src/commands/runtime/rule/status.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/rule/status.js)_ | ||
_See code: [src/commands/runtime/rule/status.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/rule/status.js)_ | ||
@@ -1648,3 +1652,3 @@ ## `./bin/run runtime:rule:update NAME TRIGGER ACTION` | ||
_See code: [src/commands/runtime/rule/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/rule/update.js)_ | ||
_See code: [src/commands/runtime/rule/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/rule/update.js)_ | ||
@@ -1675,3 +1679,3 @@ ## `./bin/run runtime:trigger` | ||
_See code: [src/commands/runtime/trigger/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/trigger/index.js)_ | ||
_See code: [src/commands/runtime/trigger/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/trigger/index.js)_ | ||
@@ -1709,3 +1713,3 @@ ## `./bin/run runtime:trigger:create TRIGGERNAME` | ||
_See code: [src/commands/runtime/trigger/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/trigger/create.js)_ | ||
_See code: [src/commands/runtime/trigger/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/trigger/create.js)_ | ||
@@ -1739,3 +1743,3 @@ ## `./bin/run runtime:trigger:delete TRIGGERPATH` | ||
_See code: [src/commands/runtime/trigger/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/trigger/delete.js)_ | ||
_See code: [src/commands/runtime/trigger/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/trigger/delete.js)_ | ||
@@ -1771,3 +1775,3 @@ ## `./bin/run runtime:trigger:fire TRIGGERNAME` | ||
_See code: [src/commands/runtime/trigger/fire.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/trigger/fire.js)_ | ||
_See code: [src/commands/runtime/trigger/fire.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/trigger/fire.js)_ | ||
@@ -1801,3 +1805,3 @@ ## `./bin/run runtime:trigger:get TRIGGERPATH` | ||
_See code: [src/commands/runtime/trigger/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/trigger/get.js)_ | ||
_See code: [src/commands/runtime/trigger/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/trigger/get.js)_ | ||
@@ -1835,3 +1839,3 @@ ## `./bin/run runtime:trigger:list` | ||
_See code: [src/commands/runtime/trigger/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/trigger/list.js)_ | ||
_See code: [src/commands/runtime/trigger/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/trigger/list.js)_ | ||
@@ -1869,3 +1873,3 @@ ## `./bin/run runtime:trigger:update TRIGGERNAME` | ||
_See code: [src/commands/runtime/trigger/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.3.0/src/commands/runtime/trigger/update.js)_ | ||
_See code: [src/commands/runtime/trigger/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.4.0/src/commands/runtime/trigger/update.js)_ | ||
<!-- commandsstop --> | ||
@@ -1872,0 +1876,0 @@ |
@@ -52,7 +52,7 @@ /* | ||
if (args.actionPath.endsWith('.zip')) { | ||
if (args.actionPath.endsWith('.zip') || flags.binary) { | ||
if (!flags.kind) { | ||
throw (new Error('Invalid argument(s). creating an action from a .zip artifact requires specifying the action kind explicitly')) | ||
} | ||
exec.code = fs.readFileSync(args.actionPath) | ||
exec.code = fs.readFileSync(args.actionPath).toString('base64') | ||
} else { | ||
@@ -206,2 +206,5 @@ exec.code = fs.readFileSync(args.actionPath, { encoding: 'utf8' }) | ||
}), | ||
binary: flags.boolean({ | ||
description: 'treat code artifact as binary' | ||
}), | ||
json: flags.boolean({ | ||
@@ -208,0 +211,0 @@ description: 'output raw json' |
@@ -34,21 +34,19 @@ /* | ||
*/ | ||
let web = 'namespaces' | ||
let actionValue = '/actions' | ||
const opts = ow.actions.client.options | ||
const webFlag = result.annotations.find(elem => elem.key === 'web-export') | ||
let actionPartOfPackage = false | ||
// check if action belongs to a package | ||
if (name.split('/').length > 1) { | ||
actionPartOfPackage = true | ||
const webAction = webFlag !== undefined && webFlag.value === true | ||
let [namespace, packageName] = result.namespace.split('/') | ||
const actionPartOfPackage = !!packageName | ||
if (webAction) { | ||
const web = 'web' | ||
packageName = actionPartOfPackage ? packageName : 'default' | ||
this.log(`${opts.api}${web}/${namespace}/${packageName}/${result.name}`) | ||
} else { | ||
const nsPrefix = 'namespaces' | ||
const actionPrefix = 'actions' | ||
packageName = actionPartOfPackage ? packageName + '/' : '' | ||
this.log(`${opts.api}${nsPrefix}/${namespace}/${actionPrefix}/${packageName}${result.name}`) | ||
} | ||
if (webFlag !== undefined && webFlag.value === true) { | ||
web = 'web' | ||
if (actionPartOfPackage) { | ||
actionValue = '' | ||
} else { | ||
actionValue = '/default' | ||
} | ||
} | ||
const [namespace] = result.namespace.split('/') | ||
const opts = ow.actions.client.options | ||
this.log(`${opts.api}${web}/${namespace}${actionValue}/${name}`) | ||
} else { | ||
@@ -55,0 +53,0 @@ const bSaveFile = flags['save-as'] && flags['save-as'].length > 0 |
@@ -65,3 +65,5 @@ /* | ||
get: (row) => { | ||
return row.annotations.find((elem) => { | ||
const { annotations } = row | ||
if (!annotations || !annotations.length) return | ||
return annotations.find((elem) => { | ||
return (elem.key === 'kind') | ||
@@ -73,3 +75,5 @@ }).value | ||
get: (row) => { | ||
const elem = row.annotations.find((elem) => { | ||
const { annotations } = row | ||
if (!annotations || !annotations.length) return | ||
const elem = annotations.find((elem) => { | ||
return (elem.key === 'initTime') | ||
@@ -91,3 +95,5 @@ }) | ||
get: (row) => { | ||
const path = row.annotations.find((elem) => { | ||
const { annotations } = row | ||
if (!annotations || !annotations.length) return | ||
const path = annotations.find((elem) => { | ||
return (elem.key === 'path') | ||
@@ -94,0 +100,0 @@ }).value |
@@ -672,3 +672,3 @@ /* | ||
async function syncProject (projectName, manifestPath, manifestContent, entities, ow, logger) { | ||
async function syncProject (projectName, manifestPath, manifestContent, entities, ow, logger, deleteEntities = true) { | ||
// find project hash from server based on entities in the manifest file | ||
@@ -681,3 +681,3 @@ const hashProjectSynced = await findProjectHashonServer(ow, projectName) | ||
await deployPackage(entities, ow, logger) | ||
if (projectHash !== hashProjectSynced) { | ||
if (deleteEntities && (projectHash !== hashProjectSynced)) { | ||
// delete old files with same project name that do not exist in the manifest file anymore | ||
@@ -684,0 +684,0 @@ const junkEntities = await getProjectEntities(hashProjectSynced, true, ow) |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
324831
4485
1829