doit icon indicating copy to clipboard operation
doit copied to clipboard

Support for wildcards in `list` command

Open tillahoffmann opened this issue 2 years ago • 0 comments

It would be great to support wildcards for the list command. E.g. consider the following dodo.py file.

def task_hello():
    return {"actions": [lambda: None]}

Running the task with a wildcard works as desired.

$ doit run "hel*" 
.  hello

But trying to list with a wildcard suggests that a task hello does not exist.

$ doit list "hel*"
ERROR: 'hel*' is not a task.

Having feature parity across the two commands would be useful. Thanks for continuing to maintain this build tool!

Fund with Polar

tillahoffmann avatar Jun 20 '22 18:06 tillahoffmann