The setuptools console_scripts entry point wants a function without args, so added a main() that read args with argparse