Indeed, the cli module is intended to house all possible cli functions. The if __name__ == '__main__' construct was intentionally left out to allow for other cli tools to be added later. I'm open to other way to achieve the python -m calling format, but at the moment I question its usefulness.