openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-openwhisk-cli] neerajmangal edited a comment on issue #430: "wsk property get" should return raw output when provided with specific property.
Date Tue, 26 Mar 2019 15:58:43 GMT
neerajmangal edited a comment on issue #430: "wsk property get" should return raw output when
provided with specific property. 
URL: https://github.com/apache/incubator-openwhisk-cli/pull/430#issuecomment-476717779
 
 
   
   
   > @neerajmangal - currently, this appears to be a breaking change.. that is, existing
scripts will fail when this is merged as-is. what about adding a new flag - that could be
used by all commands - to specify the format of the output (i.e. json, raw, etc)
   
   Hi @mdeuser , Yes this will possibly break existing scripts if they are using "property
get" and then parsing the output. 
   
   I initially thought of adding a "--raw" option but let me know what should be the best
option in this case. But I believe "-- *propertyname*" can be think of raw input to the command
"wsk property get". 
   
   1. Modify existing scripts to cater to this change and add documentation about it. 
   2. Adding a new flag like "--raw" into existing commands. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

Mime
View raw message