thmshmm / taskui

TaskUI is a lightweight terminal user interface for executing tasks defined using taskfile.dev.
MIT License
19 stars 1 forks source link

Error: failed to extract tasks #11

Open Firesphere opened 1 month ago

Firesphere commented 1 month ago

I'm getting the above error.

All my files are named Taskfile.dist.yml, and it used to work, but as of today retrying it again, it seems something in the taskfile is wrong?

Is there anything I can do to find out why it's erroring?

Firesphere commented 1 month ago

Okay, I found the issue.

I had a Taskfile, which purely included other taskfiles, and not had its own tasks. TaskUI doesn't expect a taskfile without tasks, and thus breaks there.

For now I've put a dummy internal task in the specific taskfile, but it may be worth something to look out for in a future release.

thmshmm commented 1 month ago

Thanks for reporting. Will fix it.