This commit is contained in:
Pablo Estevez
2026-01-17 17:29:21 +00:00
parent c89f059712
commit 5ed767ff9a
144 changed files with 14142 additions and 16488 deletions

View File

@@ -4,9 +4,9 @@ Resume Command for Skill Seekers
Allows users to resume interrupted scraping jobs from saved progress.
"""
import sys
import argparse
from typing import Optional
import sys
from .config_manager import get_config_manager
@@ -132,24 +132,10 @@ def clean_old_jobs():
def main():
"""Main entry point for resume command."""
parser = argparse.ArgumentParser(
description="Resume interrupted Skill Seekers jobs"
)
parser.add_argument(
"job_id",
nargs="?",
help="Job ID to resume"
)
parser.add_argument(
"--list",
action="store_true",
help="List all resumable jobs"
)
parser.add_argument(
"--clean",
action="store_true",
help="Clean up old progress files"
)
parser = argparse.ArgumentParser(description="Resume interrupted Skill Seekers jobs")
parser.add_argument("job_id", nargs="?", help="Job ID to resume")
parser.add_argument("--list", action="store_true", help="List all resumable jobs")
parser.add_argument("--clean", action="store_true", help="Clean up old progress files")
args = parser.parse_args()