2019-04-02 22:53:21 +00:00
|
|
|
#!/usr/bin/env python3
|
2024-10-04 01:24:27 +00:00
|
|
|
"""This is the main entry point for the ArchiveBox CLI."""
|
2019-04-02 22:53:21 +00:00
|
|
|
__package__ = 'archivebox'
|
|
|
|
|
2024-10-04 10:24:15 +00:00
|
|
|
import archivebox # noqa # make sure monkey patches are applied before anything else
|
2019-04-27 21:26:24 +00:00
|
|
|
import sys
|
2024-10-04 10:24:15 +00:00
|
|
|
|
2020-07-02 07:53:39 +00:00
|
|
|
from .cli import main
|
2019-04-02 22:53:21 +00:00
|
|
|
|
2024-10-04 01:24:27 +00:00
|
|
|
ASCII_LOGO_MINI = r"""
|
|
|
|
_ _ _ ____
|
|
|
|
/ \ _ __ ___| |__ (_)_ _____| __ ) _____ __
|
|
|
|
/ _ \ | '__/ __| '_ \| \ \ / / _ \ _ \ / _ \ \/ /
|
|
|
|
/ ___ \| | | (__| | | | |\ V / __/ |_) | (_) > <
|
|
|
|
/_/ \_\_| \___|_| |_|_| \_/ \___|____/ \___/_/\_\
|
|
|
|
"""
|
2020-07-13 15:22:07 +00:00
|
|
|
|
2019-04-02 22:53:21 +00:00
|
|
|
if __name__ == '__main__':
|
2020-07-02 07:53:39 +00:00
|
|
|
main(args=sys.argv[1:], stdin=sys.stdin)
|