The CLI for Be Productive. This notebook defines the behaviour of beproductive.py when you run it.
Testing main
function
Make sure the main functionality works as expected.
main(action='block')
main(action='unblock')
main(action='block', time=1/60)
main(action='pomodoro', time=1/60, break_time=1/60, pomodoros=2)
Little helper function from https://stackoverflow.com/a/22424821