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

@ -8,8 +8,8 @@ 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.__main__ import main
from archivebox.cli.archivebox import main
if __name__ == '__main__':
main(sys.argv)
main()