fn improvements: (#560)

- standardized required args validation
- routes create/update now prioritize args, over flags, over funcfile configuration
- removed deadcode
This commit is contained in:
Pedro Nasser
2017-03-01 22:55:48 -03:00
committed by Travis Reeder
parent 2772afb5f0
commit dea100d3d9
10 changed files with 139 additions and 188 deletions

View File

@@ -58,7 +58,7 @@ Note: Route level configuration overrides app level configuration.
Using `fn`:
```sh
fn routes create --config k1=v1 --config k2=v2 myapp /path image
fn routes create myapp /path --config k1=v1 --config k2=v2 --image iron/hello
```
Or using a cURL: