You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/01/22 20:14:57 UTC

[GitHub] csantanapr commented on issue #3138: Add bash kind action

csantanapr commented on issue #3138: Add bash kind action
URL: https://github.com/apache/incubator-openwhisk/pull/3138#issuecomment-359550615
 
 
   I don't think we need a new image or a new runtime, dockerskeleton should be able to handle bash, perl, any scripting language
   
   I think today you can do
   ```
   wsk action create foo foo.sh --native
   ```
   changing to use `--kind bash` is not shorter 
   If you want `jq` support we should add that to the dockerskeleton image
   
   If what you want is shorter syntax then we could update the CLI to sugar certain extentions (i.e. .bash, .sh, .pl)
   To detect the `.sh` and remmap that to --native (docker kind with default dockerskeleton):
   
   ```
   wsk action create foo foo.sh
   ```
   
   
   

----------------------------------------------------------------
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