Updated docs for cli flag changes.

This commit is contained in:
Travis Reeder
2017-09-07 15:53:28 -07:00
parent 3d8ca450bb
commit e56d555c3e
17 changed files with 26 additions and 27 deletions

View File

@@ -9,7 +9,7 @@ Creating Lambda functions is not much different than using regular functions, ju
the `lambda-node-4` runtime.
```sh
fn init --runtime lambda-node-4 <DOCKER_HUB_USERNAME>/lambda-node
fn init --runtime lambda-node-4 --name lambda-node
```
Be sure the filename for your main handler is `func.js`.

View File

@@ -52,6 +52,6 @@ by passing `--version <version>.`
You can then deploy the imported lambda as follows:
```
./fn deploy myapp
./fn deploy --app myapp
````
Now the function can be reached via ```http://$HOSTNAME/r/user/my-function```