@@ -195,13 +195,13 @@ any other transformer not listed with ``--transform``. That's why if user would
195195 > robotidy --transform MyCustomClass.py test.robot
196196
197197It would disable all default transformers and only run MyCustomClass.
198- This release introduces new option ``--load-transformer `` which imports custom transformers on top of the default ones::
198+ This release introduces new option ``--custom-transformers `` which imports custom transformers on top of the default ones::
199199
200- > robotidy --load-transformer MyCustomClass.py test.robot
200+ > robotidy --custom-transformers MyCustomClass.py test.robot
201201
202202It is also possible to pass transformer configuration either using this option or through ``--configure ``::
203203
204- > robotidy -c ExtClass1.py:param=value --load-transformer ExtClass2.py:param2=value test.robot
204+ > robotidy -c ExtClass1.py:param=value --custom-transformers ExtClass2.py:param2=value test.robot
205205
206206Load custom transformers from the module
207207-------------------------------------------
@@ -210,7 +210,7 @@ It is now possible to load transformers from the Python module. Importing transf
210210to how custom libraries are imported in Robot Framework. If the file has the same name as transformer, it will
211211be auto-imported. The following command::
212212
213- > robotidy --load-transformer CustomClass.py
213+ > robotidy --custom-transformers CustomClass.py
214214
215215will load ``class CustomClass `` from the ``CustomClass.py `` file. It's the old behaviour and it will not change.
216216
@@ -357,7 +357,7 @@ Spaces in the transformer name or configuration
357357Spaces are now allowed in the transformer path or configuration value. To provide such name or value
358358enclose it with quotation marks::
359359
360- > robotidy --load-transformer "C:\\My Transformers\\Transformer.py"
360+ > robotidy --custom-transformers "C:\\My Transformers\\Transformer.py"
361361 > robotidy --configure CustomTransformer:value="param value"
362362
363363Bugs
0 commit comments