You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/10/09 14:17:53 UTC
[GitHub] Juice10 opened a new issue #2841: Feature Request: Add support for `--result` flag to `activations get`
Juice10 opened a new issue #2841: Feature Request: Add support for `--result` flag to `activations get`
URL: https://github.com/apache/incubator-openwhisk/issues/2841
It would be really great to have support for the `--result` or `-r` flag when calling `wsk activations get`
This would make the cli consistent with the action invoke flags available: `wsk action invoke [action name] --result`.
## Example
Retrieve the result of "my hello world action":
```
$ wsk action invoke my-hello-world-action --blocking --result
{
"message": "Hello World"
}
```
Retrieve the same result via the activations list:
```
$ wsk activations get --last --result
{
"message": "Hello World"
}
```
Response I currently get:
```
$ wsk activations get --last --result
unknown flag: --result
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services