ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
wtools.recurse Namespace Reference

Functions

def recurse_patterns
 Perform recursion using current ctx and patterns. More...
 
def recurse
 Declare recursion commands for standard commands. More...
 

Function Documentation

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
Parameters
patternsGlob 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.