Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adobe/aio-cli-plugin-runtime

Package Overview
Dependencies
Maintainers
56
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/aio-cli-plugin-runtime - npm Package Compare versions

Comparing version 1.0.2-pre to 1.1.0

4

package.json
{
"name": "@adobe/aio-cli-plugin-runtime",
"description": "Adobe I/O Runtime commands for the Adobe I/O CLI",
"version": "1.0.2-pre",
"version": "1.1.0",
"author": "Adobe Inc.",
"bugs": "https://github.com/adobe/aio-cli-plugin-runtime/issues",
"dependencies": {
"@adobe/aio-cna-core-config": "^1.0.13",
"@adobe/aio-lib-core-config": "^1.0.15",
"@oclif/command": "^1.5.6",

@@ -10,0 +10,0 @@ "@oclif/config": "^1.9.0",

@@ -39,3 +39,3 @@ <!--

$ ./bin/run (-v|--version|version)
@adobe/aio-cli-plugin-runtime/1.0.2-pre darwin-x64 node-v10.11.0
@adobe/aio-cli-plugin-runtime/1.1.0 darwin-x64 node-v12.3.1
$ ./bin/run --help [COMMAND]

@@ -58,6 +58,6 @@ USAGE

* [`./bin/run runtime:activation`](#binrun-runtimeactivation)
* [`./bin/run runtime:activation:get ACTIVATIONID`](#binrun-runtimeactivationget-activationid)
* [`./bin/run runtime:activation:get [ACTIVATIONID]`](#binrun-runtimeactivationget-activationid)
* [`./bin/run runtime:activation:list [ACTIVATIONID]`](#binrun-runtimeactivationlist-activationid)
* [`./bin/run runtime:activation:logs ACTIVATIONID`](#binrun-runtimeactivationlogs-activationid)
* [`./bin/run runtime:activation:result ACTIVATIONID`](#binrun-runtimeactivationresult-activationid)
* [`./bin/run runtime:activation:logs [ACTIVATIONID]`](#binrun-runtimeactivationlogs-activationid)
* [`./bin/run runtime:activation:result [ACTIVATIONID]`](#binrun-runtimeactivationresult-activationid)
* [`./bin/run runtime:deploy`](#binrun-runtimedeploy)

@@ -129,3 +129,3 @@ * [`./bin/run runtime:deploy:export`](#binrun-runtimedeployexport)

_See code: [src/commands/runtime/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/index.js)_
_See code: [src/commands/runtime/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/index.js)_

@@ -156,3 +156,3 @@ ## `./bin/run runtime:action`

_See code: [src/commands/runtime/action/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/action/index.js)_
_See code: [src/commands/runtime/action/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/action/index.js)_

@@ -213,3 +213,3 @@ ## `./bin/run runtime:action:create ACTIONNAME [ACTIONPATH]`

_See code: [src/commands/runtime/action/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/action/create.js)_
_See code: [src/commands/runtime/action/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/action/create.js)_

@@ -233,3 +233,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.0.2-pre/src/commands/runtime/action/delete.js)_
_See code: [src/commands/runtime/action/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/action/delete.js)_

@@ -263,3 +263,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.0.2-pre/src/commands/runtime/action/get.js)_
_See code: [src/commands/runtime/action/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/action/get.js)_

@@ -294,3 +294,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.0.2-pre/src/commands/runtime/action/invoke.js)_
_See code: [src/commands/runtime/action/invoke.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/action/invoke.js)_

@@ -308,2 +308,3 @@ ## `./bin/run runtime:action:list`

-l, --limit=limit only return LIMIT number of actions from the collection (default 30)
-n, --name sort results by name
-s, --skip=skip exclude the first SKIP number of actions from the result

@@ -319,2 +320,3 @@ -u, --auth=auth whisk auth

--key=key client key
--name-sort sort results by name
--version Show version

@@ -332,3 +334,3 @@

_See code: [src/commands/runtime/action/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/action/list.js)_
_See code: [src/commands/runtime/action/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/action/list.js)_

@@ -389,3 +391,3 @@ ## `./bin/run runtime:action:update ACTIONNAME [ACTIONPATH]`

_See code: [src/commands/runtime/action/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/action/update.js)_
_See code: [src/commands/runtime/action/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/action/update.js)_

@@ -416,5 +418,5 @@ ## `./bin/run runtime:activation`

_See code: [src/commands/runtime/activation/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/activation/index.js)_
_See code: [src/commands/runtime/activation/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/activation/index.js)_
## `./bin/run runtime:activation:get ACTIVATIONID`
## `./bin/run runtime:activation:get [ACTIVATIONID]`

@@ -425,6 +427,7 @@ Retrieves an Activation

USAGE
$ ./bin/run runtime:activation:get ACTIVATIONID
$ ./bin/run runtime:activation:get [ACTIVATIONID]
OPTIONS
-i, --insecure bypass certificate check
-l, --last retrieves the most recent activation
-u, --auth=auth whisk auth

@@ -444,3 +447,3 @@ -v, --verbose Verbose output

_See code: [src/commands/runtime/activation/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/activation/get.js)_
_See code: [src/commands/runtime/activation/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/activation/get.js)_

@@ -500,5 +503,5 @@ ## `./bin/run runtime:activation:list [ACTIVATIONID]`

_See code: [src/commands/runtime/activation/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/activation/list.js)_
_See code: [src/commands/runtime/activation/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/activation/list.js)_
## `./bin/run runtime:activation:logs ACTIVATIONID`
## `./bin/run runtime:activation:logs [ACTIVATIONID]`

@@ -509,6 +512,8 @@ Retrieves the Logs for an Activation

USAGE
$ ./bin/run runtime:activation:logs ACTIVATIONID
$ ./bin/run runtime:activation:logs [ACTIVATIONID]
OPTIONS
-i, --insecure bypass certificate check
-l, --last retrieves the most recent activation log
-r, --strip strip timestamp information and output first line only
-u, --auth=auth whisk auth

@@ -526,9 +531,13 @@ -v, --verbose Verbose output

$ ./bin/run runtime:activation:log
$ ./bin/run runtime:log
$ ./bin/run runtime:logs
$ ./bin/run rt:activation:logs
$ ./bin/run rt:activation:log
$ ./bin/run rt:log
$ ./bin/run rt:logs
```
_See code: [src/commands/runtime/activation/logs.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/activation/logs.js)_
_See code: [src/commands/runtime/activation/logs.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/activation/logs.js)_
## `./bin/run runtime:activation:result ACTIVATIONID`
## `./bin/run runtime:activation:result [ACTIVATIONID]`

@@ -539,6 +548,7 @@ Retrieves the Results for an Activation

USAGE
$ ./bin/run runtime:activation:result ACTIVATIONID
$ ./bin/run runtime:activation:result [ACTIVATIONID]
OPTIONS
-i, --insecure bypass certificate check
-l, --last retrieves the most recent activation result
-u, --auth=auth whisk auth

@@ -558,3 +568,3 @@ -v, --verbose Verbose output

_See code: [src/commands/runtime/activation/result.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/activation/result.js)_
_See code: [src/commands/runtime/activation/result.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/activation/result.js)_

@@ -589,3 +599,3 @@ ## `./bin/run runtime:deploy`

_See code: [src/commands/runtime/deploy/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/deploy/index.js)_
_See code: [src/commands/runtime/deploy/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/deploy/index.js)_

@@ -618,3 +628,3 @@ ## `./bin/run runtime:deploy:export`

_See code: [src/commands/runtime/deploy/export.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/deploy/export.js)_
_See code: [src/commands/runtime/deploy/export.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/deploy/export.js)_

@@ -647,3 +657,3 @@ ## `./bin/run runtime:deploy:report`

_See code: [src/commands/runtime/deploy/report.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/deploy/report.js)_
_See code: [src/commands/runtime/deploy/report.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/deploy/report.js)_

@@ -676,3 +686,3 @@ ## `./bin/run runtime:deploy:sync`

_See code: [src/commands/runtime/deploy/sync.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/deploy/sync.js)_
_See code: [src/commands/runtime/deploy/sync.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/deploy/sync.js)_

@@ -705,3 +715,3 @@ ## `./bin/run runtime:deploy:undeploy`

_See code: [src/commands/runtime/deploy/undeploy.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/deploy/undeploy.js)_
_See code: [src/commands/runtime/deploy/undeploy.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/deploy/undeploy.js)_

@@ -732,3 +742,3 @@ ## `./bin/run runtime:deploy:version`

_See code: [src/commands/runtime/deploy/version.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/deploy/version.js)_
_See code: [src/commands/runtime/deploy/version.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/deploy/version.js)_

@@ -761,3 +771,3 @@ ## `./bin/run runtime:namespace`

_See code: [src/commands/runtime/namespace/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/namespace/index.js)_
_See code: [src/commands/runtime/namespace/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/namespace/index.js)_

@@ -774,2 +784,3 @@ ## `./bin/run runtime:namespace:get`

-i, --insecure bypass certificate check
-n, --name sort results by name
-u, --auth=auth whisk auth

@@ -784,2 +795,3 @@ -v, --verbose Verbose output

--key=key client key
--name-sort sort results by name
--version Show version

@@ -795,3 +807,3 @@

_See code: [src/commands/runtime/namespace/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/namespace/get.js)_
_See code: [src/commands/runtime/namespace/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/namespace/get.js)_

@@ -829,3 +841,3 @@ ## `./bin/run runtime:namespace:list`

_See code: [src/commands/runtime/namespace/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/namespace/list.js)_
_See code: [src/commands/runtime/namespace/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/namespace/list.js)_

@@ -858,3 +870,3 @@ ## `./bin/run runtime:package`

_See code: [src/commands/runtime/package/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/package/index.js)_
_See code: [src/commands/runtime/package/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/package/index.js)_

@@ -892,3 +904,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.0.2-pre/src/commands/runtime/package/bind.js)_
_See code: [src/commands/runtime/package/bind.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/package/bind.js)_

@@ -927,3 +939,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.0.2-pre/src/commands/runtime/package/create.js)_
_See code: [src/commands/runtime/package/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/package/create.js)_

@@ -947,3 +959,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.0.2-pre/src/commands/runtime/package/delete.js)_
_See code: [src/commands/runtime/package/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/package/delete.js)_

@@ -976,3 +988,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.0.2-pre/src/commands/runtime/package/get.js)_
_See code: [src/commands/runtime/package/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/package/get.js)_

@@ -990,2 +1002,3 @@ ## `./bin/run runtime:package:list [NAMESPACE]`

-l, --limit=limit only return LIMIT number of packages from the collection (default 30)
-n, --name sort results by name
-s, --skip=skip exclude the first SKIP number of packages from the result

@@ -1001,2 +1014,3 @@ -u, --auth=auth whisk auth

--key=key client key
--name-sort sort results by name
--version Show version

@@ -1014,3 +1028,3 @@

_See code: [src/commands/runtime/package/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/package/list.js)_
_See code: [src/commands/runtime/package/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/package/list.js)_

@@ -1049,3 +1063,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.0.2-pre/src/commands/runtime/package/update.js)_
_See code: [src/commands/runtime/package/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/package/update.js)_

@@ -1077,3 +1091,3 @@ ## `./bin/run runtime:property`

_See code: [src/commands/runtime/property/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/property/index.js)_
_See code: [src/commands/runtime/property/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/property/index.js)_

@@ -1111,3 +1125,3 @@ ## `./bin/run runtime:property:get`

_See code: [src/commands/runtime/property/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/property/get.js)_
_See code: [src/commands/runtime/property/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/property/get.js)_

@@ -1141,3 +1155,3 @@ ## `./bin/run runtime:property:set`

_See code: [src/commands/runtime/property/set.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/property/set.js)_
_See code: [src/commands/runtime/property/set.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/property/set.js)_

@@ -1171,3 +1185,3 @@ ## `./bin/run runtime:property:unset`

_See code: [src/commands/runtime/property/unset.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/property/unset.js)_
_See code: [src/commands/runtime/property/unset.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/property/unset.js)_

@@ -1199,3 +1213,3 @@ ## `./bin/run runtime:route`

_See code: [src/commands/runtime/route/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/route/index.js)_
_See code: [src/commands/runtime/route/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/route/index.js)_

@@ -1248,3 +1262,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.0.2-pre/src/commands/runtime/route/create.js)_
_See code: [src/commands/runtime/route/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/route/create.js)_

@@ -1282,3 +1296,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.0.2-pre/src/commands/runtime/route/delete.js)_
_See code: [src/commands/runtime/route/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/route/delete.js)_

@@ -1314,3 +1328,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.0.2-pre/src/commands/runtime/route/get.js)_
_See code: [src/commands/runtime/route/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/route/get.js)_

@@ -1355,3 +1369,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.0.2-pre/src/commands/runtime/route/list.js)_
_See code: [src/commands/runtime/route/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/route/list.js)_

@@ -1382,3 +1396,3 @@ ## `./bin/run runtime:rule`

_See code: [src/commands/runtime/rule/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/rule/index.js)_
_See code: [src/commands/runtime/rule/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/rule/index.js)_

@@ -1415,3 +1429,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.0.2-pre/src/commands/runtime/rule/create.js)_
_See code: [src/commands/runtime/rule/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/rule/create.js)_

@@ -1445,3 +1459,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.0.2-pre/src/commands/runtime/rule/delete.js)_
_See code: [src/commands/runtime/rule/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/rule/delete.js)_

@@ -1475,3 +1489,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.0.2-pre/src/commands/runtime/rule/disable.js)_
_See code: [src/commands/runtime/rule/disable.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/rule/disable.js)_

@@ -1505,3 +1519,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.0.2-pre/src/commands/runtime/rule/enable.js)_
_See code: [src/commands/runtime/rule/enable.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/rule/enable.js)_

@@ -1535,3 +1549,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.0.2-pre/src/commands/runtime/rule/get.js)_
_See code: [src/commands/runtime/rule/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/rule/get.js)_

@@ -1549,2 +1563,3 @@ ## `./bin/run runtime:rule:list`

-l, --limit=limit [default: 30] Limit number of rules returned. Default 30
-n, --name sort results by name
-s, --skip=skip Skip number of rules returned

@@ -1560,2 +1575,3 @@ -u, --auth whisk auth

--key client key
--name-sort sort results by name
--version Show version

@@ -1569,3 +1585,3 @@

_See code: [src/commands/runtime/rule/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/rule/list.js)_
_See code: [src/commands/runtime/rule/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/rule/list.js)_

@@ -1599,3 +1615,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.0.2-pre/src/commands/runtime/rule/status.js)_
_See code: [src/commands/runtime/rule/status.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/rule/status.js)_

@@ -1632,3 +1648,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.0.2-pre/src/commands/runtime/rule/update.js)_
_See code: [src/commands/runtime/rule/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/rule/update.js)_

@@ -1659,3 +1675,3 @@ ## `./bin/run runtime:trigger`

_See code: [src/commands/runtime/trigger/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/trigger/index.js)_
_See code: [src/commands/runtime/trigger/index.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/trigger/index.js)_

@@ -1693,3 +1709,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.0.2-pre/src/commands/runtime/trigger/create.js)_
_See code: [src/commands/runtime/trigger/create.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/trigger/create.js)_

@@ -1723,3 +1739,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.0.2-pre/src/commands/runtime/trigger/delete.js)_
_See code: [src/commands/runtime/trigger/delete.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/trigger/delete.js)_

@@ -1755,3 +1771,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.0.2-pre/src/commands/runtime/trigger/fire.js)_
_See code: [src/commands/runtime/trigger/fire.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/trigger/fire.js)_

@@ -1785,3 +1801,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.0.2-pre/src/commands/runtime/trigger/get.js)_
_See code: [src/commands/runtime/trigger/get.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/trigger/get.js)_

@@ -1799,2 +1815,3 @@ ## `./bin/run runtime:trigger:list`

-l, --limit=limit [default: 30] only return LIMIT number of triggers from the collection (default 30)
-n, --name sort results by name
-s, --skip=skip exclude the first SKIP number of triggers from the result

@@ -1810,2 +1827,3 @@ -u, --auth whisk auth

--key client key
--name-sort sort results by name
--version Show version

@@ -1819,3 +1837,3 @@

_See code: [src/commands/runtime/trigger/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.0.2-pre/src/commands/runtime/trigger/list.js)_
_See code: [src/commands/runtime/trigger/list.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/trigger/list.js)_

@@ -1853,3 +1871,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.0.2-pre/src/commands/runtime/trigger/update.js)_
_See code: [src/commands/runtime/trigger/update.js](https://github.com/adobe/aio-cli-plugin-runtime/blob/v1.1.0/src/commands/runtime/trigger/update.js)_
<!-- commandsstop -->

@@ -1856,0 +1874,0 @@

@@ -117,4 +117,3 @@ /*

{
name: 'actionPath',
required: false
name: 'actionPath'
}

@@ -128,45 +127,26 @@ ]

description: 'parameter values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
web: flags.string({
description: 'treat ACTION as a web action or as a raw HTTP web action', // help description for flag
multiple: false, // allow setting this flag multiple times
options: ['true', 'yes', 'false', 'no', 'raw'],
required: false
options: ['true', 'yes', 'false', 'no', 'raw']
}),
'param-file': flags.string({
char: 'P',
description: 'FILE containing parameter values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing parameter values in JSON format' // help description for flag
}),
timeout: flags.integer({
char: 't',
description: 'the timeout LIMIT in milliseconds after which the action is terminated (default 60000)', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'the timeout LIMIT in milliseconds after which the action is terminated (default 60000)' // help description for flag
}),
memory: flags.integer({
char: 'm',
description: 'the maximum memory LIMIT in MB for the action (default 256)', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'the maximum memory LIMIT in MB for the action (default 256)' // help description for flag
}),
logsize: flags.integer({
char: 'l',
description: 'the maximum log size LIMIT in MB for the action (default 10)', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'the maximum log size LIMIT in MB for the action (default 10)' // help description for flag
}),
kind: flags.string({
description: 'the KIND of the action runtime (example: swift:default, nodejs:default)', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false,
default: 'nodejs:10'

@@ -177,18 +157,10 @@ }),

description: 'annotation values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'annotation-file': flags.string({
char: 'A',
description: 'FILE containing annotation values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing annotation values in JSON format' // help description for flag
}),
sequence: flags.string({
description: 'treat ACTION as comma separated sequence of actions to invoke', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'treat ACTION as comma separated sequence of actions to invoke' // help description for flag
}),

@@ -195,0 +167,0 @@ main: flags.string({

@@ -89,4 +89,3 @@ /*

char: 'r',
description: 'get action url',
required: false
description: 'get action url'
}),

@@ -93,0 +92,0 @@ save: flags.boolean({

@@ -56,12 +56,7 @@ /*

description: 'parameter values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'param-file': flags.string({
char: 'P',
description: 'FILE containing parameter values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing parameter values in JSON format' // help description for flag
}),

@@ -71,5 +66,2 @@ blocking: flags.boolean({

description: 'blocking invoke', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false,
default: false

@@ -80,5 +72,2 @@ }),

description: 'blocking invoke; show only activation result (unless there is a failure)', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false,
default: false

@@ -85,0 +74,0 @@ })

@@ -23,2 +23,5 @@ /*

const result = await ow.actions.list(flags)
if (flags['name-sort'] || flags.name) {
result.sort((a, b) => a.name.localeCompare(b.name))
}
if (flags.json) {

@@ -35,2 +38,3 @@ this.logJSON('', result)

header: '',
minWidth: 7,
get: row => `${row.publish === false ? 'private' : 'public'}`

@@ -57,15 +61,17 @@ },

char: 'l',
description: 'only return LIMIT number of actions from the collection (default 30)',
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false // not mandatory
description: 'only return LIMIT number of actions from the collection (default 30)'
}),
skip: flags.integer({
char: 's',
description: 'exclude the first SKIP number of actions from the result',
multiple: false, // allow setting this flag multiple times
required: false // not mandatory
description: 'exclude the first SKIP number of actions from the result'
}),
json: flags.boolean({
description: 'output raw json'
}),
'name-sort': flags.boolean({
description: 'sort results by name'
}),
name: flags.boolean({
char: 'n',
description: 'sort results by name'
})

@@ -72,0 +78,0 @@ }

@@ -125,4 +125,3 @@ /*

{
name: 'actionPath',
required: false
name: 'actionPath'
}

@@ -136,45 +135,26 @@ ]

description: 'parameter to be passed to the action', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
web: flags.string({
description: 'treat ACTION as a web action or as a raw HTTP web action. web = true/yes|raw or web = false/no', // help description for flag
multiple: false, // allow setting this flag multiple times
options: ['true', 'yes', 'false', 'no', 'raw'],
required: false
options: ['true', 'yes', 'false', 'no', 'raw']
}),
'param-file': flags.string({
char: 'P',
description: 'parameter to be passed to the action for json params', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'parameter to be passed to the action for json params' // help description for flag
}),
timeout: flags.integer({
char: 't',
description: 'the timeout LIMIT in milliseconds after which the action is terminated (default 60000)', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'the timeout LIMIT in milliseconds after which the action is terminated (default 60000)' // help description for flag
}),
memory: flags.integer({
char: 'm',
description: 'the maximum memory LIMIT in MB for the action (default 256)', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'the maximum memory LIMIT in MB for the action (default 256)' // help description for flag
}),
logsize: flags.integer({
char: 'l',
description: 'the maximum log size LIMIT in MB for the action (default 10)', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'the maximum log size LIMIT in MB for the action (default 10)' // help description for flag
}),
kind: flags.string({
description: 'the KIND of the action runtime (example: swift:default, nodejs:default)', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'the KIND of the action runtime (example: swift:default, nodejs:default)' // help description for flag
}),

@@ -184,12 +164,7 @@ annotation: flags.string({

description: 'annotation values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'annotation-file': flags.string({
char: 'A',
description: 'FILE containing annotation values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing annotation values in JSON format' // help description for flag
}),

@@ -200,6 +175,3 @@ json: flags.boolean({

sequence: flags.string({
description: 'treat ACTION as comma separated sequence of actions to invoke', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'treat ACTION as comma separated sequence of actions to invoke' // help description for flag
}),

@@ -206,0 +178,0 @@ main: flags.string({

@@ -12,3 +12,3 @@ /*

*/
const { flags } = require('@oclif/command')
const RuntimeBaseCommand = require('../../../RuntimeBaseCommand')

@@ -18,6 +18,13 @@

async run () {
const { args } = this.parse(ActivationGet)
const id = args.activationID
const { args, flags } = this.parse(ActivationGet)
let id = args.activationID
try {
const ow = await this.wsk()
if (flags.last) {
const ax = await ow.activations.list({ limit: 1, skip: 0 })
id = ax[0].activationId
}
if (!id) {
this.error('missing required argument activationID')
}
const result = await ow.activations.get(id)

@@ -33,7 +40,14 @@ this.logJSON('', result)

{
name: 'activationID',
required: true
name: 'activationID'
}
]
ActivationGet.flags = {
...RuntimeBaseCommand.flags,
last: flags.boolean({
char: 'l',
description: 'retrieves the most recent activation'
})
}
ActivationGet.description = 'Retrieves an Activation'

@@ -40,0 +54,0 @@ ActivationGet.aliases = [

@@ -110,4 +110,3 @@ /*

{
name: 'activationID',
required: false
name: 'activationID'
}

@@ -121,25 +120,13 @@ ]

char: 'l',
description: 'only return LIMIT number of activations from the collection with a maximum LIMIT of 200 activations (default 30)',
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false // not mandatory
description: 'only return LIMIT number of activations from the collection with a maximum LIMIT of 200 activations (default 30)'
}),
skip: flags.integer({
char: 's',
description: 'exclude the first SKIP number of activations from the result',
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false // not mandatory
description: 'exclude the first SKIP number of activations from the result'
}),
since: flags.integer({
description: 'return activations with timestamps later than SINCE; measured in milliseconds since Th, 01, Jan 1970',
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false // not mandatory
description: 'return activations with timestamps later than SINCE; measured in milliseconds since Th, 01, Jan 1970'
}),
upto: flags.integer({
description: 'return activations with timestamps earlier than UPTO; measured in milliseconds since Th, 01, Jan 1970',
multiple: false, // allow setting this flag multiple times
hidden: false, // hide from help
required: false // not mandatory
description: 'return activations with timestamps earlier than UPTO; measured in milliseconds since Th, 01, Jan 1970'
}),

@@ -146,0 +133,0 @@ json: flags.boolean({

@@ -13,12 +13,45 @@ /*

const { flags } = require('@oclif/command')
const RuntimeBaseCommand = require('../../../RuntimeBaseCommand')
// for lines starting with date-time-string and 6 spaces, returns stdout|stderr and everything after
const dtsRegex = /\d{4}-[01]{1}\d{1}-[0-3]{1}\d{1}T[0-2]{1}\d{1}:[0-6]{1}\d{1}:[0-6]{1}\d{1}.\d+Z {6}((stdout|stderr):)?\s(.*)/
const stripLog = (elem) => {
// `2019-10-11T19:08:57.298Z stdout: login-success :: { code: ...`
// should become: `login-success :: { code: ...`
const found = elem.match(dtsRegex)
if (found && found.length > 3 && found[3].length > 0) {
return found[3]
}
return elem
}
class ActivationLogs extends RuntimeBaseCommand {
async run () {
const { args } = this.parse(ActivationLogs)
const id = args.activationID
const { args, flags } = this.parse(ActivationLogs)
let id = args.activationID // note: could be null, but we wait to check
const ow = await this.wsk()
if (flags.last) {
const ax = await ow.activations.list({ limit: 1, skip: 0 })
id = ax[0].activationId
this.log('activation logs %s', id)
}
if (!id) {
// just a thought, but we could just return --last activation log when no id is present
this.error('Missing required arg: `activationID`')
}
try {
const ow = await this.wsk()
const result = await ow.activations.logs(id)
this.logJSON('', result)
if (result.logs) {
result.logs.forEach(elem => {
if (flags.strip) {
this.log(stripLog(elem))
} else {
this.log(elem)
}
})
}
} catch (err) {

@@ -32,7 +65,18 @@ this.handleError('failed to retrieve the logs', err)

{
name: 'activationID',
required: true
name: 'activationID'
}
]
ActivationLogs.flags = {
...RuntimeBaseCommand.flags,
last: flags.boolean({
char: 'l',
description: 'retrieves the most recent activation log'
}),
strip: flags.boolean({
char: 'r',
description: 'strip timestamp information and output first line only'
})
}
ActivationLogs.description = 'Retrieves the Logs for an Activation'

@@ -42,6 +86,10 @@

'runtime:activation:log',
'runtime:log',
'runtime:logs',
'rt:activation:logs',
'rt:activation:log'
'rt:activation:log',
'rt:log',
'rt:logs'
]
module.exports = ActivationLogs

@@ -13,2 +13,3 @@ /*

const { flags } = require('@oclif/command')
const RuntimeBaseCommand = require('../../../RuntimeBaseCommand')

@@ -18,6 +19,14 @@

async run () {
const { args } = this.parse(ActivationResult)
const id = args.activationID
const { args, flags } = this.parse(ActivationResult)
let id = args.activationID
try {
const ow = await this.wsk()
if (flags.last) {
const ax = await ow.activations.list({ limit: 1, skip: 0 })
id = ax[0].activationId
}
if (!id) {
this.error('missing required argument activationID')
}
const result = await ow.activations.result(id)

@@ -33,7 +42,14 @@ this.logJSON('', result)

{
name: 'activationID',
required: true
name: 'activationID'
}
]
ActivationResult.flags = {
...RuntimeBaseCommand.flags,
last: flags.boolean({
char: 'l',
description: 'retrieves the most recent activation result'
})
}
ActivationResult.description = 'Retrieves the Results for an Activation'

@@ -40,0 +56,0 @@

@@ -48,6 +48,3 @@ /*

char: 'm',
description: 'the manifest file location', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'the manifest file location' // help description for flag
}),

@@ -60,12 +57,7 @@ deployment: flags.string({

description: 'parameter values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'param-file': flags.string({
char: 'P',
description: 'FILE containing parameter values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing parameter values in JSON format' // help description for flag
})

@@ -72,0 +64,0 @@ }

@@ -94,9 +94,7 @@ /*

char: 'm',
description: 'the manifest file location', // help description for flag
required: false
description: 'the manifest file location' // help description for flag
}),
deployment: flags.string({
char: 'd',
description: 'the deployment file location', // help description for flag
required: false
description: 'the deployment file location' // help description for flag
})

@@ -103,0 +101,0 @@ }

@@ -179,5 +179,3 @@ /*

char: 'm',
description: 'the manifest file location', // help description for flag
multiple: false, // allow setting this flag multiple times
required: false
description: 'the manifest file location' // help description for flag
}),

@@ -184,0 +182,0 @@ deployment: flags.string({

@@ -78,5 +78,8 @@ /*

const firstProp = (obj) => Object.keys(obj)[0]
let basepath = firstProp(packages[key]['apis'][api])
basepath = '/' + basepath
apis.push(basepath)
const basepathProp = firstProp(packages[key]['apis'][api])
apis.push({
name: api,
basepath: '/' + basepathProp,
relpath: '/' + firstProp(packages[key]['apis'][api][basepathProp])
})
})

@@ -104,3 +107,3 @@ }

this.log(`Info: Undeploying api [${api.name}]...`)
await ow.routes.delete(api)
await ow.routes.delete({ basepath: api.basepath, relpath: api.relpath }) // cannot use name + basepath
this.log(`Info: api [${api.name}] has been successfully undeployed.\n`)

@@ -126,8 +129,6 @@ }

char: 'm',
description: 'the manifest file location', // help description for flag
required: false
description: 'the manifest file location' // help description for flag
}),
projectname: flags.string({
description: 'the name of the project to be undeployed', // help description for flag
required: false
description: 'the name of the project to be undeployed' // help description for flag
})

@@ -134,0 +135,0 @@ }

@@ -28,2 +28,3 @@ /*

'no-truncate': true,
minWidth: 8,
get: row => `${row.publish === false ? 'private' : 'public'}`

@@ -70,3 +71,8 @@ },

data.rules = await getRulesWithStatus(ow, data.rules)
if (flags['name-sort'] || flags.name) {
data.rules.sort((a, b) => a.name.localeCompare(b.name))
data.actions.sort((a, b) => a.name.localeCompare(b.name))
data.packages.sort((a, b) => a.name.localeCompare(b.name))
data.triggers.sort((a, b) => a.name.localeCompare(b.name))
}
if (flags.json) {

@@ -92,2 +98,9 @@ this.logJSON('', data)

description: 'output raw json'
}),
'name-sort': flags.boolean({
description: 'sort results by name'
}),
name: flags.boolean({
char: 'n',
description: 'sort results by name'
})

@@ -94,0 +107,0 @@ }

@@ -80,12 +80,7 @@ /*

description: 'parameters in key value pairs to be passed to the package', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'param-file': flags.string({
char: 'P',
description: 'parameter to be passed to the package for json file', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'parameter to be passed to the package for json file' // help description for flag
}),

@@ -95,12 +90,7 @@ annotation: flags.string({

description: 'annotation values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'annotation-file': flags.string({
char: 'A',
description: 'FILE containing annotation values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing annotation values in JSON format' // help description for flag
}),

@@ -107,0 +97,0 @@ json: flags.boolean({

@@ -75,19 +75,11 @@ /*

description: 'parameters in key value pairs to be passed to the package', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'param-file': flags.string({
char: 'P',
description: 'parameter to be passed to the package for json file', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'parameter to be passed to the package for json file' // help description for flag
}),
shared: flags.string({
description: 'parameter to be passed to indicate whether package is shared or private',
hidden: false, // hide from help
options: ['true', 'yes', 'false', 'no'],
multiple: false, // allow setting this flag multiple times
required: false
options: ['true', 'yes', 'false', 'no']
}),

@@ -97,12 +89,7 @@ annotation: flags.string({

description: 'annotation values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'annotation-file': flags.string({
char: 'A',
description: 'FILE containing annotation values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing annotation values in JSON format' // help description for flag
}),

@@ -109,0 +96,0 @@ json: flags.boolean({

@@ -33,2 +33,5 @@ /*

const result = await ow.packages.list(options)
if (flags['name-sort'] || flags.name) {
result.sort((a, b) => a.name.localeCompare(b.name))
}
if (flags.json) {

@@ -45,2 +48,3 @@ this.logJSON('', result)

header: '',
minWidth: 7,
get: row => `${row.publish === false ? 'private' : 'public'}`

@@ -63,15 +67,17 @@ }

char: 'l',
description: 'only return LIMIT number of packages from the collection (default 30)',
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false // not mandatory
description: 'only return LIMIT number of packages from the collection (default 30)'
}),
skip: flags.integer({
char: 's',
description: 'exclude the first SKIP number of packages from the result',
multiple: false, // allow setting this flag multiple times
required: false // not mandatory
description: 'exclude the first SKIP number of packages from the result'
}),
json: flags.boolean({
description: 'output raw json'
}),
'name-sort': flags.boolean({
description: 'sort results by name'
}),
name: flags.boolean({
char: 'n',
description: 'sort results by name'
})

@@ -82,4 +88,3 @@ }

{
name: 'namespace',
required: false
name: 'namespace'
}

@@ -86,0 +91,0 @@ ]

@@ -78,19 +78,11 @@ /*

description: 'parameter values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'param-file': flags.string({
char: 'P',
description: 'FILE containing parameter values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing parameter values in JSON format' // help description for flag
}),
shared: flags.string({
description: 'parameter to be passed to indicate whether package is shared or private', // help description for flag
hidden: false, // hide from help
options: ['true', 'yes', 'false', 'no'],
multiple: false, // allow setting this flag multiple times
required: false
options: ['true', 'yes', 'false', 'no']
}),

@@ -100,12 +92,7 @@ annotation: flags.string({

description: 'annotation values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'annotation-file': flags.string({
char: 'A',
description: 'FILE containing annotation values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing annotation values in JSON format' // help description for flag
}),

@@ -112,0 +99,0 @@ json: flags.boolean({

@@ -18,3 +18,3 @@ /*

const debug = require('debug')('aio-cli-plugin-runtime/property')
const config = require('@adobe/aio-cna-core-config')
const config = require('@adobe/aio-lib-core-config')

@@ -21,0 +21,0 @@ class PropertyGet extends RuntimeBaseCommand {

@@ -43,3 +43,2 @@ /*

name: 'relPath',
required: false,
description: 'The path of the api relative to the base path'

@@ -49,3 +48,2 @@ },

name: 'apiVerb',
required: false,
description: 'The http verb',

@@ -52,0 +50,0 @@ options: ['get', 'post', 'put', 'patch', 'delete', 'head', 'options']

@@ -89,3 +89,2 @@ /*

name: 'basePath',
required: false,
description: 'The base path of the api'

@@ -95,3 +94,2 @@ },

name: 'relPath',
required: false,
description: 'The path of the api relative to the base path'

@@ -101,3 +99,2 @@ },

name: 'apiVerb',
required: false,
description: 'The http verb',

@@ -104,0 +101,0 @@ options: ['get', 'post', 'put', 'patch', 'delete', 'head', 'options']

@@ -23,2 +23,5 @@ /*

const result = await ow.rules.list(RuleListObject)
if (flags['name-sort'] || flags.name) {
result.sort((a, b) => a.name.localeCompare(b.name))
}
const p = Promise.all(

@@ -68,5 +71,2 @@ result.map(item => {

description: 'Limit number of rules returned. Default 30',
multiple: false,
hidden: false,
required: false,
default: 30

@@ -76,9 +76,13 @@ }),

char: 's',
description: 'Skip number of rules returned',
multiple: false,
hidden: false,
required: false
description: 'Skip number of rules returned'
}),
json: flags.boolean({
description: 'output raw json'
}),
'name-sort': flags.boolean({
description: 'sort results by name'
}),
name: flags.boolean({
char: 'n',
description: 'sort results by name'
})

@@ -85,0 +89,0 @@ }

@@ -75,12 +75,7 @@ /*

description: 'parameter values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'param-file': flags.string({
char: 'P',
description: 'FILE containing parameter values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing parameter values in JSON format' // help description for flag
}),

@@ -90,12 +85,7 @@ annotation: flags.string({

description: 'annotation values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'annotation-file': flags.string({
char: 'A',
description: 'FILE containing annotation values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing annotation values in JSON format' // help description for flag
})

@@ -102,0 +92,0 @@ }

@@ -64,12 +64,7 @@ /*

description: 'parameter values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'param-file': flags.string({
char: 'P',
description: 'FILE containing parameter values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing parameter values in JSON format' // help description for flag
})

@@ -76,0 +71,0 @@ }

@@ -31,2 +31,5 @@ /*

const result = await ow.triggers.list(options)
if (flags['name-sort'] || flags.name) {
result.sort((a, b) => a.name.localeCompare(b.name))
}

@@ -44,2 +47,3 @@ if (flags.json) {

header: '',
minWidth: 7,
get: row => `${row.publish === false ? 'private' : 'public'}`

@@ -69,2 +73,9 @@ }

description: 'output raw json'
}),
'name-sort': flags.boolean({
description: 'sort results by name'
}),
name: flags.boolean({
char: 'n',
description: 'sort results by name'
})

@@ -71,0 +82,0 @@ }

@@ -75,12 +75,7 @@ /*

description: 'parameter values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'param-file': flags.string({
char: 'P',
description: 'FILE containing parameter values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing parameter values in JSON format' // help description for flag
}),

@@ -90,12 +85,7 @@ annotation: flags.string({

description: 'annotation values in KEY VALUE format', // help description for flag
hidden: false, // hide from help
multiple: true, // allow setting this flag multiple times
required: false
multiple: true // allow setting this flag multiple times
}),
'annotation-file': flags.string({
char: 'A',
description: 'FILE containing annotation values in JSON format', // help description for flag
hidden: false, // hide from help
multiple: false, // allow setting this flag multiple times
required: false
description: 'FILE containing annotation values in JSON format' // help description for flag
})

@@ -102,0 +92,0 @@ }

@@ -16,3 +16,3 @@ /*

const PropertiesReader = require('properties-reader')
const config = require('@adobe/aio-cna-core-config')
const config = require('@adobe/aio-lib-core-config')

@@ -19,0 +19,0 @@ const PropertyKey = {

@@ -20,3 +20,3 @@ /*

const OpenWhisk = require('openwhisk')
const config = require('@adobe/aio-cna-core-config')
const config = require('@adobe/aio-lib-core-config')

@@ -23,0 +23,0 @@ class RuntimeBaseCommand extends Command {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc