Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add quiet mode #142

Open
csantanapr opened this issue Nov 22, 2017 · 0 comments
Open

add quiet mode #142

csantanapr opened this issue Nov 22, 2017 · 0 comments

Comments

@csantanapr
Copy link
Member

@dubeejw commented on Wed Mar 22 2017

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

@csantanapr, @mdeuser, this is technical debt, and should be fixed ASAP.


@csantanapr commented on Thu Mar 23 2017

Looking forward to a PR :)


@rabbah commented on Thu Mar 23 2017

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

Alternatively: --json or --raw to explicitly make the output machine-readable?


@dubeejw commented on Thu Mar 23 2017

@markusthoemmes, @rabbah, a flag like --raw would be accomplished through this issue: apache/openwhisk#2064.


@akrabat commented on Wed Apr 12 2017

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
@csantanapr csantanapr changed the title Refactor Printing and Formatting of Messages in CLI Refactor Printing and Formatting of Messages AND quite flag Nov 22, 2017
@csantanapr csantanapr changed the title Refactor Printing and Formatting of Messages AND quite flag Refactor Printing and Formatting of Messages AND quiet mode Nov 22, 2017
@rabbah rabbah changed the title Refactor Printing and Formatting of Messages AND quiet mode add quiet mode Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant