Skip to content

Commit e6aea8b

Browse files
authored
Update README.md
1 parent 865a92c commit e6aea8b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,26 @@ stepFunctions:
3636

3737
## Usage
3838
### deploy
39+
- --state or -t The name of the step function in your service that you want to deploy. Required.
40+
- --stage or -s The stage in your service you want to deploy your step function.
41+
- --region or -r The region in your stage that you want to deploy your step function.
3942
```
4043
$ sls deploy stepf --state <stepfunctionname>
4144
```
4245

4346
### invoke
47+
- --state or -t The name of the step function in your service that you want to invoke. Required.
48+
- --stage or -s The stage in your service you want to invoke your step function.
49+
- --region or -r The region in your stage that you want to invoke your step function.
50+
- --data or -d String data to be passed as an event to your step function.
4451
```
4552
$ sls invoke stepf --state <stepfunctionname> --data '{"foo":"bar"}'
4653
```
4754

4855
### remove
56+
- --state or -t The name of the step function in your service that you want to remove. Required.
57+
- --stage or -s The stage in your service you want to invoke your step remove.
58+
- --region or -r The region in your stage that you want to invoke your step remove.
4959
```
5060
$ sls remove stepf --state <stepfunctionname>
5161
```

0 commit comments

Comments
 (0)