Skip to content

Commit 6ecaaab

Browse files
authored
Update README.md
1 parent 2d35db6 commit 6ecaaab

File tree

1 file changed

+29
-6
lines changed

1 file changed

+29
-6
lines changed

README.md

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,25 @@ stepFunctions:
3838

3939
## Command
4040
### deploy
41-
- --state or -t The name of the step function in your service that you want to deploy. Required.
42-
- --stage or -s The stage in your service you want to deploy your step function.
43-
- --region or -r The region in your stage that you want to deploy your step function.
41+
#### All StateMachines deploy
42+
```
43+
$ sls deploy stepf
44+
```
45+
46+
#### Single StateMachine deploy
4447
```
4548
$ sls deploy stepf --state <stepfunctionname>
4649
```
4750
51+
#### options
52+
53+
- --state or -t The name of the step function in your service that you want to deploy.
54+
- --stage or -s The stage in your service you want to deploy your step function.
55+
- --region or -r The region in your stage that you want to deploy your step function.
56+
4857
### invoke
58+
#### options
59+
4960
- --state or -t The name of the step function in your service that you want to invoke. Required.
5061
- --stage or -s The stage in your service you want to invoke your step function.
5162
- --region or -r The region in your stage that you want to invoke your step function.
@@ -56,9 +67,21 @@ $ sls invoke stepf --state <stepfunctionname> --data '{"foo":"bar"}'
5667
```
5768
5869
### remove
59-
- --state or -t The name of the step function in your service that you want to remove. Required.
60-
- --stage or -s The stage in your service you want to invoke your step remove.
61-
- --region or -r The region in your stage that you want to invoke your step remove.
70+
#### All StateMachines remove
71+
72+
```
73+
$ sls remove stepf
74+
```
75+
76+
#### Single StateMachine remove
77+
6278
```
6379
$ sls remove stepf --state <stepfunctionname>
6480
```
81+
82+
#### options
83+
84+
- --state or -t The name of the step function in your service that you want to remove. Required.
85+
- --stage or -s The stage in your service you want to invoke your step remove.
86+
- --region or -r The region in your stage that you want to invoke your step remove.
87+

0 commit comments

Comments
 (0)