__main__.py 573 B

123456789101112131415161718
  1. #!/usr/bin/env python3
  2. """This is the entrypoint for python -m archivebox ..."""
  3. __package__ = 'archivebox'
  4. import archivebox # noqa # make sure monkey patches are applied before anything else
  5. import sys
  6. from .cli import main
  7. ASCII_LOGO_MINI = r"""
  8. _ _ _ ____
  9. / \ _ __ ___| |__ (_)_ _____| __ ) _____ __
  10. / _ \ | '__/ __| '_ \| \ \ / / _ \ _ \ / _ \ \/ /
  11. / ___ \| | | (__| | | | |\ V / __/ |_) | (_) > <
  12. /_/ \_\_| \___|_| |_|_| \_/ \___|____/ \___/_/\_\
  13. """
  14. main(args=sys.argv[1:], stdin=sys.stdin)