inform_progress draws a spinner to stdout to inform progress. Use it to indicate activity for processing that takes relatively long time to complete.
If stdout is not a tty or --no-spinner is given to the script, output from inform_progress will be supressed.
To make the spinner actually spin inform_progress must be called several times in a row and nothing else should be written to stdout between the calls.