|
ifw
0.0.1-dev
|
Functions | |
| def | recurse_patterns |
| Perform recursion using current ctx and patterns. More... | |
| def | recurse |
| Declare recursion commands for standard commands. More... | |
| def wtools.recurse.recurse | ( | patterns | ) |
Declare recursion commands for standard commands.
The recursion patterns is a variant of standard Python fnmatch:
| Pattern | Meaning |
|---|---|
* | matches anything |
? | matches single character |
[seq] | matches any character in seq |
[!seq] | matches any character not in seq |
! | negates the pattern, must be the first part of the pattern |
| patterns | Glob patterns in a list or space separated in a string "*foo *bar" is equivalent to ['*foo', '*bar'] |
| def wtools.recurse.recurse_patterns | ( | ctx, | |
| patterns | |||
| ) |
Perform recursion using current ctx and patterns.
1.8.5