Add --skip option

This commit is contained in:
Joscha
2021-07-01 11:01:55 +02:00
parent 75fde870c2
commit 80eeb8fe97
3 changed files with 28 additions and 6 deletions

View File

@ -181,6 +181,14 @@ PARSER.add_argument(
help="only execute a single crawler."
" Can be specified multiple times to execute multiple crawlers"
)
PARSER.add_argument(
"--skip", "-S",
action="append",
type=str,
metavar="NAME",
help="don't execute this particular crawler."
" Can be specified multiple times to skip multiple crawlers"
)
PARSER.add_argument(
"--working-dir",
type=Path,