run ruff
This commit is contained in:
@@ -26,8 +26,8 @@ Examples:
|
||||
skill-seekers install --config react --dry-run
|
||||
"""
|
||||
|
||||
import asyncio
|
||||
import argparse
|
||||
import asyncio
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
@@ -78,51 +78,35 @@ Phases:
|
||||
3. AI Enhancement (MANDATORY - no skip option)
|
||||
4. Package for target platform (ZIP or tar.gz)
|
||||
5. Upload to target platform (optional)
|
||||
"""
|
||||
""",
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--config",
|
||||
required=True,
|
||||
help="Config name (e.g., 'react') or path (e.g., 'configs/custom.json')"
|
||||
"--config", required=True, help="Config name (e.g., 'react') or path (e.g., 'configs/custom.json')"
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--destination",
|
||||
default="output",
|
||||
help="Output directory for skill files (default: output/)"
|
||||
)
|
||||
parser.add_argument("--destination", default="output", help="Output directory for skill files (default: output/)")
|
||||
|
||||
parser.add_argument("--no-upload", action="store_true", help="Skip automatic upload to Claude")
|
||||
|
||||
parser.add_argument(
|
||||
"--no-upload",
|
||||
action="store_true",
|
||||
help="Skip automatic upload to Claude"
|
||||
"--unlimited", action="store_true", help="Remove page limits during scraping (WARNING: Can take hours)"
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--unlimited",
|
||||
action="store_true",
|
||||
help="Remove page limits during scraping (WARNING: Can take hours)"
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--dry-run",
|
||||
action="store_true",
|
||||
help="Preview workflow without executing"
|
||||
)
|
||||
parser.add_argument("--dry-run", action="store_true", help="Preview workflow without executing")
|
||||
|
||||
parser.add_argument(
|
||||
"--target",
|
||||
choices=['claude', 'gemini', 'openai', 'markdown'],
|
||||
default='claude',
|
||||
help="Target LLM platform (default: claude)"
|
||||
choices=["claude", "gemini", "openai", "markdown"],
|
||||
default="claude",
|
||||
help="Target LLM platform (default: claude)",
|
||||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
# Determine if config is a name or path
|
||||
config_arg = args.config
|
||||
if config_arg.endswith('.json') or '/' in config_arg or '\\' in config_arg:
|
||||
if config_arg.endswith(".json") or "/" in config_arg or "\\" in config_arg:
|
||||
# It's a path
|
||||
config_path = config_arg
|
||||
config_name = None
|
||||
@@ -139,7 +123,7 @@ Phases:
|
||||
"auto_upload": not args.no_upload,
|
||||
"unlimited": args.unlimited,
|
||||
"dry_run": args.dry_run,
|
||||
"target": args.target
|
||||
"target": args.target,
|
||||
}
|
||||
|
||||
# Run async tool
|
||||
|
||||
Reference in New Issue
Block a user