You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
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
changed the title
Refactor Printing and Formatting of Messages AND quiet mode
add quiet mode
Feb 24, 2019
@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:
The text was updated successfully, but these errors were encountered: