Interface

moniker.tree_walk(top, replace=('', ''), maxdepth=0)

Walk file system heiarchy for the base directory generating files matching unix glob pattern.

Parameters:
  • top (String) – The top of the filesystem heiarchy and starting node.
  • replace (Tuple) – Files to be matched and replaced.
Returns type:

<type defaultdict>

Returns:

Tree

moniker.command_line()

Argument parsing from the user. Passeds a fully parsed command line arguments.

TODO:Considering parsing at multiple stages or create a tiered system with multiple passes.
Returns type:<ArgumentParser>
Returns:
Keyword:
–version –help –depth int –replace (pat, rep)
Positional:
directory