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/08/07 17:45:32 UTC

[GitHub] underwoodb-sd-ibm opened a new pull request #2490: CLI summaries for actions without annotations

underwoodb-sd-ibm opened a new pull request #2490: CLI summaries for actions without annotations
URL: https://github.com/apache/incubator-openwhisk/pull/2490
 
 
   This update is intended to clarify the printed summary when one uses `wsk [ENTITY] [ENTITY_NAME] get --summary`.
   
   Here is an example of what the output of this update should look like:
   
   For entities with multiple parameters and no description:
   ```
   $ wsk action get hola -s
   action /guest/hola: Returns a result based on parameters testA, testB and testC
      (parameters: testA, testB, testC)
   ```
   
   For entities with a single parameter and no description:
   ```
   $ wsk action get hola -s
   action /guest/hola: Returns a result based on parameter testA
      (parameters: testA)
   ```
   
   And entities with no parameters and no description:
   ```
   $ wsk action get hello -s
   action /guest/hello
      (Warning: /guest/hello has no annotations)
   ```
   
    Closes https://github.com/apache/incubator-openwhisk/issues/2270
 
----------------------------------------------------------------
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