mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 14:44:18 +00:00
21 lines
322 B
Python
Executable file
21 lines
322 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
"""
|
|
Main ArchiveBox command line application entrypoint.
|
|
"""
|
|
|
|
__package__ = 'archivebox'
|
|
|
|
import os
|
|
import sys
|
|
|
|
PYTHON_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
sys.path.append(PYTHON_DIR)
|
|
|
|
from .env import *
|
|
from .legacy.archive import main
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main(sys.argv)
|
|
|