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

@@ -6,7 +6,7 @@ This is an example of an [asynchronous function](/docs/async.md).
```sh
# Initialize your function creating a func.yaml file
fn init --type async <DOCKERHUB_USERNAME>/hello-go-async
fn init --type async --name hello-go-async
# Test your function. This will run inside a container exactly how it will on the server
fn run
@@ -16,7 +16,7 @@ cat sample.payload.json | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# This will create a route to your function as well
fn deploy myapp
fn deploy --app myapp
```
### Now call your function: