@@ -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