mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-09 12:21:57 -04:00
allow cancelling init partway through and show hints to resume
This commit is contained in:
parent
75e1bfd0a9
commit
ba2afa0672
2 changed files with 62 additions and 55 deletions
|
@ -285,11 +285,11 @@ def log_indexing_process_finished():
|
|||
|
||||
def log_indexing_started(out_path: str):
|
||||
if IS_TTY:
|
||||
sys.stdout.write(f' > {out_path}')
|
||||
sys.stdout.write(f' > ./{Path(out_path).relative_to(OUTPUT_DIR)}')
|
||||
|
||||
|
||||
def log_indexing_finished(out_path: str):
|
||||
print(f'\r √ {out_path}')
|
||||
print(f'\r √ ./{Path(out_path).relative_to(OUTPUT_DIR)}')
|
||||
|
||||
|
||||
### Archiving Stage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue