mog
mog copied to clipboard
Debug mode
Explain what things are being tried as it runs
@witchard, I would like to work on this issue..... Can you take me through what is to be done here?
@rahul-kumi that's awesome thanks! My intention here was to add debug printouts when a -d option or similar was specified. Then when checking the different matches in run_match_action
( https://github.com/witchard/mog/blob/master/mog/init.py#L224) it would explain what it was up to. Potentially this could be achieved by adding some docstrings to the various match and action functions such that they can be queried for what to print out.