Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for wildcards in list command #429

Open
tillahoffmann opened this issue Jun 20, 2022 · 0 comments
Open

Support for wildcards in list command #429

tillahoffmann opened this issue Jun 20, 2022 · 0 comments

Comments

@tillahoffmann
Copy link

tillahoffmann commented Jun 20, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant