You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classDemo < Thordesc"parent_task","this task will invoke the child task"defparent_taskinvoke(:child_task,[],required_option: "some value")enddesc"child_task","to be invoked by parent task"method_option"required_option",type: :string,required: truedefchild_taskputs"Child task received the following options: #{poptions}"endend
When I execute:
thor demo:parent_task
Expected Output:
Child task received the following options: {"required_option"=>"some value"}
Actual Output:
No value provided for required options '--required-option'
Versions tested:
0.19.1
0.20.0
The text was updated successfully, but these errors were encountered:
Given the following Thor class:
When I execute:
Expected Output:
Actual Output:
Versions tested:
The text was updated successfully, but these errors were encountered: