Refresh
Refresh file inclusions in place.
refresh(opt)
Refresh inclusions in source file.
Source code in mccole/refresh.py
28 29 30 31 32 33 34 |
|
refresh_inclusion(outer, match_obj)
Refresh content of a single inclusion.
Source code in mccole/refresh.py
37 38 39 40 41 42 43 44 45 |
|
inclusion_get(outer, inner)
Load external included file.
Source code in mccole/refresh.py
48 49 50 51 52 53 54 55 56 57 |
|
inclusion_keep(outer, inner, keep, content)
Keep a section of a file.
Source code in mccole/refresh.py
60 61 62 63 64 65 66 67 68 69 70 71 72 |
|
parse_args(parser)
Parse command-line arguments.
Source code in mccole/refresh.py
75 76 77 |
|