mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-24 03:36:55 -04:00
15 lines
271 B
Python
Executable file
15 lines
271 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import sys
|
|
|
|
|
|
BIN_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
REPO_DIR = os.path.abspath(os.path.join(BIN_DIR, os.pardir))
|
|
sys.path.append(REPO_DIR)
|
|
|
|
from archivebox.cli.archivebox import main
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|