mog icon indicating copy to clipboard operation
mog copied to clipboard

Debug mode

Open witchard opened this issue 7 years ago • 2 comments

Explain what things are being tried as it runs

witchard avatar Mar 16 '17 08:03 witchard

@witchard, I would like to work on this issue..... Can you take me through what is to be done here?

kumiDa avatar Oct 31 '17 11:10 kumiDa

@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.

witchard avatar Oct 31 '17 18:10 witchard