Closed terrettaz closed 4 years ago
new test: test_shell.py
doesn't work when coverage is activated
Hi @terrettaz, I'm sorry I've taken so long to respond to this! Thank you for the work you've put in. I've cherry-picked your commits over to another branch and reworked some things to make all of the tests pass. Those changes are in #16.
I'm going to close this in favor of the other PR, please feel free to re-open if there's anything else you need!
Hi @clarkperkins, Thank you very much for integrating the PR in your master. I will integrate this into my project. Have a nice day !
Added new feature: callback when the shell ends. This is pretty useful to close/dispose resources in the ctx.obj. Here is an example where I use it: strava-tools#shell.py