Skip to content

Commit 6d3ebb3

Browse files
committed
fix: commit: ff684f1 and README's option.
Option `state' is renamed `name'. ff684f1
1 parent bcfd3c8 commit 6d3ebb3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ $ sls deploy stepf activities --name <activityname>
9898
### invoke
9999
#### options
100100
101-
- --state or -t The name of the step function in your service that you want to invoke. Required.
101+
- --name or -n The name of the step function in your service that you want to invoke. Required.
102102
- --stage or -s The stage in your service you want to invoke your step function.
103103
- --region or -r The region in your stage that you want to invoke your step function.
104104
- --data or -d String data to be passed as an event to your step function.
105105
- --path or -p The path to a json file with input data to be passed to the invoked step function.
106106
```
107-
$ sls invoke stepf --state <stepfunctionname> --data '{"foo":"bar"}'
107+
$ sls invoke stepf --name <stepfunctionname> --data '{"foo":"bar"}'
108108
```
109109
110110
### remove
@@ -130,12 +130,12 @@ $ sls remove stepf statemachines
130130
#### Single StateMachine remove
131131
132132
```
133-
$ sls remove stepf --state <stepfunctionname>
133+
$ sls remove stepf --name <stepfunctionname>
134134
```
135135
136136
#### options
137137
138-
- --state or -t The name of the step function in your service that you want to remove. Required.
138+
- --name or -n The name of the step function in your service that you want to remove. Required.
139139
- --stage or -s The stage in your service you want to invoke your step remove.
140140
- --region or -r The region in your stage that you want to invoke your step remove.
141141

0 commit comments

Comments
 (0)