Skip to content

Commit 3cf2cc2

Browse files
authored
Update README.md
1 parent ba9788f commit 3cf2cc2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@ To run your compiled functions locally you can:
134134
$ serverless invoke local --function <function-name>
135135
```
136136

137+
Options are:
138+
139+
- `--function` or `-f` (required) is the name of the function to run
140+
- `--watch` - recompile and run a function locally on source changes
141+
- `--path` or `-p` (optional) path to JSON or YAML file holding input data
142+
- `--data` or `-d` (optional) input data
143+
137144
### Enabling source-maps
138145

139146
You can easily enable support for source-maps (making stacktraces easier to read) by installing and using the following plugin:
@@ -147,13 +154,6 @@ yarn add --dev source-map-support
147154
import 'source-map-support/register'
148155
```
149156

150-
Options are:
151-
152-
- `--function` or `-f` (required) is the name of the function to run
153-
- `--watch` - recompile and run a function locally on source changes
154-
- `--path` or `-p` (optional) path to JSON or YAML file holding input data
155-
- `--data` or `-d` (optional) input data
156-
157157
## Help & Community [![Slack Status](https://slack.graph.cool/badge.svg)](https://slack.graph.cool)
158158

159159
Join our [Slack community](http://slack.graph.cool/) if you run into issues or have questions. We love talking to you!

0 commit comments

Comments
 (0)