add quiet mode
- Dominant language
- Go
- Stars
- 109
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
@dubeejw commented on [Wed Mar 22 2017](https://github.com/apache/incubator-openwhisk/issues/2062)
CLI code is hard to read as the externalized string package being used requires a map of keys and values. This process should be abstracted to make the code more readable.
---
@dubeejw commented on [Wed Mar 22 2017](https://github.com/apache/incubator-openwhisk/issues/2062#issuecomment-288584469)
@csantanapr, @mdeuser, this is technical debt, and should be fixed ASAP.
---
@csantanapr commented on [Thu Mar 23 2017](https://github.com/apache/incubator-openwhisk/issues/2062#issuecomment-288710525)
Looking forward to a PR :)
---
@rabbah commented on [Thu Mar 23 2017](https://github.com/apache/incubator-openwhisk/issues/2062#issuecomment-288711448)
As part of doing this, consider: adding quiet mode which omits "ok:" and "error:" lines so that raw Json responses are more amenable to post processing.
---
@markusthoemmes commented on [Thu Mar 23 2017](https://github.com/apache/incubator-openwhisk/issues/2062#issuecomment-288724315)
Alternatively: `--json` or `--raw` to explicitly make the output machine-readable?
---
@dubeejw commented on [Thu Mar 23 2017](https://github.com/apache/incubator-openwhisk/issues/2062#issuecomment-288739227)
@markusthoemmes, @rabbah, a flag like `--raw` would be accomplished through this issue: https://github.com/openwhisk/openwhisk/issues/2064.
---
@akrabat commented on [Wed Apr 12 2017](https://github.com/apache/incubator-openwhisk/issues/2062#issuecomment-293527983)
A quiet mode would be handy for property get too. That way I wouldn't need to do this:
wsk property get --cliversion | rev | cut -f1 | rev
Contributor guide
Assessment
This issue has not been assessed yet.