I have a task with a parameter with name "my_parameter". If I give it a value using the command line:
--my_parameter value
I get this error:
luigi: error: unrecognized arguments: --my_parameter value
Everything works as expected if I rename the parameter to "myparameter" in the task and use this in the command line:
--myparameter value
Not very well documented (you can contribute :)), but it is described (implicitly) in example:
http://luigi.readthedocs.io/en/stable/example_top_artists.html#running-this-locally
_ should be translated to - when passing down from CLI.
@sisidra , thanks for the answer, I have added a note in the documentation, please have a look at the pull request.
Resolved by #1729
Most helpful comment
Not very well documented (you can contribute :)), but it is described (implicitly) in example:
http://luigi.readthedocs.io/en/stable/example_top_artists.html#running-this-locally
_should be translated to-when passing down from CLI.