text: # -*- coding: utf-8 -*-
  
  """
  Entrypoint module, in case you use `python -m{{cookiecutter.package_import_name}}`.
  
  Why does this file exist, and why __main__? For more info, read:
  
  - https://www.python.org/dev/peps/pep-0338/
  - https://docs.python.org/2/using/cmdline.html#cmdoption-m
  - https://docs.python.org/3/using/cmdline.html#cmdoption-m
  """
  import sys
  
  from {{cookiecutter.package_import_name}}.cli import main
  
  if __name__ == "__main__":
  {%- if cookiecutter.package_cli_library|lower == 'none' %}
      sys.exit(main(sys.argv))
  {%- else %}
      main(sys.argv)
  {%- endif %}
  