Skip to content

Support wildcard task selection in list - #502

Open
jihtsan wants to merge 1 commit into
pydoit:masterfrom
jihtsan:codex/429-list-wildcards
Open

jihtsan wants to merge 1 commit into
pydoit:masterfrom
jihtsan:codex/429-list-wildcards

Conversation

@jihtsan

@jihtsan jihtsan commented Oct 27, 2026

Copy link
Copy Markdown

Allow doit list "hel*" to select matching task names using the same */fnmatch rules as run. Preserve literal-name errors, private-task filtering, sorting and subtask expansion; avoid duplicate output when patterns or explicit names overlap. Document quoting and no-match behavior.

Closes #429.

Validation on CPython 3.13.12: four new regression methods fail on the original implementation, then all 21 list tests pass. The full rut -vv suite passes (835 tests), along with doit pyflakes, doit codestyle, git diff --check and a complete Sphinx HTML build with warnings treated as errors. Real CLI checks cover matching, no matches, overlapping selections and an unknown literal task. Independent fixed-SHA Standards and Spec reviews report no findings.

Other Python versions/platforms, Hunspell and hosted CI were not verified. Initial local check commands needed the development venv on PATH and the checkout on PYTHONPATH; corrected commands pass.

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

Successfully merging this pull request may close these issues.

Support for wildcards in list command

1 participant