csantanapr commented on issue #179: Make it easier for user to save action code?
URL: 
https://github.com/apache/incubator-openwhisk-cli/issues/179#issuecomment-352828476
 
 
   This is already implemented.
   ```
   ?  $ bx wsk action get -h
   get action
   Usage:
     wsk action get ACTION_NAME [FIELD_FILTER | --summary | --url] [flags]
   
   Flags:
         --save             save action code to file corresponding with action 
name
         --save-as string   file to save action code to
   ```
   Use `--save` or `--save-as`
   For example
   ```
   wsk action get foo --save-as foo.js
   ```
   
   You can download latest wsk binary from here: 
https://github.com/apache/incubator-openwhisk-cli/releases/tag/latest
   
   Originally was created because it was very useful to get back the .zip from 
packaged action.
   Thanks to @dubeejw that implemented the feature.
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to