Update README.md

This commit is contained in:
Alex Ellis 2017-04-14 19:20:53 +01:00 committed by GitHub
parent c897b1be75
commit 7f9da52da0

View File

@ -10,11 +10,11 @@ Use this FaaS function to resize an image with ImageMagick.
* Option 1 - click *Create a new function* on the FaaS UI
* Option 2 - use the faas-cli (experimental)
* Option 2 - use the [faas-cli](https://github.com/alexellis/faas-cli/) (experimental)
```
# curl -SL https://github.com/alexellis/faas-cli/releases/download/0.1-alpha/faas-cli-macos > faas-cli
# chmod +x ./faas-cli-macos
# chmod +x ./faas-cli
# ./faas-cli -action=deploy -image=functions/resizer -name=resizer \
-fprocess="convert - -resize 50% fd:1"