Closed pfackeldey closed 4 years ago
I can reproduce this. Will go down that completion rabbit hole tomorrow hopefully ;)
@pfackeldey Can you checkout the fix_autocompletion branch and see if the issue persists?
Unfortunately it does not work yet completely.
Now the issue is the following:
How it has to be:
law run abit_buggy.TestTaskWrapper --abit-buggy.TestTask-param ...
What autocompletion currently does:
law run abit-buggy.TestTaskWrapper --abit-buggy.TestTask-param ...
So i think the point is that the "-" <-> "_" has to be only changed for the subtasks.
@pfackeldey Can you give it another shot?
It works! perfect!!! 🎉 🎉 🎉
Finally -.-
Hi,
I recently changed my task namespace to something with an underscore, e.g.:
Now the autocompletion for law completes only the following:
but this leads to unrecognized parameters, instead one has to do:
which is currently unfortunately not supported by the law autocompletion.
What are your thoughts on this @riga ?