working argparse based CLI with most commands implemented

This commit is contained in:
Nick Sweeting 2019-04-03 00:27:37 -04:00
parent 68b4c01c6b
commit 51ae634ec9
20 changed files with 807 additions and 424 deletions

View file

@ -1,19 +1,15 @@
#!/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
from .cli.archivebox import main
if __name__ == '__main__':