From 4566904db2319f4be75407576702a2e8a7dffbd7 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 18 Aug 2020 18:38:14 -0400 Subject: [PATCH] better colors and hints in version --- archivebox.egg-info/PKG-INFO | 6 +++--- archivebox/config/__init__.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/archivebox.egg-info/PKG-INFO b/archivebox.egg-info/PKG-INFO index 0357040c..3b2f2114 100644 --- a/archivebox.egg-info/PKG-INFO +++ b/archivebox.egg-info/PKG-INFO @@ -77,10 +77,10 @@ Description:
```bash # Docker mkdir data && cd data - docker run -v $PWD:/data nikisweeting/archivebox init - docker run -v $PWD:/data nikisweeting/archivebox add 'https://example.com' + docker run -v $PWD:/data -it nikisweeting/archivebox init + docker run -v $PWD:/data -it nikisweeting/archivebox add 'https://example.com' docker run -v $PWD:/data -it nikisweeting/archivebox manage createsuperuser - docker run -v $PWD:/data -p 8000:8000 nikisweeting/archivebox server 0.0.0.0:8000 + docker run -v $PWD:/data -it -p 8000:8000 nikisweeting/archivebox server 0.0.0.0:8000 open http://127.0.0.1:8000 ``` diff --git a/archivebox/config/__init__.py b/archivebox/config/__init__.py index f4edcf85..079c073f 100644 --- a/archivebox/config/__init__.py +++ b/archivebox/config/__init__.py @@ -841,8 +841,8 @@ def check_dependencies(config: ConfigDict=CONFIG, show_help: bool=True) -> None: ) ) if dependency in ('SINGLEFILE_BINARY', 'READABILITY_BINARY'): - hint(('npm install --prefix . "git+https://github.com/piratee/ArchiveBox.git"', - f'or set SAVE_{dependency.rsplit("_", 1)[0]}=False to silence this warning', + hint(('npm install --prefix . "git+https://github.com/pirate/ArchiveBox.git"', + f'or archivebox config --set SAVE_{dependency.rsplit("_", 1)[0]}=False to silence this warning', ''), prefix=' ') stderr('')