1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-12 17:44:33 +02:00

fix archivebox manage command not passing args correctly

This commit is contained in:
Nick Sweeting
2024-09-26 02:37:44 -07:00
parent 6ec5925b7f
commit 24a9f432c9

View File

@@ -1314,9 +1314,9 @@ def manage(args: Optional[List[str]]=None, out_dir: Path=OUTPUT_DIR) -> None:
stderr(' docker run -it archivebox manage {}'.format(' '.join(args or ['...'])), color='lightyellow')
stderr('')
from plugins_pkg.pip.apps import ARCHIVEBOX_BINARY
# import ipdb; ipdb.set_trace()
execute_from_command_line([ARCHIVEBOX_BINARY.load().abspath, 'manage', *(args or ['help'])])
execute_from_command_line(['manage.py', *(args or ['help'])])
@enforce_types