mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
add tag support to schedule command
This commit is contained in:
parent
f775da299a
commit
8ab17f0561
2 changed files with 9 additions and 0 deletions
|
@ -1170,6 +1170,7 @@ def schedule(add: bool=False,
|
|||
run_all: bool=False,
|
||||
quiet: bool=False,
|
||||
every: Optional[str]=None,
|
||||
tag: str='',
|
||||
depth: int=0,
|
||||
overwrite: bool=False,
|
||||
update: bool=not ONLY_NEW,
|
||||
|
@ -1203,6 +1204,7 @@ def schedule(add: bool=False,
|
|||
'add',
|
||||
*(['--overwrite'] if overwrite else []),
|
||||
*(['--update'] if update else []),
|
||||
*([f'--tag={tag}'] if tag else []),
|
||||
f'--depth={depth}',
|
||||
f'"{import_path}"',
|
||||
] if import_path else ['update']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue